日期:2014-05-20  浏览次数:20753 次

tapestry部署weblogic的问题
我的一个tapestry工程,部署到tomcat上没问题,但部署到weblogic上报错

Error 500--Internal Server Error 
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=730993,name=WebRoot,context-path=/WebRoot)]: Servlet class org.apache.tapestry.ApplicationServlet for servlet TapestryDemo could not be loaded because the requested class was not found in the classpath D:\tapestry3demo\WebRoot\WEB-INF\classes;D:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_tapestry_WebRoot\jarfiles\WEB-INF\lib\javassist.jar;D:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_tapestry_WebRoot\jarfiles\WEB-INF\lib\ognl-2.6.7.jar;D:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_tapestry_WebRoot.
java.lang.ClassNotFoundException: org.apache.tapestry.ApplicationServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:900)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
 以前没用过tapestry和weblogic,大侠们指点一下。


------解决方案--------------------
我就百度了下。。。