3 Replies Latest reply on Sep 3, 2013 1:27 PM by Frank Langelage

    Jboss7.1.1 getResourceAsStream() null exception

    Administrator Administrator Novice

      Hello,

       

      I can't get xml configuration files any more on Jboss7.1.1 whereas it works well on Jboss5.1 using the way: Thread.currentThread().getContextClassLoader().getResourceAsStream("com/tt/airman/resources/plaf/airmanSynth.xml")

      The airmanSynth.xml is in the same jar as the java file:

      src/main/resources

           -com

                -tt

                     -airman

                          -resources

                               -plaf

                                    -airmanSynth.xml

       

      The classloader of Jboss7 can't load the configuration files in "resources" any more? Any idea?