Hi all,

I have just gone through the process of manually installing the maven-xdoclet v1.2.3 plugin, and have run into some basic problems and I'm struggling to find any docs that describe in any sort of detail what I should be doing :(

The end goal is to run the xdoclet:ejbdoclet goal before a compile. When I do, maven bombs out with the following message:

--- Nested Exception ---
Make sure the jar file containing the javax.ejb.EntityBean class is on the classpath specified in the <taskdef> that defined ejbdoclet. These classes are needed in order to generate correct output.
        at xdoclet.DocletTask.checkClass(DocletTask.java:513)
at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:83)
        at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)
        at org.apache.tools.ant.Task.perform(Task.java:341)

I am obviously missing a jar file - but here I am stuck. Which jar file? In theory, maven should handle dependancies for me, which it isn't for some reason. This wouldn't be a problem if it was clear what jar it was looking for.

I tried to check manually at the http://java.sun.com site to try and see what jars are available to be downloaded for J2EE, but the download section for J2EE is now incomprehensible - the only option seems to be to download the full J2EE application server, when all I need is the dependent jars.

I am at a complete loss as to where to get the dependent jars from. Does anybody know what they are called?

Sorry if this is a stupid question, this is the first time I've tried to build an EJB, and I'm lost :(

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to