2 ace412146460 ace412146460 于 2017.12.20 12:00 提问

Javaweb的一个诡异问题

图片说明
为什么在main上面new 然后点运行没有报错,

在下面运行
doget 运行 new 然后 页面就打不开了了 HTTP Status 500 - Servlet execution threw an exception
去掉又可以 , 这个咋整

怎么感觉这个异常加不加 ProcessCenter pc = new DefaultStreamProcess(true); 这句话都一样呢

E:\java\apache-tomcat-7.0.77\bin\catalina.bat run
[2017-12-20 01:32:37,890] Artifact JavaWeb:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb"
Using CATALINA_HOME: "E:\java\apache-tomcat-7.0.77"
Using CATALINA_TMPDIR: "E:\java\apache-tomcat-7.0.77\temp"
Using JRE_HOME: "E:\ruanjian\jdk"
Using CLASSPATH: "E:\java\apache-tomcat-7.0.77\bin\bootstrap.jar;E:\java\apache-tomcat-7.0.77\bin\tomcat-juli.jar"
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.AprLifecycleListener init
警告: The APR based Apache Tomcat Native library failed to load. The error reported was [E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.apache.tomcat.jni.Library.(Library.java:42)
at org.apache.tomcat.jni.Library.initialize(Library.java:178)
at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:200)
at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:108)
at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592)
at org.apache.catalina.connector.Connector.(Connector.java:66)
at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1303)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1576)
at org.apache.catalina.startup.Catalina.load(Catalina.java:616)
at org.apache.catalina.startup.Catalina.load(Catalina.java:667)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)

十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 28 2017 16:01:48 UTC
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.77.0
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: E:\ruanjian\jdk\jre
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_121-b13
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: E:\java\apache-tomcat-7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb\conf\logging.properties
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\java\apache-tomcat-7.0.77\endorsed
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\java\apache-tomcat-7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=E:\java\apache-tomcat-7.0.77\temp
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 569 ms
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十二月 20, 2017 1:32:39 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十二月 20, 2017 1:32:39 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 51 ms
Connected to server
[2017-12-20 01:32:39,512] Artifact JavaWeb:war exploded: Artifact is being deployed, please wait...
十二月 20, 2017 1:32:39 下午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [3.1]. Default version will be used.
[2017-12-20 01:32:39,867] Artifact JavaWeb:war exploded: Artifact is deployed successfully
[2017-12-20 01:32:39,868] Artifact JavaWeb:war exploded: Deploy took 356 milliseconds
十二月 20, 2017 1:32:49 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\java\apache-tomcat-7.0.77\webapps\manager
十二月 20, 2017 1:32:49 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
十二月 20, 2017 1:32:49 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/manager] startup failed due to previous errors
十二月 20, 2017 1:32:49 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\java\apache-tomcat-7.0.77\webapps\manager has finished in 115 ms

/**************
下面是 javaweb 的报错

***************/
HTTP Status 500 - Servlet execution threw an exception

type Exception report

message Servlet execution threw an exception

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
org.lib.speech.process.DefaultStreamProcess.(DefaultStreamProcess.java:92)
com.uestc.www.servlets.Aservlet.doGet(Aservlet.java:43)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

java.lang.ClassNotFoundException: org.apache.lucene.analysis.Analyzer
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
org.lib.speech.process.DefaultStreamProcess.(DefaultStreamProcess.java:92)
com.uestc.www.servlets.Aservlet.doGet(Aservlet.java:43)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.77 logs.

6个回答

dcxy0
dcxy0   Ds   Rxr 2017.12.20 13:15
已采纳

提示什么异常,贴出来看看。

dcxy0
dcxy0 回复梧桐初恋: 你试试用maven管理依赖,不然依赖项管理太烦了。http://www.yiibai.com/maven/教程参考这个。
4 个月之前 回复
ace412146460
ace412146460 不知道为什么,程序可以了 可能是引入了一个新的lucene-analyzers-3.6.2.jar
4 个月之前 回复
dcxy0
dcxy0 回复梧桐初恋: 之前遇到过类似的情况,是在main里面运行查询,那会没有dataSource,但是在web环境里面就可以,你自己排查下你是不是这个原因
4 个月之前 回复
ace412146460
ace412146460 回复Q544471255: 引入了还是这个错误,包不存在?那为什么运行main又可以
4 个月之前 回复
dcxy0
dcxy0 回复梧桐初恋: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer 类不存在,参考:http://blog.csdn.net/tanoya/article/details/50156713
4 个月之前 回复
ace412146460
ace412146460 贴了 帮看下喂
4 个月之前 回复
kk003319545
kk003319545   2017.12.20 12:21

你不能只看错误表面!你要去看报错的地方,看看异常是什么!

你起码要把异常信息贴出来啊!

ace412146460
ace412146460 1楼更新了异常,实在看不出来啊
4 个月之前 回复
qq_37845526
qq_37845526   2017.12.20 12:27

楼主把具体的异常发出来啊 只描述 怎么看出具体问题

ace412146460
ace412146460 编辑了异常在一楼
4 个月之前 回复
testcs_dn
testcs_dn   Rxr 2017.12.20 13:56

警告: The APR based Apache Tomcat Native library failed to load. The error reported was [E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

换成 64位的 Tomcat 试试。

ace412146460
ace412146460 回复微wx笑: 是不是 Javaweb的 .jar 包是不是一定要放在WEB-INF/lib 下面呢?
4 个月之前 回复
testcs_dn
testcs_dn 回复梧桐初恋: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer org.lib.speech.process.DefaultStreamProcess.(DefaultStreamProcess.java:92) 类没有打包或同步到服务器上去
4 个月之前 回复
ace412146460
ace412146460 但是我没有ProcessCenter pc = new DefaultStreamProcess(true); 他也有这个错误啊,而且还能跑起来
4 个月之前 回复
u012347717
u012347717   2017.12.20 15:06

ProcessCenter pc =null;
try{
pc= new DefaultStreamProcess(true);

.......

}

u012347717
u012347717 回复梧桐初恋: 报的错是32位的运用在64位上了。可能文件配置出现问题了。
4 个月之前 回复
ace412146460
ace412146460 不知道为什么,程序可以了 可能是引入了一个新的lucene-analyzers-3.6.2.jar
4 个月之前 回复
u012347717
u012347717 Can't load IA 32-bit .dll on a AMD 64-bit platform
4 个月之前 回复
u012347717
u012347717 java.lang.UnsatisfiedLinkError: E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
4 个月之前 回复
u012347717
u012347717 这样应该没有问题的。
4 个月之前 回复
ace412146460
ace412146460   2017.12.20 13:33

E:\java\apache-tomcat-7.0.77\bin\catalina.bat run
[2017-12-20 01:32:37,890] Artifact JavaWeb:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb"
Using CATALINA_HOME: "E:\java\apache-tomcat-7.0.77"
Using CATALINA_TMPDIR: "E:\java\apache-tomcat-7.0.77\temp"
Using JRE_HOME: "E:\ruanjian\jdk"
Using CLASSPATH: "E:\java\apache-tomcat-7.0.77\bin\bootstrap.jar;E:\java\apache-tomcat-7.0.77\bin\tomcat-juli.jar"
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.AprLifecycleListener init
警告: The APR based Apache Tomcat Native library failed to load. The error reported was [E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform]
java.lang.UnsatisfiedLinkError: E:\java\apache-tomcat-7.0.77\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.apache.tomcat.jni.Library.(Library.java:42)
at org.apache.tomcat.jni.Library.initialize(Library.java:178)
at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:200)
at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:108)
at org.apache.catalina.connector.Connector.setProtocol(Connector.java:592)
at org.apache.catalina.connector.Connector.(Connector.java:66)
at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1303)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1576)
at org.apache.catalina.startup.Catalina.load(Catalina.java:616)
at org.apache.catalina.startup.Catalina.load(Catalina.java:667)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)

十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 28 2017 16:01:48 UTC
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.77.0
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: E:\ruanjian\jdk\jre
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_121-b13
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: E:\java\apache-tomcat-7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb\conf\logging.properties
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\java\apache-tomcat-7.0.77\endorsed
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\iMay.IntelliJIdea2017.2\system\tomcat\Unnamed_JavaWeb
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\java\apache-tomcat-7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=E:\java\apache-tomcat-7.0.77\temp
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
十二月 20, 2017 1:32:38 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 569 ms
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 20, 2017 1:32:38 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.77
十二月 20, 2017 1:32:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十二月 20, 2017 1:32:39 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十二月 20, 2017 1:32:39 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 51 ms
Connected to server
[2017-12-20 01:32:39,512] Artifact JavaWeb:war exploded: Artifact is being deployed, please wait...
十二月 20, 2017 1:32:39 下午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [3.1]. Default version will be used.
[2017-12-20 01:32:39,867] Artifact JavaWeb:war exploded: Artifact is deployed successfully
[2017-12-20 01:32:39,868] Artifact JavaWeb:war exploded: Deploy took 356 milliseconds
十二月 20, 2017 1:32:49 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\java\apache-tomcat-7.0.77\webapps\manager
十二月 20, 2017 1:32:49 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
十二月 20, 2017 1:32:49 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/manager] startup failed due to previous errors
十二月 20, 2017 1:32:49 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\java\apache-tomcat-7.0.77\webapps\manager has finished in 115 ms

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!