This usually happens when either:

- the jar cannot be found on the class-path
- the descriptor doesn't define the module 'mypackage.test'
- the descriptor can't be parsed for whatever reason

Any other error being reported when creating the registry?

Johan

On Fri, 23 Apr 2004 06:58:54 -0400, Kebekus, Christian <[EMAIL PROTECTED]> wrote:

I would like to use a service/implementation packed in a jar from a
simple test class. The same simple test class works fine in the jar with
the service interface and implementation itself. I tried all kinds of
stuff, but nothing works. I always get something like

org.apache.hivemind.ApplicationRuntimeException: Registry does not
contain module 'mypackage.test'.
        at
org.apache.hivemind.impl.RegistryImpl.getModule(RegistryImpl.java:76)
        at
org.apache.hivemind.impl.RegistryImpl.getService(RegistryImpl.java:86)
        at com.mckesson.coil.examples.ex1.Main.main(Main.java:66)
Confidentiality Notice: This e-mail message, including any
attachments, is for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of
the original message.





-- you too?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to