|

楼主 |
发表于 2012-4-13 17:03:29
|
显示全部楼层
我打包之后,放到runtime\BusinessServer\WEB-INF\lib下,然后把studio的jdk改成打包的jdk,还是报错:
- java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:592)
- at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
- at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
- Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.time.TaskManager)
复制代码 |
|