You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Juan Ignacio Barisich (JIRA)" <ji...@apache.org> on 2017/09/21 12:37:00 UTC
[jira] [Created] (CXF-7513) Swagger UI from CXF Swagger2Feature not
working on WebLogic
Juan Ignacio Barisich created CXF-7513:
------------------------------------------
Summary: Swagger UI from CXF Swagger2Feature not working on WebLogic
Key: CXF-7513
URL: https://issues.apache.org/jira/browse/CXF-7513
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 3.1.7
Reporter: Juan Ignacio Barisich
Swagger UI, integrated with CXF Swagger2Feature (http://cxf.apache.org/docs/swagger2feature.html#Swagger2Feature-EnablingSwaggerUI) works ok on Tomcat:
!https://lh3.googleusercontent.com/-vPl3wWajuxc/WcOnEiAyvTI/AAAAAAAABek/vraFNscUZHIUlK_2Q63HwwwpB2y1RYAsQCL0BGAYYCw/h85/2017-09-21.png!
but not in WebLogic:
!https://lh3.googleusercontent.com/-ZzQoyy1QjlE/WcOpItsQ7iI/AAAAAAAABew/Uz_1RrD7L6ANpMDmRqxm_5HBeAt5u9E6ACL0BGAYYCw/h80/2017-09-21.png!
I have in my Maven project dependencies:
{code}
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-service-description-swagger</artifactId>
<version>3.1.7</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>swagger-ui</artifactId>
<version>2.2.5</version>
</dependency>
{code}
I guess the classloading on WebLogic is not compatible with the code at AbstractSwaggerFeature.checkSwaggerUiResourceRoot().
Do you know if this issue solved in most recent versions of cxf ?
Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)