JAX-RS JSON Rest Service with Jersey Example

You may also like...

2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
MemoryNotFoundreaderwriter2015 Recent comment authors
  Subscribe  
newest oldest
Notify of
readerwriter2015
Guest
readerwriter2015

You have forgotten to mention servlet init-param for com.sun.jersey.spi.container.servlet.ServletContainer. it should be there as follows
in servlet configuration in web.xml

<init-param>
    <param-name>com.sun.jersey.config.property.packages</param-name>
    <param-value>com.memorynotfound.rs</param-value>
</init-param>