ZmDc007
2017-01-19 01:30
一月 19, 2017 1:19:22 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property.
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.69
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Apr 11 2016 07:57:09 UTC
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.69.0
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 8.1
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.3
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: D:\software\Java\jdk1.8.0_31\jre
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_31-b13
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: D:\JAVA\work\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\software\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:65292
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\JAVA\work\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\software\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\JAVA\work\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\software\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69\endorsed
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
一月 19, 2017 1:19:22 上午 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:\software\Java\jdk1.8.0_31\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\software\Java\jdk1.8.0_31\jre\bin;D:/software/Java/jdk1.8.0_31/bin/../jre/bin/server;D:/software/Java/jdk1.8.0_31/bin/../jre/bin;D:/software/Java/jdk1.8.0_31/bin/../jre/lib/amd64;D:\software\Java\jdk1.8.0_31\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;c:\Program Files\Intel\WiFi\bin\;c:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\IntelSGXPSW\bin\x64\Release\;C:\Program Files\Intel\IntelSGXPSW\bin\win32\Release\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\software\MySQL Server 6.0\bin;D:\software\Java\jdk1.8.0_31\bin;C:\Users\zmdc\AppData\Local\Microsoft\WindowsApps;;D:\software\spring-tool-suite-3.8.2.RELEASE-e4.6.1-win32-x86_64\sts-bundle\sts-3.8.2.RELEASE;;.
一月 19, 2017 1:19:22 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8888"]
一月 19, 2017 1:19:22 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
一月 19, 2017 1:19:22 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 922 ms
一月 19, 2017 1:19:22 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
一月 19, 2017 1:19:22 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.69
一月 19, 2017 1:19:23 上午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(D:\JAVA\work\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\test\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
一月 19, 2017 1:19:24 上午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [3.1]. Default version will be used.
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
一月 19, 2017 1:19:26 上午 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.
一月 19, 2017 1:19:26 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
一月 19, 2017 1:19:26 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8888"]
一月 19, 2017 1:19:26 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
一月 19, 2017 1:19:26 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3715 ms
一月 19, 2017 1:21:42 上午 org.apache.catalina.core.StandardServer await
信息: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
一月 19, 2017 1:21:42 上午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-bio-8888"]
一月 19, 2017 1:21:42 上午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-bio-8009"]
一月 19, 2017 1:21:42 上午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
一月 19, 2017 1:21:44 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["http-bio-8888"]
一月 19, 2017 1:21:44 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["ajp-bio-8009"]
一月 19, 2017 1:21:44 上午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-bio-8888"]
一月 19, 2017 1:21:44 上午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]
本人采用Eclipse编写也遇到了这个问题。现在修改后就出现数椐了。
怀疑可能是开发工具的问题。
修改如下:
(1)将控制层的路由注解掉,因此可以通过http://localhost:8080/seckill/list访问秒杀列表页
//@RequestMapping("/seckill")
(2)list方法的路由设置改为value而不是name
@RequestMapping(value="/list",method=RequestMethod.GET)
public String list(Model model){
。。。
model.addAttribute("list", list);
。。。
}
(3)注意list方法使用Model的方法是addAttribute("list", list);而不是addAllAttributes
从信息看不出有任何异常,看看spring-mvc是否配置没有问题
Java高并发秒杀API之web层
66085 学习 · 395 问题
相似问题