Caused by: java.lang.IllegalAccessError: class sun.reflect.GeneratedConstructorAccessor25 cannot access its superclass sun.reflect.ConstructorAccessorImpl at sun.misc.Unsafe.defineClass(Native Method) at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63) at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395) at sun.reflect.MethodAccessorGenerator.generateConstructor(MethodAccessorGenerator.java:94) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:48) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:608) ... 40 more在junit测试时没有问题,使用weblogic时报以上错误,tomcat没有问题。网上没有找到有用的信息。请问这个问题是什么原因造成的?
添加回答
举报
0/150
提交
取消