• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help please with jboss/logging/Logger exception

 
Dounia Kchiere
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need help with this please error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Logger
at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:158)
at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:56)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at Testing.TestInoc.lookup(TestInoc.java:57)
at Testing.TestInoc.main(TestInoc.java:87)
I think that I configured evrything right in JBoss in the path... Can you please help me out with this!!!

Thank you very much,


Dounia,
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to have the appropriate JBoss jars in the client classpath. I dont have the exact list of jars that needs to be in the classpath, but one of them is the jboss-common-client.jar. You can find this jar in %JBOSS_HOME%/client folder.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic