The @ejb tag looks ok. Although "@ejb:bean" works, I believe that the syntax is moving to a "." between the tag and the attribute (i.e. "@ejb.bean").
Also, is your ServiceBean declared as an abstract class, and does it implement javax.ejb.SessionBean?
What does your ServiceBean class look like?
At 14:48 03/06/09 -0700, you wrote:
Hi all, I'm working on a session bean and I'm trying to generate with Xdoclet. I'm getting the following error while generating my ejb-jar.xml:
[ejbdoclet] org.xml.sax.SAXParseException: The content of element type "enterpri se-beans" is incomplete, it must match "(session|entity|message-driven)+"
I have the following "header" in my session bean .java file:
* @ejb:bean name="ServiceBean" * type="Stateless" * jndi-name="Service"
As for my build file, I have the following inside my <ejbdoclet> <filset> tag:
<fileset dir="${myApplication.java.dir}"> <include name="ServiceBean.java" /> </fileset>
Just to be sure if my "dir" was correct I did an echo on it and it was fine.
I have no clue as to what could be wrong. I would truly appreciate any help.
Regards.
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
