on 09-19-2004 1:00 PM
Hi,
I am trying to build an iview using httpclient.jar
available for download from
http://jakarta.apache.org/commons/httpclient. I have
added this jar file to eclipse plugins, included it
in classpath of the eclipse project, compiled a code
and exported a project as a par file, uploaded this
par file into the portal and received an error
java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Credentials when tried
to test it at the portal. What am I missing? Should I
add/mention this jar file somewhere on the portal's
side?
Thank you,
Yuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you add a jar file to the classpath to the eclipse project it is not included in the par file generated by the plugin.
You need to place it in a folder (portal-inf/lib ?). One way to check which folder to place it in, is to look at the par file in winzip and see where the jar file of the component is placed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.