java.lang.ClassFormatError: Extra bytes at the end of class file解决方法
java.lang.ClassFormatError: Extra bytes at the end of class file解决方法
日期:2014-05-17 浏览次数:21827 次
java.lang.ClassFormatError: Extra bytes at the end of class file 在myeclipse中跑工程,反射机制调用时经常出现这个错误,工程clean之后又可正常调用了,不知道怎么原因,请高手看看 开发环境 MyEclipse 6.6 JDK: java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
Exception in thread "Thread-47" java.lang.ClassFormatError: Extra bytes at the end of class file com/strongit/bridge/fep/agent/RecvRbacXMLAction at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1876) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:889) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1353) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164)