java.lang.NoClassDefFoundError: org/apache/commons/collections/ReferenceMap

☆樱花仙子☆ 提交于 2019-12-01 06:24:02

Well, problem solved! I just had to downgrade collections to 3.2.1, and that worked, well.. partially, because i kept having errors about other classes (joda-time, commons-digester and javax-servlet). And in some cases, downloading latest version didnt work, just downloading a previous one. So, my report came flawless after that. Thank you very much for your help!! :)

The better trick is to get the classes that are mentioned as missing. In here the missing class is org/apache/commons/collections/ReferenceMap

Then google for the jar file and download the newest stable verion and check if the jar file contains the missing class. Once you find the correct jar file, add it to the project.

I downloaded a different .jar file for common collection and it resolved the issue. You can download it here : http://www.java2s.com/Code/Jar/o/Downloadorgapachecommonscollectionsjar.htm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!