[jboss-user] [Beginner's Corner] - Re: Need help in resolving a problem.

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Feb 29 10:14:18 EST 2012

Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Need help in resolving a problem."

To view the discussion, visit: https://community.jboss.org/message/720601#720601

If you add a doctype to your xml and use a XML editor (i.e. JEdit with XML plugins) you can easily see whether the XML is well formed or not.
Also you might have a look into the JBOSS/dosc/schema directory where the schemas are located.
If you look to 'jboss-web_5_1.xsd' you see a simple example.

 +The class-loading element allows one to override the default class loading behavior of the web container.+
+    Examples:+
+    <class-loading java2ClassLoadingCompliance='false'/>+
+    <class-loading java2ClassLoadingCompliance='false'>+
+       <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>+
+         ...+
+       </loader-repository>+
+     </class-loading>+

For more details about classloading see the JBOss  https://community.jboss.org/docs/DOC-10290 wiki

My tip: surround your loader-repository with <class-loading> as you can see in the Exception.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120229/e54b302e/attachment.html 

More information about the jboss-user mailing list