lemonzone2010 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

NoClassDefFoundError when IBM's JVM is used #313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dans Websphere Application Server 8, si je déploie javamelody dans mon war 
sans slf4j, j'ai l'erreur NoClassDefFoundError org.slf4j.ILoggerFactory. C'est 
le même type de souci que l'Issue 122.

Le problème vient du fait que la classe LOG référence la classe 
org.slf4j.ILoggerFactory

Ci-joint une proposition de patch.

Je pense que ce patch, en plus de résoudre le problème, constitue une petite 
optimisation car les LOGGER ne sont maintenant recherché qu'une fois et non 
plus à chaque demande de log.

Original issue reported on code.google.com by lastm...@yahoo.fr on 30 May 2013 at 7:34

Attachments:

GoogleCodeExporter commented 9 years ago
I have merged the patch with some changes of syntax.

It is committed in trunk (revision 3411) and ready for the next release (1.46 
in about 2 months)

I have a new build from the trunk and it is available at:
http://javamelody.googlecode.com/files/javamelody-20130607.jar

Original comment by evernat@free.fr on 7 Jun 2013 at 5:41