If you use the -debug switch on the command line are there any interesting warning messages in the log?
Stephen.
korosh afshar wrote:
what are the possible reasons for unresolved service dependency ?
the component not being resolved is defined in block.xml. The dependency.tag in my application servicable interace references the
implementation.
I don't get any errors such as Unable to download blah blah blah.
just a NoProviderDefinitionException.
Turnig Debug on with "maven -X" gives me allot of info except any reason as to why the dependency is not being resolved.
ideas on possible reasons is appreciated and things I should look at.
thanks.
---- exception report ---------------------------------------------------------- Exception: org.apache.avalon.merlin.KernelException Message: Kernel startup failure. ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.merlin.KernelException Message: Application assembly failure. ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.activation.appliance.AssemblyException Message: Assembly of appliance [/mycompany/myApplication] could not be completed due to an unresolvable service dependency for the key [somecomponentXYZ]. ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.activation.appliance.NoProviderDefinitionException Message: Unable to resolve dependency: [somecomponentXYZ] com.mycompany.component.mycomponent.impl.SomeComponentXYZServiceProvider:1.0.0 ---- stack trace --------------------------------------------------------------- org.apache.avalon.activation.appliance.NoProviderDefinitionException: Unable to resolve dependency: [somecomponentXYZ] com.mycompany.component.mycomponent.impl.SomeComponentXYZserviceProvider:1.0.0 org.apache.avalon.activation.appliance.impl.AbstractBlock.locate(AbstractBlock.java:317) org.apache.avalon.activation.appliance.impl.AbstractBlock.locate(AbstractBlock.java:309) org.apache.avalon.activation.appliance.impl.AbstractBlock.locate(AbstractBlock.java:255) org.apache.avalon.activation.appliance.impl.DefaultAppliance.assemble(DefaultAppliance.java:360) org.apache.avalon.activation.appliance.impl.AbstractBlock.assemble(AbstractBlock.java:574)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
