求教高手解答,在WS下发布程序后,首页报错如何解决
现需要将程序发布到LINUX环境后,打开程序,首页报错如下,是什么意思错误原因如下:
LinkageError while defining class: com.synchrobit.synchroflow.monitor.systemconfig.ReadServletConfig Could not be defined due to: (com/synchrobit/synchroflow/monitor/systemconfig/ReadServletConfig) bad magic number at offset=0 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@51185118 Local ClassPath: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/classes:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/synchroflow-server-other.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/xercesImpl-2.6.1.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/rowset.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/quartz-1.6.0.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/htmlparser.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/bsh-2.0b4.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/mssqlserver.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/ojdbc14.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/batik-1.5-fop-0.20-5.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/hsqldb.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/classes12.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/gzstsso.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/jconn3.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/spring.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/oscache-2.2.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB-INF/lib/xalan-2.5.1.jar:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/zjemoss1Cell01/hr_war.ear/hr.war/WEB- --------------------编程问答-------------------- 应该是你的jar包里面有多个ReadServletConfig.class
补充:企业软件 , WebSphere