Bhaskar Dabbigodla wrote:
> 
> Hi,
> 
> I am getting ClassNotFoundException:
> org.apache.servicemix.components.vfs.FilePoller on ServiceMix 3.3
> 
> My xbean configuration has the following 
> 
>     <sm:activationSpec componentName="filePoller" service="foo:filePoller"
> destinationService="xt:applicationTextFileSenderService">
>         <sm:component>
>                 <bean
> class="org.apache.servicemix.components.vfs.FilePoller">
>                         <property name="path" value="file:/opt/samples"/>
>                         <property name="period" value="1000"/>
>                 </bean>
>         </sm:component>
>       </sm:activationSpec>
> 
> Do I need to add any dependency in my pom.xml? Do I need to include any
> particular jar file to solve this?
> 
> Thanks and Regards,
> Bhaskar
> 

Add following dependency to your pom.xml file. Then required files will be
downloaded from apache repository.
<code>
      <dependency>
         <groupId>org.apache.servicemix</groupId>
         <artifactId>servicemix-components</artifactId>
         <version>${servicemix-version}</version>
      </dependency>
</code>
-- 
View this message in context: 
http://www.nabble.com/ClassNotFoundException%3A-org.apache.servicemix.components.vfs.FilePoller-tp20484843p20495486.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to