I had the same problem. Solved it by fixing in the web.xml the param-value under init-param tag.
By default, Eclipse had set in the web.xml the name of the project into display-name. That shall not be copied to the param-value, but the Java package.
com.sun.jersey.config.property.packages
com.test.demo
Hope this helps.