Weblogic中部署web应用出错,找不到WEB-INF/lib中jar的class,报NoClassDefFoundError

04-02-19 hanjitao
<2004-2-19 下午19时28分49秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "operroot".

javax.servlet.ServletException: [HTTP:101250][ServletContext(id=5447793,name=operroot,context-path=/operroot)]: Servlet class com.zte.thirdgs.mp.portal.frame.ThirdgsActionServlet for servlet action could not be loaded because a class on which it depends was not found in the classpath E:\work\3gs\SMPV1.0\common\build\operroot.war;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\UOSFlowClient50882.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\UOSFlowWeb50883.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\castor-xml50884.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-beanutils50885.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-collections50886.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-digester50887.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-fileupload50888.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-lang50889.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-logging50890.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\commons-validator50891.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\jakarta-oro50892.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\struts-legacy50893.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\struts50894.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\terminalWAF50895.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\webPortalFrame50896.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\xerces-1.3.050897.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\xercesImpl50898.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\WEB-INF\lib\xml-apis50899.jar;D:\bea\user_projects\thirdgsdomain\.\thirdgsserver\.wlnotdelete\extract\thirdgsserver_operroot_operroot\jarfiles\_wl_cls_gen.jar.

java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet.

wqy518
2004-02-23 09:54
有时候明明放到lib目录下,确实找不到,很变态的,你放到classpath里试试

猜你喜欢