aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Help please with jboss/logging/Logger exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Help please with jboss/logging/Logger exception" Watch "Help please with jboss/logging/Logger exception" New topic
Author

Help please with jboss/logging/Logger exception

Dounia Kchiere
Greenhorn

Joined: Oct 06, 2006
Posts: 9
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

Joined: Jul 20, 2005
Posts: 10296
    
168

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.


[My Blog] [JavaRanch Journal]
 
 
subject: Help please with jboss/logging/Logger exception