|
Re: Making calls to REST service using Jersey [message #1752822 is a reply to message #1752817] |
Fri, 27 January 2017 18:06 |
|
java.lang.NoClassDefFoundError: "Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found. The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found."
javax.ws.rs.client.ClientFactory is missing from your classpath at runtime. Without knowing how this is being deployed, I would have to think that the jars you're pulling this and other classes from are not being deployed properly. What kind of project are you working in? Is this to create a standalone application or a web application running inside of a server? What's handling the deployment/assembly now? And can you please attach whatever's in that .doc file directly instead of embedding it in a .doc file?
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Powered by
FUDForum. Page generated in 0.08292 seconds