TypeUnknownException?
ixxus nexxus <[email protected]> Wed, 10 Nov 2004 14:39:11 -0800 (PST)
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <[email protected]> |
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