Home Tutorialhelp Comment FIX: java.lang.NoSuchFieldError: EMPTY_ORDERED_ITE

 
 

Comment

Charles
FIX: java.lang.NoSuchFieldError: EMPTY_ORDERED_ITE,
July 3, 2008 at 6:26 PM

After 4 comments and no solution I thought I'd help my fellow Java nerds out.

The exception is caused by an incorrect version of the commons collection library.

The library I used to correct the exception is "commons-collections-3.2.jar", which you can get at http://commons.apache.org/downloads/download_collections.cgi.

Also to note, and as probably expected, you will need the library for the version of mysql you are using.

The version of mysql I use is 5.0, and the library I use is "mysql-connector-java-5.0.6-bin.jar", which you can get the latest driver at http://dev.mysql.com/downloads/connector/j/5.1.html.

Simply put the database library in one of locations on the server's classpath or in the application lib folder.

Enjoy!
View All Comments
Related Tutorial and Articles

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.