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.


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
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

Reply via email to