XDoclet UnsupportedClassVersionError MyEclipse Archived > Bugs This topic has 5 replies, 3 voices, and was last updated 19 years, 8 months ago by Greg. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts September 1, 2005 at 3:25 am #236318 Reply ErezMember I’ve just installed the 4.0GA and opened my workspace with it and when I try to run the XDoclet I get the following error: BUILD FAILED java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported major.minor version 49.0) what to do? Thanks, Erez September 1, 2005 at 8:18 am #236349 Reply Riyad KallaMember java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported major.minor version 49.0) This usually means you are trying to run a class compiled with a compiler that created bytecode that the current VM doesn’t understand. What JDK are you using to run Eclipse? What JDK is the default in your System PATH (typing java -version from your console) September 1, 2005 at 10:20 am #236370 Reply GregMember If you are using java5 you need to configure your xdoclet build settings to use java5 support. 1. Go to MyEclipse-XDoclet project properties page and then go to the “Build” tab. 2. Select java5 under the java language support. 3. Press OK THen you should be able to re-run xdoclet and it should work. September 1, 2005 at 2:25 pm #236408 Reply ErezMember You are correct. I am using Java5 outside to run Eclipse but my project compiles to JDK 1.4.2. Still I looked under the xdoclet/build and it was already set to JDK5. I ran it again just to make sure and it still give me this error. Erez September 1, 2005 at 2:34 pm #236409 Reply ErezMember I switched Xdoclet/build it to use JDK 1.4.2 language support and it all worked fine. Thanks, Erez September 1, 2005 at 2:51 pm #236412 Reply GregMember Ok, were glad everything is working now. Now you could help us, by heading over to the JDJ Reader’s chioce awards and giving us your vote. We really appreciate your support. http://jdj.sys-con.com/general/readerschoice.htm Author Posts Viewing 6 posts - 1 through 6 (of 6 total) Reply To: XDoclet UnsupportedClassVersionError You must be logged in to post in the forum log in