I created a class similar to the automatically created MyResource class. It works if I access http://localhost:8080/Bored1/webapi/myresource but for http://localhost:8080/Bo