You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/07/07 04:43:51 UTC
[jira] Resolved: (CXF-2885) Wrong import package version for
javax.servlet
[ https://issues.apache.org/jira/browse/CXF-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CXF-2885.
-------------------------------
Fix Version/s: 2.3
2.2.10
Resolution: Fixed
Applied patch with thanks to Florent, also fix the same issue on jaxrs, minimal.
> Wrong import package version for javax.servlet
> ----------------------------------------------
>
> Key: CXF-2885
> URL: https://issues.apache.org/jira/browse/CXF-2885
> Project: CXF
> Issue Type: Bug
> Components: OSGi
> Affects Versions: 2.2.9
> Reporter: Florent BENOIT
> Assignee: Willem Jiang
> Priority: Trivial
> Fix For: 2.3, 2.2.10
>
>
> I'm facing a problem with the CXF 2.2.9 Bundle and Servlet API in OSGi mode
> If javax.servlet package is exported in 3.0.0 version, the CXF bundle won't start
> This is because, in the MANIFEST generated by the following pom.xml [https://svn.apache.org/repos/asf/cxf/branches/2.2.x-fixes/distribution/bundle/all/pom.xml ], there is the following code:
> /javax.servlet.*;version="[0.0,3)";resolution:=optional,/
> Which means that javax.servlet package exported in 3.0 version won't be accepted
> Is there a reason to use 3 ? or maybe you could switch to
> /javax.servlet.*;version="[0.0,4)";resolution:=optional,/
> in order to accept javax.servlet exported in 3.0 version or remove the versioning number ?
> Note that this is the same case for the trunk version : https://svn.apache.org/repos/asf/cxf/trunk/distribution/bundle/all/pom.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.