求救,运行jsp文件tomcat报错

问题描述

以下为报错信息,请帮忙解决: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

时间: 2024-11-30 16:36:26

求救,运行jsp文件tomcat报错的相关文章

eclipse中tomcat运行JSP文件出现以下错误

问题描述 eclipse中tomcat运行JSP文件出现以下错误 java.io.FileNotFoundException: conf ullmodel2xsl.xml (系统找不到指定的路径.) 怎么解决? 解决方案 java.io.FileNotFoundException: conf ullmodel2xsl.xml (系统找不到指定的路径.) 文件没有找到,是否缺少model2xsl.xml文件,或者路径不正确. 解决方案二: java.io.FileNotFoundException

jsp servlet-jsp跳转到相应的servlet了,但是servlet不运行,也不报错就停在servlet中了

问题描述 jsp跳转到相应的servlet了,但是servlet不运行,也不报错就停在servlet中了 我还故意写上了测试代码 int sign=0; sign=acd.insert(c);//数据库执行插入,成功则返回1 if(sign==0){ response.sendRedirect(request.getContextPath()+""/false.jsp""); }else{ response.sendRedirect(request.getConte

tomcat-IDEA上运行项目Tomcat报错

问题描述 IDEA上运行项目Tomcat报错 24-Mar-2016 09:30:29.189 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:apache-tomcat-8.0.28webappsmanager 24-Mar-2016 09:30:29.219 INFO [localhost-star

tomcat启动报错-tomcat 加载ssh,运行服务器的时候报错,请大神赐教!

问题描述 tomcat 加载ssh,运行服务器的时候报错,请大神赐教! 主要是这个错误:java.lang.NoClassDefFoundError: Lorg/hibernate/SessionFactory;比较全的错误如下:信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1cad7d80: defining beans [test

eclipse中,使用tomcat插件启动tomcat报错

问题描述 eclipse中,使用tomcat插件启动tomcat报错 具体错误: SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [/manager] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalin

404-tomcat能正常运行,运行项目的时候报错

问题描述 tomcat能正常运行,运行项目的时候报错 ![图 tomcat也能正常运行,..项目也add到servers上面去了 解决方案 404,tomcat运行着,也不能代表不会404,你访问的地址存在吗,端口号对吗 解决方案二: 404错误是你访问的地址不存在.检查一下你访问的端口和路径对不对: 双击Tomcat v7.0 Server, 解决方案三: 像我的访问地址就是:http://localhost:8081/MessagePush/ 解决方案四: 还有就是你的项目根目录下有没有默认

myeclipse-MyEclipse 浏览器运行jsp文件 显示无法显示此页

问题描述 MyEclipse 浏览器运行jsp文件 显示无法显示此页 刚刚安上的时候可以运行 过一会就不行了 期间没有动过它 我就是把MySQL重新安装了一边 我重新把MyEclipse安装好还是一样 求助--- 解决方案 1 检查tomcat的端口号,jdk的路径是否改动. 2 检查web.xml是否有错 3 在浏览器是否可用 解决方案二: 看看你eclipse关联的 tomcat有没有配置对 解决方案三: 浏览器已经在运行了 添加上了项目 解决方案四: 为什么东西 我就想试试可以加载不 解决

eclipse启动tomcat报错

问题描述 eclipse启动tomcat报错 一下报错信息:FATAL ERROR in native method: JDWP No transports initialized jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)ERROR: transport error 202: gethostbyname: unknown hostERROR: JDWP Transport dt_socket failed to initialize TRANSPORT

spring4.14+hibernate4.3整合,web运行正常,junit测试报错;

问题描述 spring4.14+hibernate4.3整合,web运行正常,junit测试报错: 之前web启动的时候也报这个错误,然后在web.xml里面加了这个filter,就好了. 可是现在用junit测试,没办法读取web.xml里面的配置,所以还报了这个错, 别问我为什么要junit测试,就是想知道 junit测试的时候这种情况怎么解决. 下面附代码 SpringOpenSessionInViewFilterorg.springframework.orm.hibernate4.sup