无法在Tomcat上部署Spring

时间:2016-05-18 10:05:37

标签: java spring tomcat

今天,当我在Eclipse上编译一个Spring项目时,我遇到了类似下面的错误。我没有在eclipse上更改任何windows变量或环境变量。

...
May 18, 2016 4:56:20 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error during ServletContainerInitializer processing
javax.servlet.ServletException: Not running on Jetty, JSR-356 support unavailable
    at org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer.onStartup(WebSocketServerContainerInitializer.java:146)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

May 18, 2016 4:56:20 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/api] startup failed due to previous errors
May 18, 2016 4:56:20 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
May 18, 2016 4:56:20 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
May 18, 2016 4:56:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4673 ms

请帮帮我... 谢谢

0 个答案:

没有答案