ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: XDoclet error
Date Thu, 12 Dec 2002 10:40:19 GMT
It seems you're using an older version of XDoclet.  I'd recommend you 
upgrade to the latest 1.2 build (even if its a beta) - its much much better.

As for the error... doesn't this mean you've got different versions of 
Sun's javadoc in your classpath than what XDoclet expects?  Maybe you're 
using JDK 1.4?  Either way, the new XDoclet does not use Sun's javadoc 
API, but rather its own xjavadoc parser.

	Erik


Michael Santos wrote:
> Hi again,
> 
> I am trying to run a target in a build file that uses the ejbdoclet task
> from XDoclet. No matter what I do - change the classpath, JDK version
> etc. -, I always get:
> 
> [ejbdoclet] Generating Javadoc
> [ejbdoclet] Javadoc execution
> [ejbdoclet] java.lang.VerifyError: (class: xdoclet/DocletTask$DocletMain,
> method
> : start signature: (Lcom/sun/javadoc/RootDoc;)Z) Incompatible object
> argument fo
> r function call
> [ejbdoclet]     at java.lang.Class.getDeclaredMethods0(Native Method)
> [ejbdoclet]     at
> java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
> [ejbdoclet]     at java.lang.Class.privateGetPublicMethods(Class.java:1655)
> [ejbdoclet]     at java.lang.Class.getMethod0(Class.java:1744)
> [ejbdoclet]     at java.lang.Class.getMethod(Class.java:963)
> [ejbdoclet]     at
> com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
> :171)
> [ejbdoclet]     at
> com.sun.tools.javadoc.DocletInvoker.validOptions(DocletInvoke
> r.java:151)
> [ejbdoclet]     at
> com.sun.tools.javadoc.Start.parseAndExecute(Start.java:287)
> [ejbdoclet]     at com.sun.tools.javadoc.Start.begin(Start.java:120)
> [ejbdoclet]     at com.sun.tools.javadoc.Main.execute(Main.java:41)
> [ejbdoclet]     at com.sun.tools.javadoc.Main.main(Main.java:31)
> [ejbdoclet] javadoc: fatal error
> [ejbdoclet] 1 error
> 
> I have used XDoclet before and I have never seen this error. I know what a
> VerifyError means, but why is it happening? What should I do to fix it?
> 
> Tkx,
> --
> Michael Nascimento Santos
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Programmer for the Java 2 Platform 1.4
> Sun Certified Web Component Developer for J2EE
> Moderador SouJava - www.soujava.org.br
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message