Use ejb:interface remote-class="blabla"/local-class="blabla" class level tag to specify your intf class for xdoclet. Xdoclet needs it because it should specify that class in ejb-jar.xml. Use ejb:pk for pk and so on.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of Ingo Bruell > Sent: Friday, February 22, 2002 2:07 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Probs with using interfaces in Bean > > Hi xdoclet-user, > > i have tried to use a selfmade interface within a bean, but XDoclet > abborts generating with the following error: > > --- snip --- > > [ejbdoclet] Running <homeInterface/> > [ejbdoclet] Running <localHomeInterface/> > [ejbdoclet] Running <remoteInterface/> > [ejbdoclet] Running <localInterface/> > [ejbdoclet] Running <session/> > [ejbdoclet] Running <entitypk/> > [ejbdoclet] Generating PK class for > 'de.swms.objectdb.ejb.MeterReadingBean'. > [ejbdoclet] Running XDoclet failed: > [ejbdoclet] [ejbdoclet] <<Cannot have null class when extracting tag > value.>> > javadoc: In doclet class xdoclet.DocletTask$DocletMain, method start has > thrown > an exception java.lang.reflect.InvocationTargetException > [ejbdoclet] 1 error > [ejbdoclet] 401 warnings > > --- snap --- > > It looks like XDoclet did not find the interface class. Is there a > special place in which those files should be placed or some > configurations ? > > so long > > > Ingo Bruell > > --- > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > <ICQ# 40377720> > Oldenburg PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 > 169E E5FC > Germany PGP-Public-Key available at pgpkeys.mit.edu > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
