Simple Mule Application for transferring a file from queue to a File
org.mule.module.launcher.DeploymentStartException: ClassNotFoundException: org.apache.activemq.ActiveMQConnectionFactory
If your application is mavenized, then go to POM file and add the following dependency:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>5.14.5</version>
</dependency>
If your application is gradlized, then go to build.gradle and add the following dependency:
// https://mvnrepository.com/artifact/org.apache.activemq/activemq-all
compile group: 'org.apache.activemq', name: 'activemq-all', version: '5.14.5'
If your application is not mavenized, then
- Right click on your project
- click on Properties and in the properties window,
- click/select Java Build Path and select the tab Libraries and
- click on the button Add external JARS.. and
- select file activemq-all-x.xx.x,jar
- which will be available in the root folder of the apache-activemq folder.
Resource Link: