【发布时间】:2017-07-24 18:34:28
【问题描述】:
我正在使用码头 9.0.6、Java 1.7
我将 Cassandra 驱动程序从 Hecto 更改为 DataStax 驱动程序版本 3.2,现在当我尝试从 Maven mvn jetty:run 运行时,我得到以下信息
[INFO] web.xml file = file:/Users/scott.gardner/dev/synacor/synacor-service-be-atlas/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/scott.gardner/dev/synacor/synacor-service-be-atlas/src/main/webapp
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@1e1b061{/,file:/Users/scott.gardner/dev/synacor/synacor-service-be-atlas/src/main/webapp/,STARTING}{file:/Users/scott.gardner/dev/synacor/synacor-service-be-atlas/src/main/webapp/}
java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:1002)
at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:985)
at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:944)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:901)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:874)
at org.eclipse.jetty.annotations.AnnotationConfiguration.parseWebInfLib(AnnotationConfiguration.java:488)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:199)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:464)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1317)
这看起来类似于 2013 年左右从 icu4j 中发生的错误,但未出现在依赖项中。我不知道从哪里看这一点。
【问题讨论】:
-
你可以看mkyong.com/maven/…这个链接