activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael <mtarullo...@optonline.net>
Subject RE: Problem with SLF4J
Date Wed, 18 May 2011 23:18:27 GMT
Thanks Dejan.

I've seen the first link and already tried adding some of them to my
classpath.  I started getting other exceptions.

I'll give it another try and let you know how it works out, one way or the
other.

Mike

-----Original Message-----
From: chubrilo@gmail.com [mailto:chubrilo@gmail.com] On Behalf Of Dejan
Bosanac
Sent: Wednesday, May 18, 2011 5:01 AM
To: users@activemq.apache.org
Subject: Re: Problem with SLF4J

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.jav
> a: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
View raw message