Details
Description
Adding SLF4J as a dependency to maven-jetty-plugin doesn't make it visible to the running webapp (NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder)
It works fine with other libraries than SLF4J.
Try mvn jetty:run with the attached project.
Activity
Martin Strand
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 6.1.7 [ 13950 ] | |
| Resolution | Not A Bug [ 6 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Oops, I mean the error is "NoClassDefFoundError: org/slf4j/LoggerFactory" since it's slf4j-api that isn't visible.