[
https://issues.apache.org/jira/browse/CXF-7513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16174892#comment-16174892
]
Christian Schneider commented on CXF-7513:
------------------------------------------
I also opened a similar issue today. I think the detection currently only works
for maven based deployments. I will look into fixing this. It would be great if
you could test my fix on weblogic then.
> 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)