部署你们提供的testWeb例子出错

07-08-27 evanzhang
weblogic 8.1,部署testWeb到weblogic后,copy *.jar to BEA_HOME/commons/lib,start weblogic时报如下错误:

<2007-8-27 下午04时30分08秒 CST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: ServletContext(id=28954108,name=testWeb,context-path=/testWeb) com.jdon.util.SetCharacterEncodingFilter.

java.lang.ClassNotFoundException: com.jdon.util.SetCharacterEncodingFilter

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:199)

at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:61)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

<2007-8-27 下午04时30分08秒 CST> <Error> <HTTP> <BEA-101249> <[ServletContext(id=28954108,name=testWeb,context-path=/testWeb)]: Servlet class org.apache.struts.action.ActionServlet for servlet action could not be loaded because the requested class was not found in the classpath D:\workspace\testWeb\WEB-INF\classes;C:\bea\user_projects\mydomain\.\myserver\.wlnotdelete\extract\myserver_testWeb_testWeb.

java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet.>

<2007-8-27 下午04时30分08秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "testWeb".

javax.servlet.ServletException: [HTTP:101249][ServletContext(id=28954108,name=testWeb,context-path=/testWeb)]: Servlet class org.apache.struts.action.ActionServlet for servlet action could not be loaded because the requested class was not found in the classpath D:\workspace\testWeb\WEB-INF\classes;C:\bea\user_projects\mydomain\.\myserver\.wlnotdelete\extract\myserver_testWeb_testWeb.

java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet.

at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)

at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3333)

at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3278)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259)

at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5949)

at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862)

at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2168)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)

at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)

at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)

at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)

at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)

at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)

at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)

at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)

at weblogic.Server.main(Server.java:32)

banq
2007-08-28 16:40
没有发现com.jdon.util.SetCharacterEncodingFilter

这个类是Jdon框架的一个类,实际Weblogic需要配置struts JdonFramework等jar包。

猜你喜欢