java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via oracle.com by Unknown author

app tries to load in a class through its string name using forName method in class Class, findSystemClass method in class ClassLoader, loadClass method in class ClassLoader but no definition for the class with the specified name could be found

,

Unless you are involved in dynamic class loading and using the Java Reflection API, chances are that the ClassNotFoundException error you are getting is not from your application code but from a referencing API

Solutions on the web

via Google Groups by Jim Morris, 10 months ago
via Google Groups by raq, 1 year ago
org/jboss/resource/metadata/ ConnectorMetaData
via blogspot.com by Unknown author, 2 years ago
org/jboss/resource/metadata/ConnectorMetaData
via Coderanch by Hemil Shah, 11 months ago
org/jboss/resource/metadata/ConnectorMetaData
via Stack Overflow by MAGx2
, 2 years ago
org/hibernate/cache/QueryResultsRegion
via blogspot.com by Unknown author, 1 year ago
org/springframework/beans/factory/NoUniqueBeanDefinitionException
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:688)
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:785)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:318)
at org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:263)
at org.codehaus.groovy.ast.ClassNode.getInterfaces(ClassNode.java:341)
at org.mbte.groovypp.compiler.ClassNodeCache.getAllInterfaces(ClassNodeCache.java:447)
at org.mbte.groovypp.compiler.ClassNodeCache.getAllInterfaces(ClassNodeCache.java:461)
at org.mbte.groovypp.compiler.ClassNodeCache.fillMethodsMaps(ClassNodeCache.java:271)
at org.mbte.groovypp.compiler.ClassNodeCache.getStaticMethods(ClassNodeCache.java:261)
at org.mbte.groovypp.compiler.CompilerTransformer.findMethod(CompilerTransformer.java:259)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.findMethodVariatingArgs(MethodCallExpressionTransformer.java:610)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.findMethodWithClosureCoercion(MethodCallExpressionTransformer.java:832)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.createClassMethodCall(MethodCallExpressionTransformer.java:395)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.transform(MethodCallExpressionTransformer.java:85)
at org.mbte.groovypp.compiler.transformers.MethodCallExpressionTransformer.transform(MethodCallExpressionTransformer.java:36)
at org.mbte.groovypp.compiler.transformers.ExprTransformer.transformExpression(ExprTransformer.groovy:103)
at org.mbte.groovypp.compiler.CompilerTransformer.transform(CompilerTransformer.java:114)
at org.mbte.groovypp.compiler.transformers.BinaryExpressionTransformer.evaluateAssign(BinaryExpressionTransformer.java:373)
at org.mbte.groovypp.compiler.transformers.BinaryExpressionTransformer.transform(BinaryExpressionTransformer.java:70)
at org.mbte.groovypp.compiler.transformers.BinaryExpressionTransformer.transform(BinaryExpressionTransformer.java:39)
at org.mbte.groovypp.compiler.transformers.ExprTransformer.transformExpression(ExprTransformer.groovy:103)
at org.mbte.groovypp.compiler.CompilerTransformer.transform(CompilerTransformer.java:114)
at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:139)
at org.mbte.groovypp.compiler.StaticCompiler.visitExpressionStatement(StaticCompiler.java:387)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
at org.mbte.groovypp.compiler.StaticCompiler.visitBlockStatement(StaticCompiler.java:357)
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:51)
at org.mbte.groovypp.compiler.StaticCompiler.execute(StaticCompiler.java:1212)
at org.mbte.groovypp.compiler.StaticMethodBytecode.(StaticMethodBytecode.java:73)
at org.mbte.groovypp.compiler.StaticMethodBytecode.replaceMethodCode(StaticMethodBytecode.java:106)
at org.mbte.groovypp.compiler.CompileASTTransform.visit(CompileASTTransform.java:125)
at org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:129)
at org.codehaus.groovy.transform.ASTTransformationVisitor$2.call(ASTTransformationVisitor.java:172)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:932)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:509)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
at org.codehaus.gmaven.runtime.v1_7.ClassCompilerFeature$ClassCompilerImpl.compile(ClassCompilerFeature.java:148)
at org.codehaus.gmaven.plugin.compile.AbstractCompileMojo.compile(AbstractCompileMojo.java:200)
at org.codehaus.gmaven.plugin.compile.AbstractCompileMojo.process(AbstractCompileMojo.java:164)
at org.codehaus.gmaven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60)
at org.codehaus.gmaven.plugin.MojoSupport.execute(MojoSupport.java:69)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

Users with the same issue

2 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 5 months ago
2437 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.