sypro子项目 sy-web-demo 执行 mvn jetty:run 异常

我依然飞 发布于 2015/03/05 09:39
阅读 1K+
收藏 0

@sphsyv 你好,想跟你请教个问题:我在运行sypro子项目的时候,出现了异常,有没有什么好的解决办法。

java.lang.RuntimeException: Error scanning entry com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.cla
ss from jar file:///C:/Users/Administrator/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar

详细信息如下:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] sy-parent .......................................... SUCCESS [01:05 min]
[INFO] sy-base ............................................ SUCCESS [  6.802 s]
[INFO] sy-web-demo ........................................ SUCCESS [  8.587 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:21 min
[INFO] Finished at: 2015-03-05T08:59:27+08:00
[INFO] Final Memory: 26M/201M
[INFO] ------------------------------------------------------------------------
C:\Users\Administrator\git\sypro>cd sy-web-demo

C:\Users\Administrator\git\sypro\sy-web-demo>mvn jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for sy.web.demo:sy-web-d
emo:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missi
ng. @ sy.web.demo:sy-web-demo:[unknown-version], C:\Users\Administrator\git\sypro\sy-web-demo\pom.xm
l, line 41, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your
 build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed pro
jects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sy-web-demo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.3.0.M1:run (default-cli) > test-compile @ sy-web-demo >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sy-web-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ sy-web-demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sy-web-demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Administrator\git\sypro\sy-web-demo\src\test\res
ources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ sy-web-demo ---
[INFO] No sources to compile
[INFO]
[INFO] <<< jetty-maven-plugin:9.3.0.M1:run (default-cli) < test-compile @ sy-web-demo <<<
[INFO]
[INFO] --- jetty-maven-plugin:9.3.0.M1:run (default-cli) @ sy-web-demo ---
2015-03-05 09:01:03.874:INFO::main: Logging initialized @5926ms
[INFO] Configuring Jetty for project: sy-web-demo
[INFO] webAppSourceDirectory not set. Trying src\main\webapp
[INFO] Reload Mechanic: manual
[INFO] Classes = C:\Users\Administrator\git\sypro\sy-web-demo\target\classes
[INFO] Context path = /sypro
[INFO] Tmp directory = C:\Users\Administrator\git\sypro\sy-web-demo\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = file:///C:/Users/Administrator/git/sypro/sy-web-demo/src/main/webapp/WEB-INF/w
eb.xml
[INFO] Webapp directory = C:\Users\Administrator\git\sypro\sy-web-demo\src\main\webapp
2015-03-05 09:01:04.113:INFO:oejs.Server:main: jetty-9.3.0.M1
2015-03-05 09:01:07.192:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.m.p.JettyWebAp
pContext@526cbe2d{/sypro,file:///C:/Users/Administrator/git/sypro/sy-web-demo/src/main/webapp/,START
ING}{file:///C:/Users/Administrator/git/sypro/sy-web-demo/src/main/webapp/}
java.lang.RuntimeException: Error scanning entry com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.cla
ss from jar file:///C:/Users/Administrator/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
        at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:913)
        at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:831)
        at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfigura
tion.java:162)
        at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:
547)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)
        at java.lang.Thread.run(Thread.java:744)
Caused by:
java.lang.ArrayIndexOutOfBoundsException: 48188
        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:974)
        at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry(AnnotationParser.java:956)
        at org.eclipse.jetty.annotations.AnnotationParser.parseJar(AnnotationParser.java:909)
        at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:831)
        at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfigura
tion.java:162)
        at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:
547)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)
        at java.lang.Thread.run(Thread.java:744)
2015-03-05 09:01:07.230:INFO:oejs.ServerConnector:main: Started ServerConnector@1de8844d{HTTP/1.1,[h
ttp/1.1]}{0.0.0.0:9999}
2015-03-05 09:01:07.231:INFO:oejs.Server:main: Started @9284ms
[INFO] Started Jetty Server
[WARNING] scanIntervalSeconds is set to 3 but will be IGNORED due to manual reloading
[INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.






























加载中
0
张恒强
张恒强
 运行demo是不是需要一些基础数据
返回顶部
顶部