Hi,

change it to:

import javax.ejb.CreateException;
import javax.ejb.SessionBean;   
import javax.ejb.SessionContext;   
import javax.naming.InitialContext; 
import javax.naming.NamingException;

/**
 * @ejb:bean 
 *   type="statelessSession"
 *   name="TestBeanGen"
 *
 */
public class TestBeanGen implements SessionBean {

and that should work

cheeers
dim

On Wed, 12 Dec 2001, Ajay Kerwell wrote:

> 
> Sorry for the silly question - have barely started to play with XDoclet.
> 
> I get this error : 
> 
> [ejbdoclet] Javadoc execution
> [ejbdoclet] Loading source file E:\XDoclet\test\src\TestBean.java...
> [ejbdoclet] Constructing Javadoc information...
> [ejbdoclet] Running XDoclet failed:
> [ejbdoclet] @ejb:bean class tag expected in class TestBeanGen but not found.
> 
> but have this in my ejb :
> 
> /**
>  * @ejb:bean  
>  *   type="statelessSession"
>  *   name="TestBeanGen"
>  *
>  */
> 
> import javax.ejb.CreateException;
> import javax.ejb.SessionBean;
> import javax.ejb.SessionContext;
> import javax.naming.InitialContext;
> import javax.naming.NamingException;
> 
> public class TestBeanGen implements SessionBean {
> 
> .........
> 
> shall appreciate any feedback..
> 
> thanks,
> 
> ajay
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctionsfor all of your holiday gifts!


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to