opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@avalon.apache.org 11 November 2004 • 6:39AM -0500

TypeUnknownException?
by ixxus nexxus

REPLY TO AUTHOR
 
REPLY TO GROUP






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:Unable 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

Related Messages

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