java.lang.Class.getDeclaredFields0上的java.lang.NoClassDefFoundError(本机方法)[rt.jar:1.7.0_45]

时间:2013-12-20 07:04:13

标签: ejb jboss7.x ejb-3.0 ejb-2.x

`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]         在

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个enter code here

1 个答案:

答案 0 :(得分:0)