1 Reply Latest reply on Mar 25, 2005 6:20 PM by Alex Molochnikov

    JBoss plugin: XDoclet cannot run

    Alex Molochnikov Newbie

      I am facing a problem that may straddle different newsgroups, so please bear with me if this is not the right NG.

      I am trying to run XDoclet from the JBoss plugin in Eclipse, and when I add a "sunone" or "weblogic" to the XDoclet configuration, it returns the following error:

      BUILD FAILED: C:\Program Files\Eclipse3\workspace\EJBChapter6Pricing\xdoclet-build.xml:36: Can't create a sunone element under ejbdoclet. Make sure the jar file containing the corresponding subtask class is on the classpath specified in the <taskdef> that defined {2}.

      Could anyone tell me what JAR I am missing, where to get it from, and how to add it to the plugin classpath?

      Thank you for any help.

      Alex Molochnikov
      Gestalt Corporation

        • 1. Re: JBoss plugin: XDoclet cannot run
          Alex Molochnikov Newbie

          Never mind... I figured it out.
          In case someone else runs into the same problem, here is an example for Sun ONE XDoclet plugin:

          1. download XDoclet distribution from their site
          2. unpack the zipped file and extract file xdoclet-sun-module-1.2.2.jar
          3. copy it into the JBoss plugins directory (e.g. org.jboss.ide.eclipse.xdoclet.core_1.4.1.e31-jre15)
          4. restart Eclipse