2-5节,输入http://localhost:8081/index,出现404错误

来源:2-5 后台内容管理系统搭建

qq_非非_1

2018-01-12

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server version:        Apache Tomcat/8.0.48

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server built:          Nov 30 2017 16:26:50 UTC

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Server number:         8.0.48.0

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Name:               Windows 7

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: OS Version:            6.1

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Architecture:          amd64

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Java Home:             D:\MyEclipse15\binary\com.sun.java.jdk7.win32.x86_64_1.7.0.u45\jre

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Version:           1.7.0_45-b18

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: JVM Vendor:            Oracle Corporation

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: CATALINA_BASE:         D:\apache-tomcat-8.0.48

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

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

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dmaven.multiModuleProjectDirectory=$MAVEN_HOME

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dcatalina.base=D:\apache-tomcat-8.0.48

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

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

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dwtp.deploy=D:\apache-tomcat-8.0.48\webapps

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

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

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.VersionLoggerListener log

信息: Command line argument: -Dfile.encoding=GBK

一月 12, 2018 9:25:53 下午 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:\MyEclipse15\binary\com.sun.java.jdk7.win32.x86_64_1.7.0.u45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;D:\matlab\runtime\win64;D:\matlab\bin;%MYSQL_HOME%\bin\;D:\maven\apache-maven-3.5.2\bin;D:\nodejs\;D:\TortoiseSVN\bin;D:\Java\jdk1.8.0_131\bin;D:\Java\jdk1.8.0_131\jre\bin;%CATALINA_HOME%\lib;%CATALINA_HOME%\bin;C:\Users\Administrator\AppData\Roaming\npm;.

一月 12, 2018 9:25:53 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-nio-8081"]

一月 12, 2018 9:25:53 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

一月 12, 2018 9:25:53 下午 org.apache.coyote.AbstractProtocol init

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

一月 12, 2018 9:25:53 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

信息: Using a shared selector for servlet write/read

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 476 ms

一月 12, 2018 9:25:53 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

一月 12, 2018 9:25:53 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/8.0.48

一月 12, 2018 9:25:53 下午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory D:\apache-tomcat-8.0.48\webapps\comment

一月 12, 2018 9:25:55 下午 org.apache.jasper.servlet.TldScanner scanJars

信息: 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.

一月 12, 2018 9:25:55 下午 org.apache.catalina.core.ApplicationContext log

信息: No Spring WebApplicationInitializer types detected on classpath

一月 12, 2018 9:25:56 下午 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext

一月 12, 2018 9:25:56 下午 org.springframework.web.context.ContextLoader initWebApplicationContext

信息: Root WebApplicationContext: initialization started

一月 12, 2018 9:25:56 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh

信息: Refreshing Root WebApplicationContext: startup date [Fri Jan 12 21:25:56 CST 2018]; root of context hierarchy

一月 12, 2018 9:25:56 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions

信息: Loading XML bean definitions from class path resource [spring/root-context.xml]

一月 12, 2018 9:25:56 下午 org.springframework.web.context.ContextLoader initWebApplicationContext

信息: Root WebApplicationContext: initialization completed in 296 ms

一月 12, 2018 9:25:56 下午 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring FrameworkServlet 'spring'

一月 12, 2018 9:25:56 下午 org.springframework.web.servlet.DispatcherServlet initServletBean

信息: FrameworkServlet 'spring': initialization started

一月 12, 2018 9:25:56 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh

信息: Refreshing WebApplicationContext for namespace 'spring-servlet': startup date [Fri Jan 12 21:25:56 CST 2018]; parent: Root WebApplicationContext

一月 12, 2018 9:25:56 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions

信息: Loading XML bean definitions from file [D:\apache-tomcat-8.0.48\webapps\comment\WEB-INF\classes\spring\applicationContext-dao.xml]

一月 12, 2018 9:25:56 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions

信息: Loading XML bean definitions from file [D:\apache-tomcat-8.0.48\webapps\comment\WEB-INF\classes\spring\applicationContext-service.xml]

一月 12, 2018 9:25:56 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions

信息: Loading XML bean definitions from file [D:\apache-tomcat-8.0.48\webapps\comment\WEB-INF\classes\spring\applicationContext-web.xml]

一月 12, 2018 9:25:56 下午 com.mchange.v2.log.MLog <clinit>

信息: MLog clients using java 1.4+ standard logging.

一月 12, 2018 9:25:56 下午 com.mchange.v2.c3p0.C3P0Registry banner

信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]

21:25:56.862 [localhost-startStop-1] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Using VFS adapter org.apache.ibatis.io.DefaultVFS

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/D:/apache-tomcat-8.0.48/webapps/comment/WEB-INF/classes/org/imooc/bean/

21:25:56.926 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/D:/apache-tomcat-8.0.48/webapps/comment/WEB-INF/classes/org/imooc/bean/

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Action.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Ad.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: BaseBean.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Business.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Comment.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Dic.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Group.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: GroupAction.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: GroupMenu.class

21:25:56.957 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Member.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Menu.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Orders.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Page.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: SysParam.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: User.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Listing file:/D:/apache-tomcat-8.0.48/webapps/comment/WEB-INF/classes/org/imooc/bean/

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/D:/apache-tomcat-8.0.48/webapps/comment/WEB-INF/classes/org/imooc/bean/Action.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/D:/apache-tomcat-8.0.48/webapps/comment/WEB-INF/classes/org/imooc/bean/Action.class

21:25:56.973 [localhost-startStop-1] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: 漱壕


写回答

1回答

源生活

2018-01-13

想问什么?

0
5
qq_非非_1
回复
源生活
url我输错了,谢谢老师!
2018-01-13
共5条回复

IT段子手详解MyBatis遇到Spring 秒学Java SSM开发大众点评

【毕设】SSM全面梳理,前后端分离,zTree 和复杂SQL打造权限系统,解惑MyBatis和RESTful

1001 学习 · 485 问题

查看课程