I think I found the error, I include the wrong xjavadoc jar file in my maven repository. Sorry it is my mistake. Thanks for your help :P
Regards, Lillian On Thu, 2004-04-29 at 09:42, Lillian wrote: > Hi, > > I think there is an error in the xdoclet source code. I think you're wrong :-) > In > /core/src/xdoclet/DocletTask class, line 462. It has something like below: > new XDocletMain().start(getXJavaDoc()); > Where this getXJavaDoc() is not defined anywhere. Actually, it's defined in xjavadoc.ant.XJavadocTask (line 43), which DocletTask extends. > Thus when I call the > ejbdoclet goal from maven, It gives me noSuchMethod error. > > Does anyone have the same problem? How do I fix it? The method's been in there since XJavadoc 1.0.1, as used by XDoclet 1.2 beta 3. If you're getting a NoSuchMethod error, it sounds like it's not finding the XJavadoc classes. I'm not entirely sure it's needed (as I don't use Maven much myself), but have you defined a dependency on xjavadoc in your project.xml? Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
