4thline/cling — Issue #21: workbench standalong jar running failed
Author: jameswangcnln
Created: 2012-01-18 09:19:45+00:00
State: open

I cloned git source and built workbench. I got messages below when running standalong jar.

JarClassLoader: Warning: Null manifest from input stream associated with: lib/javax.inject-1.jar
JarClassLoader: Warning: javax/interceptor/InvocationContext.class in lib/ejb-api-3.0.jar is hidden by lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar (with different bytecode)
Jan 18, 2012 5:05:46 PM org.jboss.weld.bootstrap.WeldBootstrap
INFO: WELD-000900 1.1.1 (Final)
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.simontuffs.onejar.Boot.run(Boot.java:340)
at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.lang.RuntimeException: Error handling file /workbench/target/cling-workbench-2.0-SNAPSHOT-standalone.jar
at org.jboss.weld.environment.se.discovery.url.FileSystemURLHandler.handleArchiveByFile(FileSystemURLHandler.java:97)
at org.jboss.weld.environment.se.discovery.url.FileSystemURLHandler.handle(FileSystemURLHandler.java:68)
at org.jboss.weld.environment.se.discovery.url.URLScanner.scan(URLScanner.java:117)
at org.jboss.weld.environment.se.discovery.url.WeldSEUrlDeployment.(WeldSEUrlDeployment.java:42)
at org.jboss.weld.environment.se.Weld.createDeployment(Weld.java:128)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:81)
at org.fourthline.cling.workbench.Workbench.(Workbench.java:38)
... 6 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:127)
at java.util.zip.ZipFile.(ZipFile.java:144)
at org.jboss.weld.environment.se.discovery.url.FileSystemURLHandler.handleArchiveByFile(FileSystemURLHandler.java:85)
... 12 more