求解 项目能运行 但是WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext……

2016-11-07 11:19:00.363:INFO:oejs.Server:jetty-8.1.10.v20130312

2016-11-07 11:19:01.880:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{null,file:/D:/Workspaces/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/union/},D:/Workspaces/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/union

java.lang.IllegalStateException: Null contextPath

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:686)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)

at org.eclipse.jetty.server.Server.doStart(Server.java:280)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

at org.eclipse.wst.server.preview.internal.PreviewStarter.run(PreviewStarter.java:72)

at org.eclipse.wst.server.preview.internal.PreviewStarter.main(PreviewStarter.java:29)

2016-11-07 11:19:01.914:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080


评论区

zempty

2016-11-07 11:56

你是不是传了空的contextpath,如果是根,传/,不要穿“”

JFinal

2016-11-07 12:22

异常信息中全程没有 "jfinal" 出现,是怎么启动的

热门反馈

扫码入社