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

搭建springMVC时使用在maven中启动jetty时报错,就大神解答

搭建springMVC时使用在maven中启动jetty时报错,就大神解答

慕粉1607521109 2018-03-03 22:59:28
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@340b7ef6{/,file:/Users/william/eclipse-workspace/spring-mvc-study/src/main/webapp/,STARTING}{file:/Users/william/eclipse-workspace/spring-mvc-study/src/main/webapp/}org.eclipse.jetty.util.MultiException: Multiple exceptions    at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations (AnnotationConfiguration.java:529)    at org.eclipse.jetty.annotations.AnnotationConfiguration.configure (AnnotationConfiguration.java:440)    at org.eclipse.jetty.webapp.WebAppContext.configure (WebAppContext.java:471)    at org.eclipse.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1329)    at org.eclipse.jetty.server.handler.ContextHandler.doStart (ContextHandler.java:741)    at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:497)    at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart (JettyWebAppContext.java:365)    at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)    at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132)    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114)    at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61)    at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:163)    at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)    at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132)    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114)    at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61)    at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)    at org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132)    at org.eclipse.jetty.server.Server.start (Server.java:380)    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114)    at org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61)    at org.eclipse.jetty.server.Server.doStart (Server.java:347)    at org.eclipse.jetty.maven.plugin.JettyServer.doStart (JettyServer.java:76)    at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68)    at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:543)    at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:360)    at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute (JettyRunMojo.java:167)    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke (Method.java:498)    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
查看完整描述

2 回答

?
非学霸

TA贡献9条经验 获得超0个赞

检查一下,是不是某个地方引用service或者其他的Java文件时,没有加注解。

查看完整回答
反对 回复 2018-03-17
?
慕工程7595538

TA贡献1条经验 获得超0个赞

springcontextsupport这个jar出现问题

查看完整回答
反对 回复 2018-03-16
  • 2 回答
  • 0 关注
  • 2285 浏览

添加回答

举报

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