java.lang.NoClassDefFoundError at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_45]

3k Views Asked by At
`HI I am trying to deploy ejb 2 project in jboss 7.1 and getting the NoClassDef found` `error of rt.jar . the detail error is as below.`

ERROR

 Caused by: java.lang.NoClassDefFoundError: au/id/jericho/lib/html/Segment


at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_45]


at java.lang.Class.privateGetDeclaredFields(Class.java:2397) [rt.jar:1.7.0_45]


at java.lang.Class.getDeclaredFields(Class.java:1806) [rt.jar:1.7.0_45]


at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>

(ClassReflectionIndex.java:57) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] at

org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentRefle ctionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] ... 10 moreenter code here

1

There are 1 best solutions below

0
On