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

后端 未结 3 2023
悲&欢浪女
悲&欢浪女 2021-01-13 22:48

Really newbie in java, Spanish-speaker, so, ill do my best for you to understand me :). I made a program which manages a mysql database for storing clientes, information abo

相关标签:
3条回答
  • 2021-01-13 23:06

    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!! :)

    0 讨论(0)
  • 2021-01-13 23:12

    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.

    0 讨论(0)
  • 2021-01-13 23:29

    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

    0 讨论(0)
提交回复
热议问题