on ‎2016 May 28 11:29 AM
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
Request clarification before answering.
Hi Harish,
as i see this error happens because some classes are already part of one other imported archive in the same namespace.
Please check once more what libraries and versions you are using. You might have the problem what is described here:
--> "The dependency on commons collections (which has become problematic now that there are two incompatible series of commons collections releases) has been factored into a separate optional sub-component plus a small number of stable and mature org.apache.commons.collections packaged classes (which are distributed with the BeanUtils core). This arrangement means that the BeanUtils core sub-component (which is the primary dependency for most downsteam applications) can now be safely included on the same classpath as commons collections 2.x, 3.x or indeed neither. "
I think you will need to get the correct versions which can co-exists together.
Best Regards,
Viktor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.