问题描述
以下为报错信息,请帮忙解决:2011-3-623:07:51org.apache.catalina.core.AprLifecycleListenerinit信息:TheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformanceinproductionenvironmentswasnotfoundonthejava.library.path:C:ProgramFilesJavajre6bin;.;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:/ProgramFiles/Java/jre6/bin/client;C:/ProgramFiles/Java/jre6/bin;C:/ProgramFiles/Java/jre6/lib/i386;C:ProgramFilesCommonFilesNetSarang;C:ProgramFilesCommonFilesMicrosoftSharedWindowsLive;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:ProgramFilesIntelWiFibin;C:ProgramFilesCommonFilesIntelWirelessCommon;C:ProgramFilesCommonFilesLenovo;C:ProgramFilesLenovoAccessConnections;C:ProgramFilesWindowsLiveShared;C:ProgramFilesCommonFilesThunderNetworkKanKanCodecs;C:ProgramFilesMySQLMySQLServer5.1bin2011-3-623:07:52org.apache.tomcat.util.digester.SetPropertiesRulebegin警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context}Settingproperty'source'to'org.eclipse.jst.jee.server:ecs-oa'didnotfindamatchingproperty.2011-3-623:07:52org.apache.tomcat.util.digester.SetPropertiesRulebegin警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context}Settingproperty'source'to'org.eclipse.jst.jee.server:tel_table'didnotfindamatchingproperty.2011-3-623:07:52org.apache.tomcat.util.digester.SetPropertiesRulebegin警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context}Settingproperty'source'to'org.eclipse.jst.jee.server:ecsoa'didnotfindamatchingproperty.2011-3-623:07:52org.apache.coyote.http11.Http11Protocolinit信息:InitializingCoyoteHTTP/1.1onhttp-80802011-3-623:07:52org.apache.coyote.ajp.AjpProtocolinit信息:InitializingCoyoteAJP/1.3onajp-80092011-3-623:07:52org.apache.catalina.startup.Catalinaload信息:Initializationprocessedin513ms2011-3-623:07:52org.apache.catalina.core.StandardServicestartInternal信息:StartingserviceCatalina2011-3-623:07:52org.apache.catalina.core.StandardEnginestartInternal信息:StartingServletEngine:ApacheTomcat/7.0.22011-3-623:07:52org.apache.catalina.loader.WebappClassLoadervalidateJarFile信息:validateJarFile(C:UsersjamesWorkspaces.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsecs-oaWEB-INFlibservlet-api.jar)-jarnotloaded.SeeServletSpec2.3,section9.7.2.Offendingclass:javax/servlet/Servlet.class2011-3-623:07:58org.apache.catalina.loader.WebappClassLoadervalidateJarFile信息:validateJarFile(C:UsersjamesWorkspaces.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsecsoaWEB-INFlibservlet-api.jar)-jarnotloaded.SeeServletSpec2.3,section9.7.2.Offendingclass:javax/servlet/Servlet.class2011-3-623:08:03org.apache.coyote.http11.Http11Protocolstart信息:StartingCoyoteHTTP/1.1onhttp-80802011-3-623:08:03org.apache.coyote.ajp.AjpProtocolstart信息:StartingCoyoteAJP/1.3onajp-80092011-3-623:08:03org.apache.catalina.startup.Catalinastart信息:Serverstartupin11197ms2011-3-623:08:05org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service()forservlet[jsp]incontextwithpath[/ecsoa]threwexception[java.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.jasper.runtime.JspApplicationContextImpl]withrootcausejava.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.jasper.runtime.JspApplicationContextImplatorg.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:216)atorg.apache.jsp.login_jsp._jspInit(login_jsp.java:22)atorg.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:47)atorg.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:154)atorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)atorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:722)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:401)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245)atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(UnknownSource)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)atjava.lang.Thread.run(UnknownSource)
解决方案
解决方案二:
tomcat的运行环境缺库
解决方案三:
缺什么库啊,我新建的另外的一个工程就可以运行jsp文件,,附上,jsp页面的错误描述,麻烦大家帮忙解决下HTTPStatus500---------------------------------------------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:java.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.jasper.runtime.JspApplicationContextImplorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)rootcausejava.lang.NoClassDefFoundError:Couldnotinitializeclassorg.apache.jasper.runtime.JspApplicationContextImplorg.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:216)org.apache.jsp.top_jsp._jspInit(top_jsp.java:23)org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:47)org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:154)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)noteThefullstacktraceoftherootcauseisavailableintheApacheTomcat/7.0.2logs.--------------------------------------------------------------------------------ApacheTomcat/7.0.2