Looks like you hit it dead on with the missing xinfo - I did not have the avalon:meta pregoal for the maven.xml. Perhaps the missing xinfo could be reported as such. If a component defined in the block.xml does not have an xinfo file then can't Merlin complain about it being missing instead of using an error message sounding like a classpath problem is at fault. Just my two cents.
Thanks, Alex -----Original Message----- From: Stephen McConnell [mailto:[EMAIL PROTECTED] Sent: Saturday, September 06, 2003 12:40 AM To: Avalon framework users Subject: Re: Classpath issues when running Merlin Alex: The TypeUnknownException is thrown as a result of a request for the establishment of a deployment model referencing a component type that is unknown to Merlin (in this case the unknown component is SystemBackend). If you execute merlin using the -debug command line switch you will see information that details which components are located in which jar files during the scanning phase. Merlin will ignore components (and issue log to this effect) if it cannot validate the component (e.g. inconsitent class structure). A more probable cause for the problem is that the <classname>.xinfo resource is not in your jar file in which case Merlin does not recognize the class as a component type - hense the TypeUnknownException. Steve. Alex Karasulu wrote: >I'm probably doing something very stupid perhaps someone can help point it >out. Merlin is complaining about not seeing a class called SystemBackend >which is the primary class within the component project. I looked to see if >it is in the target/classes directory and it is there in the correct package >structure. Is there a dependency I'm missing that is not being reported by >Merlin because as far as I can see SystemBackend is on the classpath? > > > >Any recommendations? > > > >Here's what Merlin is saying: > > > >Internal error during kernel instantiation. > > > > > >---- report ------------------------------------------------------- > > > >Exception: org.apache.avalon.merlin.kernel.KernelException > >Message: Block install failure: >file:/C:/cygwin/home/Administrator/projects/ldap > >d/HEAD/sandbox1/system-backend-impl/target/classes/ > > > >Cause: org.apache.avalon.composition.model.ModelException > >Message: Unable to create a nested deployment model: modsystem in the >containmen > >t model /. > > > >Cause: org.apache.avalon.composition.model.TypeUnknownException > >Message: ldapd.server.backend.SystemBackend > >---- stack trace --------------------------------------------------- > > > >org.apache.avalon.composition.model.TypeUnknownException: >ldapd.server.backend.S > >ystemBackend > > > > > >Thanks guys in advance, > >Alex > > > > > > -- Stephen J. McConnell mailto:[EMAIL PROTECTED] Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
