Jeremy Stein - Brain
« SQL Server JDBC | Java Timing Class » |
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ReferenceMap
I upgraded my Maven 2 pom.xml to use Tomahawk 1.1.3. I got this error after deploying with MyEclipse:
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ReferenceMap
This is because I still have common-collections 2.1. Tomahawk 1.1.3 needs 3.1. The eclipse plugin for Maven 2 had incorrectly created the .classpath. I fixed it by removing a dependency that I didn’t need anyhow (common-dbcp) which was forcing the wrong version on common-collections. I might have also been able to fix it with an exclude; I didn’t try.
No Comments
Be the first to comment!
« SQL Server JDBC | Java Timing Class » |
Leave a Reply