"java.lang.NoClassDefFoundError:
org/apache/commons/collections4/queue/CircularFifoQueue". Its one of the
class from the dependencies I have added. It works fine when I run from IDE.

On Thu, Jul 21, 2016 at 4:22 PM, christopher.l.shannon [via ActiveMQ] <
[email protected]> wrote:

> Which class can't be found?
>
> On Thu, Jul 21, 2016 at 4:24 AM, aries.aries <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4714244&i=0>>
> wrote:
>
> > I am working on implementing few things in the mqtt protocol project. I
> > have
> > used the below two dependencies
> >
> >         <dependency>
> >             <groupId>org.apache.commons</groupId>
> >             <artifactId>commons-collections4</artifactId>
> >             <version>4.1</version>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.toubassi.femtozip</groupId>
> >             <artifactId>femtozip</artifactId>
> >             <version>1.0</version>
> >         </dependency>
> >
> > It is working perfectly fine when I build and run from IntelliJ IDE.
> > However, when I use the command "mvn clean install -Prelease", the build
> is
> > successful but I get classNotFound exception at runtime.
> >
> > Could someone please guide me what the issue might be?
> >
> > Thanks,
> > Vicky
> >
> >
> >
> > --
> > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/Adding-new-maven-dependency-for-mqtt-protocol-project-tp4714220.html
> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/Adding-new-maven-dependency-for-mqtt-protocol-project-tp4714220p4714244.html
> To unsubscribe from Adding new maven dependency for mqtt protocol project, 
> click
> here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4714220&code=YXJpZXMxMjMuYXJpZXMxMjNAZ21haWwuY29tfDQ3MTQyMjB8MTQzNzc4NzUxNw==>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Adding-new-maven-dependency-for-mqtt-protocol-project-tp4714220p4714246.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to