• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception while Running EJBClient in JBoss

BalajiNityaa Varadharajan
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am getting the following exception while running the client, using JBoss server.

Exception in thread "main" java.lang.NoClassDefFoundError: java/net/SocketAddress

at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)

at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

at javax.naming.InitialContext.init(Unknown Source)

at javax.naming.InitialContext.<init>(Unknown Source)

at examples.HelloClient.getInitialContext(HelloClient.java:97)

at examples.HelloClient.main(HelloClient.java:32)

If anyone what could be the issue please let me know.

Thanks and Regards,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic