Dmitri Colebatch wrote:
I actually had the following in my bean:
* @ejb:bean name="name="subrotrack/SubroPerson" " type="CMP"
jndi-name="ejb/name="subrotrack/SubroPerson" " primkey-field="id"
but was taking stuff out in a vain hope of getting things working. The
above tag also generated the same error. Sorry for not paying attention
to what I was pasting in my email.
> The ejb:bean tag needs a type for entity beans... which I assume the bean
> is. That could be throwing it off... perhaps we need to improve the error
> message to report the parameter as well as the tag... then again, it might
> be something completely different....
>
> have a look at the account example, grab all the tags from that, and
> delete the ones you dont need, but if you check the docs
> (http://xdoclet.sourceforge.net/docs) you'll see the full list of options
> and their meanings...
>
> hope this helps
>
> cheers
> dim
>
>>[ejbdoclet] Generating Javadoc
>>[ejbdoclet] Javadoc execution
>>[ejbdoclet] Loading source file
>>/opt/subrotrack/src/java/com/ingenix/hisit/subrotrack/ejb/person/SubroPersonBean.java...
>>[ejbdoclet] Constructing Javadoc information...
>>[ejbdoclet] Running ejbdoclet failed:
>>[ejbdoclet] @ejb:bean class tag expected in class
>>com.ingenix.hisit.subrotrack.ejb.person.SubroPersonBean but not found.
>>
>>The following is the header from the bean:
>>
>>package com.ingenix.hisit.subrotrack.ejb.person;
>>
>>/**
>> * (c)2001 Ingenix, Inc.
>> *
>> * All Rights Reserved.
>> */
>>
>>import javax.ejb.CreateException;
>>import javax.ejb.EntityBean;
>>import javax.ejb.EntityContext;
>>import javax.ejb.EJBException;
>>import javax.ejb.RemoveException;
>>
>>/**
>> * This is an entity bean class using CMP representing the
>> * <code>subro_person</code> table in the <code>SubroTrack</code>
>> * database
>> *
>> * <ul>
>> * <li>
>> * </ul>
>> *
>> * XDoclet Tags
>> *
>> * @ejb:bean name="subrotrack/SubroPerson"
>> *
>> * @author Perry Hoekstra
>> *
>> * @version 1.0
>> */
--
Perry Hoekstra
E-Commerce Architect
Talent Software Services
[EMAIL PROTECTED]
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user