Thank you very much, Chris, I develop a SE base on the servicemix-quartz, 
yes, when I deploy it to servicemix, it show the error,

I use the code to import the servicemix-* jar:
...
 <dependency>
    <groupId>org.apache.servicemix</groupId>
    <artifactId>servicemix-common</artifactId>
    <version>${servicemix-version}</version>
 </dependency>
 <dependency>
   <groupId>org.apache.servicemix</groupId>
   <artifactId>servicemix-quartz</artifactId>
    <version>${servicemix-version}</version>
 </dependency>
...

but just servicemix-common could be import, not servicemix-quartz, and I
tried all the scope of maven: compile and others, but not work. Why? Thanks,
have a good day.



Chris Custine (Apache) wrote:
> 
> So you are saying that the servicemix-quartz component is deploying
> properly
> on servicemix startup, but when you deploy your SA, you get
> NoClassDefFoundError?  I checked the distributions for 3.2 and 3.2.1 and
> everything seemed to work properly for me.  Are you using a default
> configuration from the servicemix distribution?
> 
> Thanks,
> Chris
> 
> On Mon, Apr 14, 2008 at 8:06 AM, wuwei <[EMAIL PROTECTED]> wrote:
> 
>>
>> Thank you.
>> But the servicemix-quartz-3.2-installer.zip has existed under /hotdeploy
>> folder. If I do not copy the serviceMix-quartz-3.2.jar to /lib, it would
>> show the error:
>>
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/servicemix/quartz/QuartzComponent
>>
>> Why does serviceMix does not import the Class from
>> hotdeploy/servicemix-quartz-3.2-installer.zip
>>
>> did anyone meet this error?
>>
>>
>>
>> Chris Custine (Apache) wrote:
>> >
>> > The required quartz dependencies are already packaged in the quartz
>> > component that ships with ServiceMix.  In the binary distribution it is
>> in
>> > the hotdeploy/servicemix-quartz-3.2.1-installer.zip file and it should
>> > deploy automatically at startup.  As long as this component is
>> installed
>> > your SU should work just fine.
>> >
>> > Chris
>> >
>> > On Sun, Apr 13, 2008 at 9:10 PM, wuwei <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hi, I use the servicemix 3.2, and in a maven project, I configure
>> like:
>> >>
>> >> ....
>> >> <dependency>
>> >>    <groupId>org.apache.servicemix</groupId>
>> >>    <artifactId>servicemix-common</artifactId>
>> >>    <version>${servicemix-version}</version>
>> >> </dependency>
>> >> <dependency>
>> >>   <groupId>org.apache.servicemix</groupId>
>> >>   <artifactId>servicemix-quartz</artifactId>
>> >>    <version>${servicemix-version}</version>
>> >> </dependency>
>> >> ...
>> >>
>> >> and the "mvn clean install" is successful, and  the
>> >> servicemix-common-3.2.jar exists in the *-installer.jar, but I can't
>> find
>> >> the servicemix-quartz-3.2.jar in the jar. which one could tell me how
>> to
>> >> fix
>> >> it, except copy the servicemix-quartz-3.2.jar into
>> %SERVICEMIX_HOME%/lib.
>> >> Thanks.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Where-is-the-servicemix-quartz-3.2.jar-in-the-*-installer.jar-tp16670464p16670464.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Where-is-the-servicemix-quartz-3.2.jar-in-the-*-installer.jar-tp16670464p16678092.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Where-is-the-servicemix-quartz-3.2.jar-in-the-*-installer.jar-tp16670464p16692393.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to