문제

I have written a dropwizard server application with a AMQP listener.It does not have any Root resource as it does not need one.When I start the app I get the below annoying below error.Is there a way to configure jersey to eliminate the error

ERROR [2014-03-22 19:37:14,583] com.sun.jersey.server.impl.application.RootResourceUriRules: The ResourceConfig instance does   
not contain any root resource classes.
! com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
! at com.sun.jersey.server.impl.application.RootResourceUriRules.<init> (RootResourceUriRules.java:99) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1331) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:1    68) ~[jersey-server-1.17.1.jar:1.17.1]
도움이 되었습니까?

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top