Re: [Md4j-user] error(again)
Status: Beta
Brought to you by:
mbatsis
From: Manos B. <man...@ge...> - 2007-01-24 14:28:58
|
Quoting Konstantinos Papakonstantinou <kpa...@ma...>: > in my pc the JAVA_HOME,classpath,path etc are set to j2sdk1.4.2 (jre > 1.4.2_10) > yesterday i updated the project and then i builded it using maven in > order to get the md4j-0.1.jar > i used the jar (as you describe in ant-how-to file) to create the ant > target in the build file and > then when i'm trying to run the target i'm getting the error: > > *java.lang.UnsupportedClassVersionError: > com/geekologue/md4j/tools/ant/HibernateMappingProcessorTask > (Unsupported > major.minor version 49.0 That probably means the class has ben compiled for Java 5 (although build.properties says 1.4?). What version of Maven are you using? Right now the project has been ported to M2. I havent removed the old POM (project.xml) yet, but the maven 1 build should be broken. Have you tried the ready-to use jar from the SF project page? Try that one; in the meantime i'll finish up with the maven 2 port and you'll be able to build on java 1.4. hth, Manos |