Just sharing some of my inconsequential lunch conversations with you... RSS  

Thursday, November 19, 2009

J2EE error: msg=bad version number in .class file

I’ve been loosing a lot of time with the dreadful:

java.lang.ClassNotFoundException: Unexpected error during load of: <somenamespace.someclass>, msg=Bad version number in .class file



After some googling I’ve soon discovered that this problem was related to compiling with a java version and executing with a different one. And finally our java Gurus (thanks Severino) manage to save the day:



image

No comments:

Development Catharsis :: Copyright 2006 Mário Romano