cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError while using Java Mapping

harish_babu5
Participant
0 Kudos

Hi all

I am facing this error when I run my mapping.

This is the mapping I am using mentioned in this thread.

details: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ListOrderedMap: org/apache/commons/collections/map/ListOrderedMap.class

However when I try to include this jar file, I get this error. I attached the screen shot for my error

I have included these jar files like org.apache.commons.beanutils, org-apache-commons-logging, xom, json-lib, ezmorph-1.0, apache-commons-lang in the imported archives along with the jar of my Java mapping

Any idea how this can be solved?

Regards

Harish Babu

View Entire Topic
former_member182412
Active Contributor
0 Kudos

Hi Harish,

Open the beanutils.jar file using winrar and delete the collections package from the jar and reimport into repository.

I able to import both jars into repository after done the above step.

Regards,

Praveen.

harish_babu5
Participant
0 Kudos

HI Praveen

I am able to see only beanutils inside the jar!

I guess I downloaded the different versions.

Can you please give me the versions or exact names of these four jar files that you are using. I will also download exactly them and it should then work for me too

Regards

Harish

former_member182412
Active Contributor
0 Kudos

Hi Harish,

I used below versions on my side.

Regards,

Praveen.

harish_babu5
Participant
0 Kudos

HI Praveen

I am able to remove the files and add all the jar files to ESR.

Thanks for the help

Regards

Harish