I'm building both a JBI component and a Service Unit.  I have now figured out
how to get ServiceMix to recognize the jars in the JBI component (for others
that are having this problem, see my next post for solution), but I am still
having problems with the Service Unit.  

I am building a Service Unit based on a JSR 181 component.  The third party
jar I am adding is for Web Service support.  I added  jaxrpc.jar to the
dependency section of the pom, so that it would build correctly, but at
runtime I get the no class def found error for one of the classes in
jaxrpc.jar.  The version of ServiceMix is 3.1.  Thanks.



Gert Vanthienen wrote:
> 
> L.S.,
> 
> Some additional questions...
> - Are you building a service unit or a JBI component?
> - What version of ServiceMix are you using?
> - Can you give an example of a third party jar that causes you the
> problem?
> 
> Gert
> 
> Benamin wrote:
>> I can build ServiceMix components with third party jars, but I get errors
>> at
>> runtime, such as no class found errors.  It appears the jars do get
>> packaged
>> within the zip file that ServiceMix creates in the target directory. If I
>> put the jars into the $SERVICEMIX_HOME/lib dir manually, it works, I
>> don't
>> get the NO class found errors.
>>
>> Why does SMIX seem to ignore the jars it packages in the .zip file?
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/runtime-error-when-referencing-third-party-jars-tf4098572s12049.html#a11657987
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to