javax.ws.rs.NotFoundException: Could not find resource for full path with RESTEasy and Wildfly 8.1.0.Final

前端 未结 7 2171
长情又很酷
长情又很酷 2020-12-06 01:59

I am facing following problem. I have spent more than 3 days on this but cannot find a solution. Please guide me what I am doing wrong here. I am new to Resteasy with wildfl

7条回答
  •  臣服心动
    2020-12-06 02:10

    This works for all my services.

    This is a runtime exception indicating a resource requested by a client was not found on the server.
    Add below entry into your web.xml :
    
    
            resteasy.resources
            com.org.abc.xyz.MainClassName
    

    You can specify fully qualified name of your JAX-RS resource class name you want to register. If you have multiple classes entries, use comma delimiter.

提交回复
热议问题