sbt / sbt-onejar

Packages your project using One-JAR™
MIT License
268 stars 45 forks source link

RuntimeFailure #27

Open Fuzion24 opened 10 years ago

Fuzion24 commented 10 years ago
java.lang.IllegalArgumentException: URI is not hierarchical
    at java.io.File.<init>(File.java:418)
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.simontuffs.onejar.Boot.run(Boot.java:340)
    at com.simontuffs.onejar.Boot.main(Boot.java:166)
Caused by: java.lang.ExceptionInInitializerError

This runs fine when being executed by sbt run

seyfer commented 9 years ago

:+1: how to resolve it ? i want to read file from packed jar inside one jar