为了账号安全,请及时绑定邮箱和手机立即绑定

秒杀项目seckill中出现404错误?

秒杀项目seckill中出现404错误?

nanfeiyan 2017-01-16 16:41:21
一月 16, 2017 4:37:42 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:seckill' did not find a matching property.一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server version:        Apache Tomcat/7.0.69一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server built:          Apr 11 2016 07:57:09 UTC一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Server number:         7.0.69.0一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Name:               Windows 7一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: OS Version:            6.1一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Architecture:          amd64一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Java Home:             C:\Program Files\Java\jdk1.7.0_40\jre一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Version:           1.7.0_40-b43一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: JVM Vendor:            Oracle Corporation一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_BASE:         D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: CATALINA_HOME:         D:\softwareInstall\apache-tomcat-7.0.69一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.base=D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dcatalina.home=D:\softwareInstall\apache-tomcat-7.0.69一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dwtp.deploy=D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Djava.endorsed.dirs=D:\softwareInstall\apache-tomcat-7.0.69\endorsed一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.VersionLoggerListener log信息: Command line argument: -Dfile.encoding=UTF-8一月 16, 2017 4:37:42 下午 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: C:\Program Files\Java\jdk1.7.0_40\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\softwareInstall\oracleclient\bin;D:\softwareInstall\ihyperDB\executable;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\C:\Program Files\Java\jdk1.7.0_40\bin;D:\softwareInstall\maven\apache-maven-3.3.9\bin;.一月 16, 2017 4:37:42 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["http-bio-8080"]一月 16, 2017 4:37:42 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler ["ajp-bio-8009"]一月 16, 2017 4:37:42 下午 org.apache.catalina.startup.Catalina load信息: Initialization processed in 709 ms一月 16, 2017 4:37:42 下午 org.apache.catalina.core.StandardService startInternal信息: Starting service Catalina一月 16, 2017 4:37:42 下午 org.apache.catalina.core.StandardEngine startInternal信息: Starting Servlet Engine: Apache Tomcat/7.0.69一月 16, 2017 4:37:42 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile信息: validateJarFile(D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\lib\javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class一月 16, 2017 4:37:42 下午 org.apache.catalina.deploy.WebXml setVersion警告: Unknown version string [3.1]. Default version will be used.一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.TaglibUriRule body信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined一月 16, 2017 4:37:44 下午 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.一月 16, 2017 4:37:44 下午 org.apache.catalina.core.ApplicationContext log信息: No Spring WebApplicationInitializer types detected on classpath一月 16, 2017 4:37:44 下午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler ["http-bio-8080"]一月 16, 2017 4:37:44 下午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler ["ajp-bio-8009"]一月 16, 2017 4:37:44 下午 org.apache.catalina.startup.Catalina start信息: Server startup in 2341 ms一月 16, 2017 4:37:45 下午 org.apache.catalina.core.ApplicationContext log信息: Initializing Spring FrameworkServlet 'dispatcher'一月 16, 2017 4:37:45 下午 org.springframework.web.servlet.DispatcherServlet initServletBean信息: FrameworkServlet 'dispatcher': initialization started一月 16, 2017 4:37:45 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh信息: Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Mon Jan 16 16:37:45 CST 2017]; root of context hierarchy一月 16, 2017 4:37:45 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from file [D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\classes\spring\spring-dao.xml]一月 16, 2017 4:37:45 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from file [D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\classes\spring\spring-service.xml]一月 16, 2017 4:37:45 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from file [D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\classes\spring\spring-web.xml]一月 16, 2017 4:37:46 下午 org.mybatis.spring.mapper.ClassPathMapperScanner doScan警告: No MyBatis mapper was found in '[org.seckill.dao]' package. Please check your configuration.一月 16, 2017 4:37:46 下午 org.springframework.beans.factory.config.PropertyPlaceholderConfigurer loadProperties信息: Loading properties file from class path resource [jdbc.properties]一月 16, 2017 4:37:46 下午 com.mchange.v2.log.MLog <clinit>信息: MLog clients using java 1.4+ standard logging.一月 16, 2017 4:37:46 下午 com.mchange.v2.c3p0.C3P0Registry banner信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]16:37:46,549 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]16:37:46,549 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]16:37:46,550 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/D:/workSpace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/seckill/WEB-INF/classes/logback.xml]16:37:46,638 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]16:37:46,644 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]16:37:46,655 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property16:37:46,714 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to DEBUG16:37:46,714 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]16:37:46,715 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.16:37:46,717 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2588015b - Registering current configuration as safe fallback point16:37:46.729 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.16:37:46.819 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS16:37:46.819 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.16:37:46.819 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile16:37:46.820 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.16:37:46.821 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - Using VFS adapter org.apache.ibatis.io.DefaultVFS16:37:46.823 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/D:/workSpace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/16:37:46.823 [http-bio-8080-exec-4] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/D:/workSpace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/seckill/WEB-INF/classes/org/seckill/entity/16:37:46.880 [http-bio-8080-exec-4] DEBUG o.m.spring.SqlSessionFactoryBean - Scanned package: 'org.seckill.entity' for aliases16:37:46.939 [http-bio-8080-exec-4] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [mybatis-config.xml]'16:37:47.022 [http-bio-8080-exec-4] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\classes\mapper\SeckillDao.xml]'16:37:47.049 [http-bio-8080-exec-4] DEBUG o.m.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [D:\workSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\seckill\WEB-INF\classes\mapper\SuccessKilledDao.xml]'一月 16, 2017 4:37:47 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache信息: Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Mon Jan 16 16:37:45 CST 2017]; root of context hierarchy一月 16, 2017 4:37:47 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache信息: Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Mon Jan 16 16:37:45 CST 2017]; root of context hierarchy一月 16, 2017 4:37:47 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler信息: Mapped URL path [/**] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'一月 16, 2017 4:37:47 下午 org.springframework.web.servlet.DispatcherServlet initServletBean信息: FrameworkServlet 'dispatcher': initialization completed in 2077 ms
查看完整描述

1 回答

已采纳
?
大咪

TA贡献785条经验 获得超332个赞

localhost:8080/seckill/seckill,然后回车看看
查看完整回答
反对 回复 2017-01-16
  • nanfeiyan
    nanfeiyan
    还是老样子,没变化
  • 大咪
    大咪
    404的错误就是路径访问有问题……你应该右键项目看看你项目属性里的有一个webcontext,看看这里写的是什么,然后访问的时候在用localhost:8080/你webcontext的名字/seckill这样试试呢……
  • nanfeiyan
    nanfeiyan
    你说的是Context root:seckill,我的是这样的。这个早检查过了。
点击展开后面1
  • 1 回答
  • 0 关注
  • 2353 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信