Closed tan9 closed 8 years ago
Thanks for the report!
I have a similar issue opened here.
I will look into it today with wro4j-maven-plugin
.
I was not able to reproduce the error :( I have tried with example projects from https://github.com/wro4j/wro4j-examples without luck...
Anyway as this seems to be a dependency problem between different versions of SLF4J, can you try to replace logback
dependencies by older ones ? (I have updated logback
version in latest release).
In /usr/local/Cellar/maven-deluxe/3.3.9-2/libexec/lib/ext
, drop logback jars and replace them with their equivalent in v1.1.3 ?
I think the problem is (from http://logback.qos.ch/news.html):
February 11th, 2016, Release of version 1.1.4
Logback 1.1.4 requires SLF4J version 1.7.16 or later.
Added event replay support as introduced in SLF4J version 1.7.15. In most circumstances, logack-classic should run fine with earlier versions of slf4j-api, including all versions in the 1.6.x and 1.7.x series. However, with a version of slf4j-api.jar earlier than 1.7.15 in the classpath, attempting introspection of a Logger instance will result in a NoClassDefFoundError similar to that shown below.
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/event/LoggingEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.privateGetPublicMethods(Class.java:2571)
at java.lang.Class.getMethods(Class.java:1429)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1261)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1122)
at java.beans.Introspector.getBeanInfo(Introspector.java:414)
at java.beans.Introspector.getBeanInfo(Introspector.java:161)
@jcgay confirmed that I can build successfully if the bundled logback 1.1.6 was be replaced by 1.1.3
Cool I'll release a new version today!
Thanks for the feedback.
It should be ok with maven-color
v1.4.1
Thanks again!
3.3.9-3 works for me.
Thank you very much!
When I upgraded maven-deluxe from 3.3.9-1 to 3.3.9-2 (by using brew). My maven project failed to build with following errors: