Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:08:28+00:00 2026-06-09T03:08:28+00:00

When I upgrade to activemq-all-5.6.0 I get this error during server startup SLF4J: Class

  • 0

When I upgrade to activemq-all-5.6.0

I get this error during server startup

SLF4J: Class path contains multiple SLF4J bindings

I don’t have this issue when using activemq-all-5.5.1

On checking I do find that there StaticLoggerBinder.class in both activemq-all-5.6.0.jar and slf4j-log4j12-1.5.10.jar which is causing the issue

Please do help in debugging this issue

My pom.xml is as follows

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.5.10</version>
</dependency>
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>jcl-over-slf4j</artifactId>
    <version>1.5.10</version>
    <scope>runtime</scope>
</dependency>
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <version>1.5.10</version>
    <scope>runtime</scope>
</dependency>

The active mq dependency is like this

Old Version 5.5.1 (This works)

<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>5.5.1</version>
</dependency>

New Version 5.6.0 (This gives the error)

<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>5.6.0</version>
</dependency>

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:08:30+00:00Added an answer on June 9, 2026 at 3:08 am

    The ActiveMQ guys use the Maven Shade Plugin to create the activemq-all “ueber” jar. Somewhere between version 5.5.1 and 5.6.0 they added the org.slf4j:slf4j-log4j12 dependency – hence your problem.

    Unfortunately because they used the shade plugin you can not use exclusions in your activemq-all dependency definition in your POM.

    Instead you will need to completely replace the activemq-all dependency with all the required individual dependencies (except of course the org.sl4j-log4j12 one).

    The following page details all the required dependencies:
    http://activemq.apache.org/initial-configuration.html#InitialConfiguration-RequiredJARs

    Alternatively the following is the list of all dependencies (required and optional) included in the activemq-all jar (taken from the configuration of the shade plugin in the activemq-all pom):

    org.apache.activemq:activemq-camel
    org.apache.activemq:activemq-core
    org.apache.activemq:activemq-console
    org.apache.activemq:activemq-jaas
    org.apache.activemq:activemq-optional
    org.apache.activemq:kahadb
    org.apache.geronimo.specs:geronimo-jms_1.1_spec
    org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec
    org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec
    org.apache.geronimo.specs:geronimo-annotation_1.0_spec
    org.slf4j:slf4j-api
    org.slf4j:slf4j-log4j12
    log4j:log4j
    

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After upgrade of cassandra from 0.8.2 to 0.8.4, got this error I have restarted
When I upgraded to Apache.NMS.ActiveMQ 1.5.3, the thread names are now all the same
I'm trying to upgrade my Node application from 0.4 to 0.6 along with all
After a system upgrade i am no longer able to start my tomcat5 server.
After I upgrade to Node 0.6.18, I got the error: listen EINVAL when start.
I'm trying to upgrade to Node v0.6.17. I followed the instructions in this post:
After upgrade to Snow Leopard and downloading the new Xcode along with all new
I can't upgrade my android database: public class database extends SQLiteOpenHelper { // Database
I want to upgrade my evolution simulator to use Hebb learning, like this one
after upgrade, all the pages see Models as Object. I've upgraded using migration guide

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.