2 zhangyan csdn zhangyan_csdn 于 2014.05.26 11:23 提问

web项目启动成功没有报错 但是访问就404

web项目启动成功没有报错
五月 26, 2014 11:15:27 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ssm' did not find a matching property.
五月 26, 2014 11:15:27 上午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jdk1.7.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Java\jdk1.7.0_45\jre\bin;D:/Java/jdk1.7.0_45/bin/../jre/bin/client;D:/Java/jdk1.7.0_45/bin/../jre/bin;D:/Java/jdk1.7.0_45/bin/../jre/lib/i386;D:\oracle\product\11.2.0\dbhome_1\bin;D:\oracle;.;D:\Java\jdk1.7.0_45\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\MySQL\bin;E:\eclipse3.7.2\eclipse3.7.2;;.
五月 26, 2014 11:15:27 上午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
五月 26, 2014 11:15:27 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 301 ms
五月 26, 2014 11:15:27 上午 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
五月 26, 2014 11:15:27 上午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
五月 26, 2014 11:15:27 上午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'crm.root' = [D:\Workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ssm]
五月 26, 2014 11:15:27 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing log4j from [classpath:log4j.properties]
五月 26, 2014 11:15:28 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2014-05-26 11:15:28,513 DEBUG [org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner] - Identified candidate component class: file [D:\Workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ssm\WEB-INF\classes\com\crm\mapper\UserMapper.class]
2014-05-26 11:15:28,513 DEBUG [org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner] - Creating MapperFactoryBean with name 'userMapper' and 'com.crm.mapper.UserMapper' mapperInterface
2014-05-26 11:15:28,805 DEBUG [org.apache.ibatis.logging.LogFactory] - Logging initialized using 'org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl' adapter.
2014-05-26 11:15:28,910 DEBUG [org.mybatis.spring.SqlSessionFactoryBean] - Parsed configuration file: 'class path resource [mybatis.xml]'
2014-05-26 11:15:58,089 DEBUG [org.mybatis.spring.SqlSessionFactoryBean] - Parsed mapper file: 'file [D:\Workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ssm\WEB-INF\classes\entity\config\user.xml]'
五月 26, 2014 11:15:58 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'springmvc'
五月 26, 2014 11:15:58 上午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
五月 26, 2014 11:15:58 上午 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
五月 26, 2014 11:15:58 上午 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/19 config=null
五月 26, 2014 11:15:58 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 30930 ms

2个回答

u014034329
u014034329   2017.03.23 23:56

请问最后怎么解决的呢?

qq_33893137
qq_33893137   2016.04.07 20:14

你的APR找不到呀
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jdk1.7.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Java\jdk1.7.0_45\jre\bin;D:/Java/jdk1.7.0_45/bin/../jre/bin/client;D:/Java/jdk1.7.0_45/bin/../jre/bin;D:/Java/jdk1.7.0_45/bin/../jre/lib/i386;D:\oracle\product\11.2.0\dbhome_1\bin;D:\oracle;.;D:\Java\jdk1.7.0_45\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\MySQL\bin;E:\eclipse3.7.2\eclipse3.7.2;;.

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