8 Replies Latest reply: Jan 5, 2014 9:51 PM by Andrew Evans RSS

class in rt.jar is not loaded by JBoss 7

mike just Master

I am using JBoss 7.1.1.Final and found a class from rt.jar cannot be loaded in runtime. From my experience, classes from rt.jar in jre should be able to be loaded anytime.

 

Could somebody advise why this problem happens and how to resolve it?

 

Caused by: java.lang.ClassNotFoundException: sun.beans.editors.StringEditor from [Module "deployment.demo.ear.demo.jar:main" from Service Module L
oader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [rt.jar:1.6.0_07]