{"id":74,"date":"2006-11-29T15:46:15","date_gmt":"2006-11-29T20:46:15","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/javalangnoclassdeffounderror-orgapachecommonscollectionsmapreferencemap\/"},"modified":"2011-03-10T10:57:30","modified_gmt":"2011-03-10T15:57:30","slug":"javalangnoclassdeffounderror-orgapachecommonscollectionsmapreferencemap","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/javalangnoclassdeffounderror-orgapachecommonscollectionsmapreferencemap\/","title":{"rendered":"java.lang.NoClassDefFoundError: org\/apache\/commons\/collections\/map\/ReferenceMap"},"content":{"rendered":"<p>I upgraded my Maven 2 pom.xml to use Tomahawk 1.1.3.  I got this error after deploying with MyEclipse:<br \/>\njava.lang.NoClassDefFoundError: org\/apache\/commons\/collections\/map\/ReferenceMap<\/p>\n<p>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&#8217;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&#8217;t try.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t need anyhow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}