I'm sort-of new to using XDoclet (and J2EE) myself with Struts, but I'll take a stab...
My guess is that your fileset for the 'ejbdoclet' task is including classes other than EJB classes and 'ejbdoclet' is complaining because it doesn't know how to process the doc tags. Generation of struts-related files is handled by the 'webdoclet' task (not 'ejbdoclet'). Try looking at the fileset's first, then read the XDoclet page for the webdoclet task (http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/web/WebDocletTask.html) If not that... anyone else? Bueler? -={ Kyle }=- --- Michael Labhard <[EMAIL PROTECTED]> wrote: > I am using lomboz in Eclipse. When I generate EJB bean classes the > build > fails with > > BUILD FAILED: > /home/mel/eclipse/workspace/Test2/MyBank/META-INF/build.xml:19: > Following error occured while executing this line > /home/mel/eclipse/workspace/Test2/MyBank/META-INF/xdoclet.xml:57: > Can't create > a strutsform element under ejbdoclet. Make sure the jar file > containing the > corresponding subtask class is on the classpath specified in the > <taskdef> > that defined {2}. > > I take it this means there is something missing from my classpath. > But what? > The classpath contains jboss-j2ee.jar. What else does it need? > Where does > one look to find out which jar is required for which task? Thanks. > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user