You jboss call inside ejbdoclet should start like this: '<jboss version="4.0"'
You seem to have 2.4 there, as the exception says.



Miriam Senovilla wrote:

Hi!!

I'm trying to generate an Entity Bean with Xdoclet. With Xdoclet 1.2.2 and Jboss 4.0.1, I have this exception when trying to run Xdoclet:

*Code:*

--- Nested Exception ---
[ejbdoclet] xdoclet.XDocletException: Unknown jboss version number for cmp2 2.4 


I put "4.0" version on the "Standard EJB"->"jboss" properties, and my Xdoclet EJB is like that (it's a simple example):
*Code:*


/* @ejb.bean name = "SimpleBean"
* type = "CMP"
* cmp-version = "2.x"
* display-name = "SimpleBean"
* description = "SimpleBean EJB"
* view-type = "both"
* jndi-name = "ejb/SimpleBeanHome"
* local-jndi-name = "ejb/SimpleBeanLocalHome"
* primkey-field = "id" * @ejb.persistence table-name = "tsimplebean" * @jboss.persistence table-name = "tsimplebean"
*
* @ejb:util
* generate="physical"




What is wrong? I've to use 3.2 version?




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to