Class not found when using JAX-RS with Eclipse and Glassfish
问题 I am using Eclipse Luna (versions 4.4.2) and Glassfish 4 to build a REST web-app using JAX-RS. The following piece of code, which is just a very simple post to the REST api that was previously working just fine, has started throw a very strange error: @POST public Response addToWatchlist(WatchlistEntry watchlistentry) { return Response.ok(watchlist_service.addToWatchlist(watchlistentry).toString()).build(); } The error is below: Warning: StandardWrapperValve[Jersey Web Application]: Servlet