[ https://issues.apache.org/jira/browse/CAMEL-10887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880582#comment-15880582 ]
Mattias Andersson commented on CAMEL-10887: ------------------------------------------- Just to explain further what I mean. camel-core-2.18.2.jar has several dependencies (sl4j, jaxb-core,jax-impl) but it's only classes from caffeine that is part of the camel-core-2.18.2 jar-file? Is it by design that these classes are included and not a dependency? > pack200.exe is not work with camel 2.18.2 > ----------------------------------------- > > Key: CAMEL-10887 > URL: https://issues.apache.org/jira/browse/CAMEL-10887 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.18.2 > Reporter: Mattias Andersson > Priority: Minor > > we are packing camel-core-2.18.2 together using pack200.exe and get the > following error: > pack200.exe" -r camel-core-2.18.2.jar > Exception in thread "main" java.io.IOException: null ref > at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method) > at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:198) > at com.sun.java.util.jar.pack.NativeUnpack.run(NativeUnpack.java:247) > at > com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:138) > at com.sun.java.util.jar.pack.Driver.main(Driver.java:354) > The offending class in the jar-file seems to be: > org/apache/camel/com/github/benmanes/caffeine/cache/stats/StatsCounter > Should this class really be part of the jar-file (and other classes from > caffeine). We excluded the class when we pack and then it works!! > There is no problem using camel-core-2.17.x and pack200.exe -- This message was sent by Atlassian JIRA (v6.3.15#6346)