cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Credentials

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

detlev_beutner
Active Contributor
0 Kudos

Hi Yuri,

for the folder to place the used jar in, see

Hope it helps

Detlev

Former Member
0 Kudos

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.