Windows7,IDEA2017.3和tomcat-7.0.85环境
首次部署,看了所有关于与这个问题的回答,都没有解决。
所有部署流程按照老师给的Word文件配置的,至少尝试了4遍;
首次部署启动tomcat后,ROOT目录下有META-INF,WEB-INF 和index.jsp 文件,没有war,能打开tomcat欢迎页面,有日志文件;
遇到问题后,删掉配置重新按说明走了一遍,结果ROOT目录为空,也没有日志生成,说明项目没有发布,情况越来越糟。
显然问题出在部署上面,搜索了很多,仍然没有解决,卡在这里了,求助!
另外,QQ群加满了被拒后,加另外一个群,说验证信息失效,怎么办呢?
D:\DevelopTools\apache-tomcat-7.0.85\bin\catalina.bat run
[2018-02-27 01:08:03,900] Artifact mmall:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\Unnamed_mmall_2"
Using CATALINA_HOME: "D:\DevelopTools\apache-tomcat-7.0.85"
Using CATALINA_TMPDIR: "D:\DevelopTools\apache-tomcat-7.0.85\temp"
Using JRE_HOME: "C:\Java\jdk1.8.0_161"
Using CLASSPATH: "D:\DevelopTools\apache-tomcat-7.0.85\bin\bootstrap.jar;D:\DevelopTools\apache-tomcat-7.0.85\bin\tomcat-juli.jar"
二月 27, 2018 1:08:04 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.85
二月 27, 2018 1:08:04 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Feb 7 2018 18:52:33 UTC
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.85.0
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Java\jdk1.8.0_161\jre
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_161-b12
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\Unnamed_mmall_2
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\DevelopTools\apache-tomcat-7.0.85
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\Unnamed_mmall_2\conf\logging.properties
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dignore.endorsed.dirs=
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\Unnamed_mmall_2
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\DevelopTools\apache-tomcat-7.0.85
二月 27, 2018 1:08:05 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=D:\DevelopTools\apache-tomcat-7.0.85\temp
二月 27, 2018 1:08:05 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.2.16 using APR version 1.6.3.
二月 27, 2018 1:08:05 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
二月 27, 2018 1:08:05 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.2m 2 Nov 2017)
二月 27, 2018 1:08:06 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8088"]
二月 27, 2018 1:08:06 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
二月 27, 2018 1:08:06 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1517 ms
二月 27, 2018 1:08:06 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
二月 27, 2018 1:08:06 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.85
二月 27, 2018 1:08:06 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8088"]
二月 27, 2018 1:08:06 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
二月 27, 2018 1:08:06 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 82 ms
Connected to server
[2018-02-27 01:08:06,549] Artifact mmall:war exploded: Artifact is being deployed, please wait...
二月 27, 2018 1:08:06 上午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(D:\DevelopWorkspace\IdeaProjects\mmall\out\artifacts\mmall_war_exploded\WEB-INF\lib\tomcat-servlet-api-7.0.85.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
二月 27, 2018 1:08:06 上午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [3.1]. Default version will be used.
二月 27, 2018 1:08:08 上午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2018-02-27 01:08:08,881] Artifact mmall:war exploded: Artifact is deployed successfully
[2018-02-27 01:08:08,882] Artifact mmall:war exploded: Deploy took 2,332 milliseconds
二月 27, 2018 1:08:16 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\DevelopTools\apache-tomcat-7.0.85\webapps\manager
二月 27, 2018 1:08:16 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\DevelopTools\apache-tomcat-7.0.85\webapps\manager has finished in 73 ms