用户模块404

来源:6-1 用户模块开发概要与接口设计讲解

青_507_1120

2018-06-01

测试用户模块一直404  后来我改了一下把Helloworld 改成 hellowoed!!!  

重启tomcat一直都没有变

而且重启idea的提升下面spring的信息

//img.mukewang.com/szimg/5b1159140001492d08380304.jpg

//img.mukewang.com/szimg/5b11591400016da711840273.jpg

D:\tomcat\apache-tomcat-7.0.75\bin\catalina.bat run

[2018-06-01 10:30:17,786] Artifact mmalll:war: Server is not connected. Deploy is not available.

Using CATALINA_BASE:   "C:\Users\M\.IntelliJIdea15\system\tomcat\Unnamed_mmalll_2"

Using CATALINA_HOME:   "D:\tomcat\apache-tomcat-7.0.75"

Using CATALINA_TMPDIR: "D:\tomcat\apache-tomcat-7.0.75\temp"

Using JRE_HOME:        "D:\jdk_7"

Using CLASSPATH:       "D:\tomcat\apache-tomcat-7.0.75\bin\bootstrap.jar;D:\tomcat\apache-tomcat-7.0.75\bin\tomcat-juli.jar"

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/7.0.75

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Jan 18 2017 20:54:42 UTC

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         7.0.75.0

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 8.1

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            6.3

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             D:\jdk_7\jre

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.7.0_80-b15

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         C:\Users\M\.IntelliJIdea15\system\tomcat\Unnamed_mmalll_2

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_HOME:         D:\tomcat\apache-tomcat-7.0.75

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.util.logging.config.file=C:\Users\M\.IntelliJIdea15\system\tomcat\Unnamed_mmalll_2\conf\logging.properties

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcom.sun.management.jmxremote=

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.endorsed.dirs=D:\tomcat\apache-tomcat-7.0.75\endorsed

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=C:\Users\M\.IntelliJIdea15\system\tomcat\Unnamed_mmalll_2

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.home=D:\tomcat\apache-tomcat-7.0.75

六月 01, 2018 10:30:20 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Djava.io.tmpdir=D:\tomcat\apache-tomcat-7.0.75\temp

六月 01, 2018 10:30:20 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk_7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\mrc\v83\runtime\win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;I:\apache-maven-3.3.9\bin;D:\jdk_7\bin;D:\tomcat\apache-tomcat-7.0.75\bin;;C:\WINDOWS\System32\OpenSSH\;D:\Python\Python36\Scripts\;D:\Python\Python36\;D:\Python27;D:\Python27\Scripts\;D:\Python35\;C:\Users\M\AppData\Local\Microsoft\WindowsApps;D:\Python35\Lib\site-packages\matplotlib\;D:\Python35\Lib\importlib\;D:\MYSQL\bin;D:\Tomcat\bin;;.

六月 01, 2018 10:30:21 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-bio-8088"]

六月 01, 2018 10:30:21 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["ajp-bio-8009"]

六月 01, 2018 10:30:21 下午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 1863 ms

六月 01, 2018 10:30:21 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

六月 01, 2018 10:30:21 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.75

六月 01, 2018 10:30:21 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["http-bio-8088"]

六月 01, 2018 10:30:21 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["ajp-bio-8009"]

六月 01, 2018 10:30:21 下午 org.apache.catalina.startup.Catalina start

信息: Server startup in 146 ms

Connected to server

[2018-06-01 10:30:21,677] Artifact mmalll:war: Artifact is being deployed, please wait...

六月 01, 2018 10:30:22 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile

信息: validateJarFile(D:\tomcat\apache-tomcat-7.0.75\webapps\ROOT\WEB-INF\lib\tomcat-servlet-api-7.0.64.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class

六月 01, 2018 10:30:27 下午 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-06-01 10:30:27,799] Artifact mmalll:war: Artifact is deployed successfully

[2018-06-01 10:30:27,799] Artifact mmalll:war: Deploy took 6,122 milliseconds

六月 01, 2018 10:30:31 下午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory D:\tomcat\apache-tomcat-7.0.75\webapps\manager

六月 01, 2018 10:30:32 下午 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.

六月 01, 2018 10:30:32 下午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory D:\tomcat\apache-tomcat-7.0.75\webapps\manager has finished in 1,032 ms


写回答

2回答

Geely

2018-06-05

0
0

星辰Iron

2018-06-02

用户模块404指的是测试登录功能返回404吗?看着你的项目并没有部署成功,重新生成war包部署到tomcat里面再启动一下试试看。

0
0

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9476 学习 · 8804 问题

查看课程