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 2016/05/12 21:59:13 UTC

[jira] [Commented] (CXF-6899) swagger feature does not work in OSGi

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

Sergey Beryozkin commented on CXF-6899:
---------------------------------------

Aki created a description_swagger2_osgi demo in samples/jax_rs

> swagger feature does not work in OSGi
> -------------------------------------
>
>                 Key: CXF-6899
>                 URL: https://issues.apache.org/jira/browse/CXF-6899
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.4
>            Reporter: Benson Margulies
>
> Missing dependency?
> karaf@root>2016-05-12 15:49:33,319 | ERROR | pool-12-thread-1 | rosapi-profile-manager           | 48 - com.basistech.ws.rosapi-profile-manager - 1.1.101.v20160512074028 | [com.basistech.ws.profile.impl.ProfileService(33)] The activate method has thrown an exception
> java.lang.NoClassDefFoundError: io/swagger/jaxrs/listing/ApiListingResource
> 	at org.apache.cxf.jaxrs.swagger.Swagger2Feature.addSwaggerResource(Swagger2Feature.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)