facebook

NoSuchMethodError in Xdoclet (EJB)

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229809 Reply

    mike.wilcox
    Member

    I set up a small project to try running Xdoclet to generate the various files for an entity EJB.

    Worked absolutely fine – this is 3.8.4+QF2 on Eclipse 3.0,1 Linux.

    Added an extra bean for it to work on. All fine still

    Added a few more beans, with more arguments. Started to get the following error:

    
    N10004:
    [ejbdoclet] - Running <remoteinterface/>
    [ejbdoclet] java.lang.NoSuchMethodError: xjavadoc.XJavaDoc.getSourceClasses(ZZ)Ljava/util/Collection;
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:657)
    [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:594)
    [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:486)
    [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48)
    [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:462)
    [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
    [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
    [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
    [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [ejbdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    

    Dropped back to having a single bean (the original), which used to work. Still getting the stacktrace.

    It looks like an internal error in xdoclet, from a quick perusal of the code. Any ideas what could be causing this? Or a workaround?

    I’ve tried dropping xdoclet from the project; adding it back; restarting Eclipse. No such luck. Any other ideas?

    Cheers,

    Mike

    #229810

    mike.wilcox
    Member

    (Sorry – this was meant to be in the EJB forum. How did it end up here?)

    Anyway – I just tried creating a new project from scratch, then copied my on bean file into it. Works perfectly again, while the old project still fails.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NoSuchMethodError in Xdoclet (EJB)

You must be logged in to post in the forum log in