You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2014/10/30 03:12:34 UTC

[jira] [Assigned] (SMX4-1881) Spring 3.2.11 jar imports invalid JSTL version range [2.0,3.0)

     [ https://issues.apache.org/jira/browse/SMX4-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-1881:
----------------------------------

    Assignee: Freeman Fang

> Spring 3.2.11 jar imports invalid JSTL version range [2.0,3.0)
> --------------------------------------------------------------
>
>                 Key: SMX4-1881
>                 URL: https://issues.apache.org/jira/browse/SMX4-1881
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>    Affects Versions: bundles-2014.09
>            Reporter: Matt Magoffin
>            Assignee: Freeman Fang
>
> I am trying to deploy the ServiceMix Spring WebMVC 3.2.11 bundle into an existing OSGi web app but it fails because it can't find the javax.servlet.jsp.jstl.core.Config class, even though my web bundle imports the various JSTL packages. I think it is because the WebMVC bundle manifest imports JSTL packages as
> {noformat}
> javax.servlet.jsp.jstl.core;resolution:=optional;version="[2.0.0,3.0.0)",
> javax.servlet.jsp.jstl.fmt;resolution:=optional;version="[2.0.0,3.0.0)"
> {noformat}
> There is no version 2.0 of JSTL, so this import would fail to find anything. I then noticed in the spring-webmvc POM this configuration:
> {code:xml}
> <servicemix.osgi.import.pkg>
> javax.servlet.jsp.*;version="[2.0.0, 3.0.0)";resolution:=optional
> </servicemix.osgi.import.pkg>
> {code}
> Perhaps it needs another qualifier, like
> {code:xml}
> <servicemix.osgi.import.pkg>
> javax.servlet.jsp.*;version="[2.0.0, 3.0.0)";resolution:=optional,
> javax.servlet.jsp.jstl.*;version="[1.1.2, 2.0.0)";resolution:=optional
> </servicemix.osgi.import.pkg>
> {code}



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