Java Question Problem with Javadoc

aedwall

Active Member
Licensed User
Longtime User
Does anyone know what this might mean when I run Javadoc on my new library:

Loading source files for package anywheresoftware.b4a.sample1...
Constructing Javadoc information...
[-doclet, BADoclet]
[-docletpath, C:\Program Files\Basic4android\BADoclet\]
[-sourcepath, C:\Program Files\eclipse\Workspace\SWE_Lib\src]
[-classpath, C:\Android_SDK\platforms\android-8\android.jar;C:\Program Files\Basic4android\Libraries\Core.jar;C:\Program Files\Basic4android\Libraries\B4AShared.jar]
[-public]
[-b4atarget, C:\Program Files\Basic4android\Libraries_added\SWE_Lib2.xml]
starting....
Working with class: anywheresoftware.b4a.sample1.TransitCalculator
Working with class: anywheresoftware.b4a.sample1.TCPlanetPlanet
java.lang.RuntimeException: Only one version is allowed.
at BADoclet.writeClass(BADoclet.java:65)
at BADoclet.start(BADoclet.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)

What do I fix? Thank you.

Update:
I removed every instance of @Version in all .java files except for one and this seemed to fix it.
 
Last edited:
Top