问题描述
客户用的是WebSphere服务器,版本为1.4jdk。本地tomcat+1.5jdk现在部署后启动,后台报错就是标题的异常!WebSphere服务器上的jdk版本不能更换。在线等急急急!
解决方案
解决方案二:
补充异常:[7/18/1314:11:27:293CST]000001ecSystemErrRExceptioninthread"Thread-2388"java.lang.ClassFormatError:JVMCFRE067unknownconstantpoolentrytag;class=com/litsoft/cctv/fwgl/common/po/FgStatLeaseHoldHouseInfo,offset=413[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.ClassLoader.defineClassImpl(NativeMethod)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.ClassLoader.defineClass(ClassLoader.java:275)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.security.SecureClassLoader.defineClass(SecureClassLoader.java:69)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:773)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassLoader.java:688)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:511)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.ClassLoader.loadClass(ClassLoader.java:626)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.Class.forNameImpl(NativeMethod)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.Class.forName(Class.java:139)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:119)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:136)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:456)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)[7/18/1314:11:27:293CST]000001ecSystemErrRatorg.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.litsoft.cctv.framework.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:31)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.J9VMInternals.initializeImpl(NativeMethod)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.lang.J9VMInternals.initialize(J9VMInternals.java:200)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.litsoft.cctv.fwgl.externalmgr.timer.MyTask.stopLanmu(MyTask.java:46)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.litsoft.cctv.fwgl.externalmgr.timer.MyTask.executeLanmuTask(MyTask.java:37)[7/18/1314:11:27:293CST]000001ecSystemErrRatcom.litsoft.cctv.fwgl.externalmgr.timer.MyTask.run(MyTask.java:30)[7/18/1314:11:27:293CST]000001ecSystemErrRatjava.util.Timer$TimerImpl.run(Timer.java:293)