I try to import the jersey package com/sun/jersey/api/client/Client
. First I added the jersey *.jar
s into my resource folder, like jbm suggested. The jars got added the my *.urcap
file in the /impl
folder. I could install the urcap successfully but when using the urcap uses the code with the jersey client I get the error java.lang.NoClassDefFoundError: com/sun/jersey/api/client/Client
.
Next I tried the maven-assembly-plugin
, like described in my previous post, but this does not work either. The normal urcap installation works fine, but when the code with the jersey client needs to be executed the same error occurs java.lang.NoClassDefFoundError: com/sun/jersey/api/client/Client
in the terminal.
In my urcap I also use pictures and the package javax.imageio.ImageIO
is imported. I am wondering why this package is not throwing any errors because I did not specify it in the pom and this package is not included in the ursim simulator /ursim/GUI/bundle
. So where are the packages hidden, that ursim is using?
Am I doing anything wrong? Here is my pom:
pom.xml.zip (2.1 KB)