You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2018/01/30 12:50:00 UTC

[jira] [Commented] (CXF-7224) Allow auto-configuration of Jackson ExceptionMappers in cxf-spring-boot-starter-jaxrs

    [ https://issues.apache.org/jira/browse/CXF-7224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344988#comment-16344988 ] 

Sergey Beryozkin commented on CXF-7224:
---------------------------------------

Hi Dennis, 
since these are now not JAX-RS or CXF related providers, then I don't see how this can be done, introducing Jackson specific configuration support into CXF Spring Boot related code would be wrong IMHO. Perhaps. as far as CXF is concerned, it might make sense to consider adding a Jackson specific module where a CXF will ship various Jackson extensions and making it easier to configure them. etc 

> Allow auto-configuration of Jackson ExceptionMappers in cxf-spring-boot-starter-jaxrs
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-7224
>                 URL: https://issues.apache.org/jira/browse/CXF-7224
>             Project: CXF
>          Issue Type: Improvement
>          Components: Integration, JAX-RS
>            Reporter: Dennis Kieselhorst
>            Priority: Major
>
> As of Jackson 2.8 com.fasterxml.jackson.jaxrs.base.JsonParseExceptionMapper and
> com.fasterxml.jackson.jaxrs.base.JsonMappingExceptionMapper no longer have JAX-RS Provider annotation (see https://github.com/FasterXML/jackson-jaxrs-providers/issues/22) and therefore cannot be activated for cxf-spring-boot-starter-jaxrs by just adding the package to classes-scan-packages in application.yml.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)