[
https://issues.apache.org/jira/browse/CXF-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640445#comment-14640445
]
Sergey Beryozkin commented on CXF-6509:
---------------------------------------
Hi Benson, you should see a warning that "No resource methods have been found
for resource class MyClass":
https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ResourceUtils.java;h=314caaf53d325b3bb2c53752208f8297b3bd263d;hb=HEAD#l441
CXF does not report that a given bean method is not a valid JAX-RS method - I
guess that can be very noisy, especially given that it may not be an intention
for a developer to expose every public method as a JAX-RS method.
May be we can just report at the FINEST/TRACE level that a given method has no
PATH annotation - hence it is not accepted as JAX-RS method
> CXF is mysterious about invalid JAX-RS bean classes
> ---------------------------------------------------
>
> Key: CXF-6509
> URL: https://issues.apache.org/jira/browse/CXF-6509
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 3.1.1
> Reporter: Benson Margulies
>
> If I have a defective JAX-RS resource bean, CXF drops it. Even if I set the
> log level to the highest for all of org.apache.cxf, it provides no specific
> complaint about what it does not like. This is rather labor-intensive.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)