This content has been marked as final.
Show 2 replies
-
1. Re: UnsupportedClassVersionError in 1.5.1.GA
marcioendo Apr 23, 2006 7:17 PM (in response to tim5901)You need to run the XDoclet task with a Java 5.0 VM, otherwise it will give you this error.
If you must compile your project with Java 1.4 . You can either do two things:
- Switch your JRE libs in Eclipse to a 1.5 and run XDoclet. After it finishes, switch your JRE back to 1.4 and compile your project.
Or
- Download an older version of the xjavadoc-1.5-snapshotxxxxx.jar in Apache Ant so it is possible of running it with java 1.4. Can't remember where I found it exactly, but just google around a bit. -
2. Re: UnsupportedClassVersionError in 1.5.1.GA
tim5901 Apr 23, 2006 8:47 PM (in response to tim5901)yep, that was it. I changed the build to use the 1.5 jre and it worked.
Thanks!