项目是JDK1.6编译的,在本地Windows系统下的Tomcat部署下,能正常运行。
将该项目部署到 Linux下的Was6,就报如下错误,Linux系统JDK 有1.6 和1.5
但was6的JDK是  1.5的  不知道是was版本的错误,还是什么,请各位大侠帮帮忙!Caused by: 
java.lang.LinkageError: LinkageError while defining class: com.huateng.po.TblTxnChkInfPK
Could not be defined due to: (com/huateng/po/TblTxnChkInfPK) bad major version at offset=6
This is often caused by having a class defined at multiple
locations within the classloader hierarchy.  Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
==>[0] 
com.ibm.ws.classloader.CompoundClassLoader@1aeb1aeb
   Local ClassPath: /home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/classes:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/ant.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/cglib-nodep-2.1_3.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-attributes-api.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-beanutils.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-codec-1.4.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-collections.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-dbcp.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-digester.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-discovery.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-el.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-fileupload-1.2.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-httpclient.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-io-1.3.2.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-javaflow.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-lang.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-logging-1.0.4.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-net-1.4.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-pool.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/commons-validator.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/dom4j-1.6.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/dwr.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/ezmorph-1.0.6.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/freeer-2.3.15.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/groovy-all-1.5.5.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/hibernate3.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/iText-2.1.0.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/iTextAsian.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jakarta-oro-2.0.8.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jasper-compiler-jdt.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jasper-compiler.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jasper-runtime.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jasperreports-3.7.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jaxen-1.1-beta-7.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jdom-1.0.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/json-lib-2.2.3-jdk15.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/jta.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/log4j-1.2.14.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/mysql-connector-java-3.1.10-bin.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/ognl-2.7.3.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/oracle.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/poi-3.6-20091214.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/spring.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/struts2-core-2.1.8.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/struts2-json-plugin-2.1.8.1.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war/WEB-INF/lib/xwork-core-2.1.6.jar:/home/was/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/NewTestNode01Cell/UOBCServer.ear/UOBCServer_20120718.war
   Delegation Mode: PARENT_FIRST
   [1] com.ibm.ws.classloader.JarClassLoader@2021881987 Local Classpath:  Delegation mode: PARENT_FIRST
   [2] com.ibm.ws.classloader.ProtectionClassLoader@65ec65ec
   [3] com.ibm.ws.bootstrap.ExtClassLoader@cf00cf
   [4] org.eclipse.osgi.framework.adaptor.core.CDSBundleClassLoader@6c646c64
   [5] sun.misc.Launcher$AppClassLoader@7e197e19
   [6] sun.misc.Launcher$ExtClassLoader@43124312
---Original exception---
java.lang.UnsupportedClassVersionError: (com/huateng/po/TblTxnChkInfPK) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:373)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100)
at org.hibernate.mapping.Component.getComponentClass(Component.java:101)
at org.hibernate.tuple.component.PojoComponentTuplizer.buildGetter(PojoComponentTuplizer.java:130)
at org.hibernate.tuple.component.AbstractComponentTuplizer.<init>(AbstractComponentTuplizer.java:43)
at org.hibernate.tuple.component.PojoComponentTuplizer.<init>(PojoComponentTuplizer.java:38)
at org.hibernate.tuple.component.ComponentEntityModeToTuplizerMapping.<init>