activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Problem with SLF4J
Date Wed, 18 May 2011 09:00:46 GMT
Hi,

take a look at here http://www.slf4j.org/codes.html#StaticLoggerBinder

<http://www.slf4j.org/codes.html#StaticLoggerBinder>You should add some
binder to your classpath.

Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net

Connect at CamelOne <http://camelone.com/> May 24-26

The Open Source Integration Conference



On Wed, May 18, 2011 at 3:49 AM, Michael <mtarullo463@optonline.net> wrote:

> I'm trying to run a very simple message producer app.
>
>
>
> I'm starting the app from Eclipse.  I've set the Eclipse Run Configuration
> classpath option to point to activemq-all-5.5.0.jar as indicated in the
> required JARs section of the web site.
>
>
>
> This is the first time I'm trying to run ActiveMQ on Windows 7.  I had been
> running ActiveMQ on Windows XP in the past.
>
>
>
> The error message I get on the Eclipse console is:
>
>
>
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/slf4j/impl/StaticLoggerBinder
>
>      at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230)
>
>      at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
>
>      at
> org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112)
>
>      at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275)
>
>      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)
>
>      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261)
>
>      at
>
> org.apache.activemq.ActiveMQConnection.<clinit>(ActiveMQConnection.java:109)
>
>      at JMSActiveMQPublisherApp.<init>(JMSActiveMQPublisherApp.java:15)
>
>      at JMSActiveMQPublisherApp.main(JMSActiveMQPublisherApp.java:27)
>
> Caused by: java.lang.ClassNotFoundException:
> org.slf4j.impl.StaticLoggerBinder
>
>      at java.net.URLClassLoader$1.run(Unknown Source)
>
>      at java.security.AccessController.doPrivileged(Native Method)
>
>      at java.net.URLClassLoader.findClass(Unknown Source)
>
>      at java.lang.ClassLoader.loadClass(Unknown Source)
>
>      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>
>      at java.lang.ClassLoader.loadClass(Unknown Source)
>
>      ... 9 more
>
>
>
> Thanks for the help,
>
> Mike
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message