google-code-export / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
1 stars 0 forks source link

Problem exporting Javadoc #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Export Javadoc from Eclipse
2.
3.

What is the expected output? What do you see instead?
The output on the console is:

cannot access com.googlecode.objectify.Objectify
bad class file: 
[path]/objectify-2.2/objectify-2.2.jar(com/googlecode/objectify/Objectify.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the 
classpath.
import com.googlecode.objectify.Objectify;

What version of the product are you using? On what operating system?
Mac OS X 10.5.8
Objectify 2.2

Please provide any additional information below.
Everything runs fine during dev/testing, but when I try to export the Javadoc 
it barfs up that 
error.

Original issue reported on code.google.com by maceache...@gmail.com on 4 May 2010 at 2:56

GoogleCodeExporter commented 9 years ago
I'm a bit confused by what you're trying to do.  Javadocs are included with the 
zip distribution.  If you want to 
generate commented javadocs, you can check out the Objectify source code and 
either run "ant javadoc" or do a 
File->Export->Javadoc on the project.

You can't generate proper, commented javadocs from the jar file.

Original comment by lhori...@gmail.com on 4 May 2010 at 3:50

GoogleCodeExporter commented 9 years ago
Sorry. You're right, I was unclear.

I'm trying to export the javadoc of my own project, but it throws the error 
related to Objectify when I try to do so.

Original comment by maceache...@gmail.com on 4 May 2010 at 4:11

GoogleCodeExporter commented 9 years ago
It looks like a JDK/JRE version issue. The Objectify class is compiled by Java 6
(Version 50.0) but you're attempting to read it with Java 5 (Version 49.0). 
Which JRE
are you running Eclipse with?

Original comment by leve...@gmail.com on 4 May 2010 at 4:38

GoogleCodeExporter commented 9 years ago
Ahh yes. I was using Java 6 for my development, but javadocs was still using 
1.5. Fixed now. Thanks a lot!

Original comment by maceache...@gmail.com on 4 May 2010 at 5:34

GoogleCodeExporter commented 9 years ago
Sounds like this can be closed

Original comment by lhori...@gmail.com on 30 Jun 2010 at 1:55