[
https://issues.apache.org/jira/browse/CXF-6014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140466#comment-14140466
]
Daniel Kulp commented on CXF-6014:
----------------------------------
Also, don't use the jar-with-dependency thing as that will not work with CXF.
You will need to use shade-plugin to combine the various META-INF files.
> Exception occurred when running the jar which includes both cxf-bundle-jaxrs
> and cxf-rt-rs-security-cors
> --------------------------------------------------------------------------------------------------------
>
> Key: CXF-6014
> URL: https://issues.apache.org/jira/browse/CXF-6014
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.7.12
> Reporter: okwap
> Assignee: Sergey Beryozkin
> Priority: Minor
> Labels: maven
>
> My program depends on cxf-bundle-jaxrs and cxf-rt-rs-security-cors. It works
> well in IDE.
> I use maven-assembly-plugin to build jar-with-dependency. When I execute the
> jar, exception occurred.
> It seems to be a conflict with some files (having the same name, so when
> multiple cxf files are unpacked into the same jar they get overwritten.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)