当前位置:软件学习 > 其它软件 >>

WebSphere was ClassNotFoundException

环境为:
************ Start Display Current Environment ************
WebSphere Platform 6.0 [ND 6.0.2.15 cf150636.04]  running with process name ibm630-05aCell01\ibm630-05aNode01\server1 and process id 1011782
Host Operating System is AIX, version 5.2
Java version = J2RE 1.4.2 IBM AIX build ca142-20050609 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = /usr/IBM/WebSphere/AppServer
user.install.root = /usr/IBM/WebSphere/AppServer/profiles/AppSrv01
Java Home = /usr/IBM/WebSphere/AppServer/java/bin/../jre
ws.ext.dirs = /usr/IBM/WebSphere/AppServer/java/lib:/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/usr/IBM/WebSphere/AppServer/classes:/usr/IBM/WebSphere/AppServer/lib:/usr/IBM/WebSphere/AppServer/installedChannels:/usr/IBM/WebSphere/AppServer/lib/ext:/usr/IBM/WebSphere/AppServer/web/help:/usr/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/usr/IBM/WebSphere/AppServer/properties:/usr/IBM/WebSphere/AppServer/lib/bootstrap.jar:/usr/IBM/WebSphere/AppServer/lib/j2ee.jar:/usr/IBM/WebSphere/AppServer/lib/lmproxy.jar:/usr/IBM/WebSphere/AppServer/lib/urlprotocols.jar
Java Library path = /usr/IBM/WebSphere/AppServer/java/bin/../jre/bin:/usr/IBM/WebSphere/AppServer/java/jre/bin/classic:/usr/IBM/WebSphere/AppServer/java/jre/bin:/usr/IBM/WebSphere/AppServer/bin:/usr/mqm/java/lib:/usr/opt/wemps/lib:/usr/lib


错误为:
[8/28/09 16:41:19:682 GMT+08:00] 0000001b ServletWrappe E   SRVE0026E: [Servlet Error]-[org.apache.struts.action.ActionServlet]: java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet

[8/28/09 16:41:19:784 GMT+08:00] 0000001b WebExtensionP W   Servlet action is currently unavailable: SRVE0200E: Servlet [org.apache.struts.action.ActionServlet]: Could not find required servlet class - org.apache.struts.action.ActionServlet
[8/28/09 16:41:19:885 GMT+08:00] 0000001b WebExtensionP E   SRVE0026E: [Servlet Error]-[javax.servlet.UnavailableException: SRVE0200E: Servlet [org.apache.struts.action.ActionServlet]: Could not find required servlet class - org.apache.struts.action.ActionServlet

[8/28/09 16:41:20:289 GMT+08:00] 0000001b WebExtensionP W   Servlet InitSystem is currently unavailable: SRVE0203E: Servlet [InitSystem]: SystemServlet was found, but is missing another required class.
SRVE0206E: This error typically implies that the servlet was originally compiled with classes which cannot be located by the server.
SRVE0187E: Check your classpath to ensure that all classes required by the servlet are present.SRVE0210I: This problem can be debugged by recompiling the servlet using only the classes in the application's runtime classpath

[8/28/09 16:44:35:449 GMT+08:00] 00000030 WebApp        E   SRVE0026E: [Servlet Error]-[Filter [operatorLoginFilter]: AdminLoginFilter was found, but is missing another required class.
]: java.lang.NoClassDefFoundError: org/apache/log4j/Logger


好像WebSphere找不到应用中的jar包

谁能告诉我怎么解决啊 --------------------编程问答-------------------- 首先看你打好的包里面是否有这些类,第二,找找相应的WAS补丁。。 --------------------编程问答-------------------- --------------------编程问答-------------------- 怀疑包有冲突 --------------------编程问答-------------------- 恩,我最近很有心得,赶紧看看webshpere的buglist吧,估计打个补丁就好了。 --------------------编程问答-------------------- 6.0.2.15啊 升级到6.1.0.25吧 --------------------编程问答-------------------- 看看classloader policy吧 --------------------编程问答-------------------- 一个是版本的问题,还有一个可能是jar包有冲突 --------------------编程问答-------------------- Struts的Jar包、Log4J的Jar包都没有怎么开发的。
补充:企业软件 ,  WebSphere
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,