You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding the latest release of awscala to a brand-new project based on the scalatra/scalatra.g8 template as of scalatra/scalatra.g8@1319e37 , I get this error:
2018-03-06 19:40:55.296:INFO:oejs.Server:main: jetty-9.4.6.v20170531
2018-03-06 19:40:56.657:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=1080ms
2018-03-06 19:40:56.658:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@763d9750{/,file:///Users/colin/Source/Arcadia/MACK/submission-api/target/webapp/,UNAVAILABLE}{file:///Users/colin/Source/Arcadia/MACK/submission-api/target/webapp/}
java.lang.RuntimeException: Error scanning entry module-info.class from jar file:///Users/colin/Source/Arcadia/MACK/submission-api/target/webapp/WEB-INF/lib/joda-convert-2.0.jar
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:891)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
Caused by:
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:959)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:940)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:887)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:837)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
I got bit by this today. scalatra/sbt-scalatra#27 indicates that such has happened before.
When adding the latest release of awscala to a brand-new project based on the
scalatra/scalatra.g8
template as of scalatra/scalatra.g8@1319e37 , I get this error:This was a problem in Jetty that was fixed in 9.4.8 via jetty/jetty.project#1692.
I noticed that the template uses the latest
sbt-scalatra
.Noting the change made to resolve scalatra/sbt-scalatra#27, I see that xsbt-web-plugin is behind.
Dropping this snippet into
build.sbt
fixed the problem as a workaround.The text was updated successfully, but these errors were encountered: