u012060033
空山新雨天气晚秋
2017-12-05 13:38

maven项目在tomcat上运行正常但是在jetty上运行一启动就报错

  • tomcat
  • maven
  • jetty

这是一启动就会报的错:
java.lang.NullPointerException
at org.eclipse.jetty.util.MultiReleaseJarFile.(MultiReleaseJarFile.java:92)
at org.eclise.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:926)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:890)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:164)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:551)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答