opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@avalon.apache.org 11 November 2004 • 3:33PM -0500

SV: TypeUnknownException?
by pnb

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi,
could you please post the whole of your command line output so it is
possible to see which .jars have been scanned for .xinfo files etc?

/peter

> -----Ursprungligt meddelande-----
> Från: ixxus nexxus [mailto:ixxusnexxus@yaho...]
> Skickat: den 10 november 2004 23:39
> Till: users@aval...
> Ämne: TypeUnknownException?
>
>
> Hello,
>  
> I have an interface a.b.c.SomeService which defines a
> service. Now, I would like to replace the implementation in
> a.b.c.SomeServiceImpl with my own implementation in
> x.y.z.SomeServiceImpl.
>  
> In my impl, I have the javadoc like this:
>  
> @avalon.component version="0.1" name="someService",
> lifestyle=singleton"
> @avalon.service type="a.b.c.SomeService"
>  
> which is exactly the same as in the original implementation.
> I see the xinfo for my class is generated and is in the jar
> file. But when I try to run the code, I see the exception
>  
> org.apache.avalon.composition.model.TypeUnknownException:Unabl
> e to locate a component type descriptor for the component
> class x.y.z.SomeServiceImpl
>  
> I am putting my implementation into the same jar as the
> original implementation. Is that ok? Does somebody know what
> I could be doing wrong? I am new to merlin.
>  
>  
> Thank you.
>
>
> ---------------------------------
> Do you Yahoo!?
>  Check out the new Yahoo! Front Page. www.yahoo.com
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.