score:0
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>jerseyrest</param-value>
the param value should point to the folder where you have created the class.
score:1
i followed this link to implement my first jersey web service : rest in java i run it on tomcat v7.0 and it worked fine. have you tried it on tomcat? if not, i suggest you to try it. sometimes it happened for me that i got 404 error permanently. to fix the error i deleted tomcat and create a new server wizard and then it works fine.
as @tom said it may related to "application/plain"
. use mediatype.text_plain
instead.
you need to add these jar files under /web-inf/lib/ :
asm-3.1
, jackson-core-asl-1.9.2
, jackson-jaxrs-1.9.2
, jackson-mapper-asl-1.9.2
, jackson-xc-1.9.2
, jersey-client-1.11
, jersey-core-1.11
, jersey-json-1.11
, jersey-server-1.11
, jersey-servlet-1.11
, jettison-1.1
and jsr311-api-1.1.1
.
Source: stackoverflow.com
Related Query
- Getting a 404 error to run a Jersey REST
- Getting HTTP Status 404 error when trying to run servlet
- Eclipse, maven, Jersey REST service, servlet 3.0, Tomcat 7.0, HTTP 404 Error
- Getting weird python error when I run a simple django script in Eclipse, not happening in console
- 404 error when running Jersey web app on Tomcat 7 in Eclipse
- Getting HTTP 404 Error in Eclipse project
- Basic web application but getting 404 error Tomcat/Eclipse
- What is missing in the following steps to test db connection from eclipse using tomcat and java ?am getting 404 error
- Spring Boot Getting Startet 404 error
- After update ADV getting error "Unknown option '--no-crunch'" when try to run
- Jersey tomcat and eclipse: error 404
- Keep Getting Error When Trying to Run Javafx on Eclipse with Mac
- Error 404 Jersey Tomcat Eclipse Web service
- Webapp running in Eclipse, but getting 404 error when running directly from Tomcat outside Eclipse
- Getting "A fatal error has been detected by the Java Runtime Environment:" when trying to run JavaFX code
- Jersey with tomcat giving 404 error
- Rest Web service 404 error - Tomcat Eclipse
- I keep getting this error when I run this code while working with OpenGL in Eclipse
- In SpringMVC, i getting a Deploy and Run Project of another System in my Centos 7 STS it gives Error
- HTTP Status 500 - Servlet.init() for servlet Jersey Web Application threw exception REST web-service error
- when trying to run struts2 with eclipse juno server,getting HTTP Status 404 error
- Hi im getting below error when im trying to run selenium through eclipse for my local URL test
- 404 error at REST web project
- I can't run the Android SDK Manager through the Eclipse im getting an error in the Console window
- Getting an error while trying to run a standard google app engine program on eclipse
- Getting error while starting Tomcat Server 9 in Eclipse though command line run is successfull
- When I run the appium code getting error like "An unknown server-side error occurred while processing the command
- I am getting result while debug the code but I see error when I run the code in python using eclipse IDE
- HTTP Status 404 Not Found For Jersey REST application with Eclipse and Payara server
- getting 404 error when trying to call servlet from JSP form
More Query from same tag
- eclipse servlet java.lang.ClassNotFoundException: javax.servlet.Servlet
- How to specify CLIENT when doing SQL SELECT statement against a Calculation View in Eclipse HANA View?
- Eclipse: Installed Java 8 - Could not find or load main class
- Tomcat 6.0.20 @ STS 2.5.1==Error while app startup -No web.xml present
- Content Assist not working in Eclipse for Android
- New to windows mobile development
- Eclipse using Classes in jsp
- how to use ant in eclipse for preprocessing
- find.java:14: error: cannot find symbol JAVA
- owlexplanation with Hermit reasoner
- How do I turn off '*' in multi-line comments in Eclipse?
- Eclipse Failing to start
- Android change name without changing auto generated classpaths
- How to remove error "unresolved inclusion" for user defined path in eclipse IDE
- CDI Beans module deployment failed- LifecycleException on deploying webapp
- Eclipse Web Project is not building with ANT?
- How to set the local path of gradle in gradle-wrapper properties
- Eclipse debug mode changing variables
- Eclipse Grails - Does not recognize structure from SVN import
- Android Studio: How to import java class from outside the project?
- Eclipse - Tomcat VM arguments does not change
- JavaFX playing a sound throws error
- Many "cannot be resolved to a type" errors when opening CoGroo project
- Eclipse: how to open header file from #include line
- Best Todo list management software
- Cannot find RadRails views in Aptana Studio 3
- The selected App Engine SDK is not valid
- Web Services' Create Java Bean Skeleton - Error in Eclipse
- Maven: how to fill a variable in web.xml file
- How to set initial window size in Java OpenGL