You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matthias Steiner (JIRA)" <ji...@apache.org> on 2016/02/26 13:54:18 UTC

[jira] [Created] (CXF-6803) CXF Features depends on old javax.annotation.Priority

Matthias Steiner created CXF-6803:
-------------------------------------

             Summary: CXF Features depends on old javax.annotation.Priority
                 Key: CXF-6803
                 URL: https://issues.apache.org/jira/browse/CXF-6803
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.1.4
            Reporter: Matthias Steiner


Tried to use the SwaggerFeature but got a 'Caused by: java.lang.NoClassDefFoundError: javax/annotation/Priority' error.

After looking into the issue I came to the conclusion that the Priority annotation is no longer used in newer versions of the javax.annotation bundle. 

It used to be there in 1.2, but it's no longer in there in 3.1...

See: 

1.2 - http://www.java2s.com/Code/Jar/j/Downloadjavaxannotationapi12jar.htm
3.1 - http://www.java2s.com/Code/Jar/j/Downloadjavaxannotation31jar.htm

Any thoughts/ideas ?




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