This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

NoClassDefFoundError on client side

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I deployed some EJB3 session beans with JBoss 4.0.3RC1 without errors but I always get a NoClassDefFoundError when I call a method on the client.
Here are some lines of the (console) test client:


The getSubsriptionId() Method returns a simple string. The lookup works fine.

RemoteSearch is the remote interface that the session bean implements.

Here is the whole error:


I didn't find any hints with google, I hope somebody can help me.

cheers,
Gerald
 
Gerald Holl
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I've forgotten the most important part :roll:

The getSubscriptionId() method should return a String (it doesn't). It's the point where error occurs.
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should post this on the JBoss forums. I don't know if you have simply not included the correct jars on the classpath or of the client jars in 4.0.3RC1 aren't uptodate. But, you can probably get faster help there.
 
Gerald Holl
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Norman,

I solved it with help from the JBoss forum:
The file common-httpclient.jar was missing.

Anyway, the response time in this forum is quite faster than of the JBoss forum, that's the reason why I prefer posting here
 
I want my playground back. Here, I'll give you this tiny ad for it:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!