2 Replies Latest reply on Mar 14, 2012 3:08 PM by rodrigo_gomes

    It seems that some classes from rt.jar is not loaded

    rodrigo_gomes

      Hi,

       

      It doesn't make sense for me. Jboss it's supposed to load all classes from rt.jar, right?

       

      But I was getting a NoClassDefFoundError related to classes in org.xml.sax.*. I solved the problem putting this code in my module's dependencies:

       


      <system export="true">
              <paths>
                  <path name="org/xml/sax"/>
                  <path name="org/xml/sax/helpers"/>
              </paths>
          </system>

       

       

      But now, I'm getting another NoClassDefFoundError:

      java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory

       

      And this class is on rt.jar too.

       

      Do I need to put something different in my module's xml to tell jboss to load all classes from rt.jar? I thinkl I'm missing something...

       

      thanks,

      Rodrigo Gomes