weblogic部署JavaWeb项目 抛出ServletException异常 10
一个简单的登录示例,本人在Tomcat上测试通过--移植到weblogic,抛出ServletException异常---------------------------...
一个简单的登录示例,本人在Tomcat上测试通过--
移植到weblogic,抛出ServletException异常
----------------------------------------------------------
◆异常信息如下:
<2009-12-22 上午11时19分04秒 CST> <Error> <HTTP> <BEA-101249> <[ServletContext(id=28252888,name=weblogic,context-path=/weblogic)]: Servlet class com.servlet.LoginServlet for servlet userLogin could not be loaded because the requested class was not found in the classpath D:\DreamTool\Weblogic\DIY_domain\diydomain\applications\weblogic\WEB-INF\classes;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic\jarfiles\WEB-INF\lib\mysql-connector-java-5.1.0-bin.jar;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic.
java.lang.UnsupportedClassVersionError: com/servlet/LoginServlet (Unsupported major.minor version 49.0).>
<2009-12-22 上午11时19分04秒 CST> <Error> <HTTP> <BEA-101018> <[ServletContext(id=28252888,name=weblogic,context-path=/weblogic)] Servlet failed with ServletException
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=28252888,name=weblogic,context-path=/weblogic)]: Servlet class com.servlet.LoginServlet for servlet userLogin could not be loaded because the requested class was not found in the classpath D:\DreamTool\Weblogic\DIY_domain\diydomain\applications\weblogic\WEB-INF\classes;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic\jarfiles\WEB-INF\lib\mysql-connector-java-5.1.0-bin.jar;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic.
java.lang.UnsupportedClassVersionError: com/servlet/LoginServlet (Unsupported major.minor version 49.0).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
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:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
--------------------------------------------------
◆备注说明:
1.J2EE版本:1.4
2.Weblogic版本:8.1.4
3.JDK版本:1.4.2
---------------------------------------------------------------
QQ在线等:157822776 展开
移植到weblogic,抛出ServletException异常
----------------------------------------------------------
◆异常信息如下:
<2009-12-22 上午11时19分04秒 CST> <Error> <HTTP> <BEA-101249> <[ServletContext(id=28252888,name=weblogic,context-path=/weblogic)]: Servlet class com.servlet.LoginServlet for servlet userLogin could not be loaded because the requested class was not found in the classpath D:\DreamTool\Weblogic\DIY_domain\diydomain\applications\weblogic\WEB-INF\classes;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic\jarfiles\WEB-INF\lib\mysql-connector-java-5.1.0-bin.jar;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic.
java.lang.UnsupportedClassVersionError: com/servlet/LoginServlet (Unsupported major.minor version 49.0).>
<2009-12-22 上午11时19分04秒 CST> <Error> <HTTP> <BEA-101018> <[ServletContext(id=28252888,name=weblogic,context-path=/weblogic)] Servlet failed with ServletException
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=28252888,name=weblogic,context-path=/weblogic)]: Servlet class com.servlet.LoginServlet for servlet userLogin could not be loaded because the requested class was not found in the classpath D:\DreamTool\Weblogic\DIY_domain\diydomain\applications\weblogic\WEB-INF\classes;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic\jarfiles\WEB-INF\lib\mysql-connector-java-5.1.0-bin.jar;D:\DreamTool\Weblogic\DIY_domain\diydomain\wl_server\.wlnotdelete\extract\wl_server__appsdir_weblogic_dir_weblogic.
java.lang.UnsupportedClassVersionError: com/servlet/LoginServlet (Unsupported major.minor version 49.0).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
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:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
--------------------------------------------------
◆备注说明:
1.J2EE版本:1.4
2.Weblogic版本:8.1.4
3.JDK版本:1.4.2
---------------------------------------------------------------
QQ在线等:157822776 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询