Hi,

The following packages and jar file has not been deployed in a bundle
: com.opensymphony.xwork2
Version>=2.1.0 and not 3.x

Regards,

Charles


On Fri, Mar 25, 2011 at 5:10 PM, stream <[email protected]> wrote:
> Ok
> this is my error, i know i need some packages,but i've add it in my pom.xml
>
>
> ERROR: Bundle net.iocanel.web-structs [119]: Error starting
> file:/Users/stream1984/program/apache-karaf-2.2.0/deploy/web-structs-1.0-SNAPSHOT.war
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> net.iocanel.web-structs [119]: Unable to resolve 119.2: missing requirement
> [119.2] package;
> (&(package=com.opensymphony.xwork2)(version>=2.1.0)(!(version>=3.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> net.iocanel.web-structs [119]: Unable to resolve 119.2: missing requirement
> [119.2] package;
> (&(package=com.opensymphony.xwork2)(version>=2.1.0)(!(version>=3.0.0)))
>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>        at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
>        at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>        at java.lang.Thread.run(Thread.java:680)
>
> below is part of  my pom.xml
>
>
>                        *,
>                        javax.servlet,
>                        javax.persistence,
>                        javax.transaction,
>                        net.iocanel.database.dao,
>                        net.iocanel.database.entities,
>                        org.springframework.osgi.web.context.support,
>                        org.springframework.orm.jpa.support,
>                        org.springframework.transaction,
>                        org.springframework.aop,
>                        org.springframework.web.filter,
>                        org.aopalliance.aop,
>                        com.opensymphony.xwork2,
>                        org.apache.struts2.osgi.interceptor,
>                        org.osgi.framework
>
>
>
>                                org.apache.felix
>                                maven-bundle-plugin
>                                true
>
>
>
>                                                        manifest
>
>
>
>
>
>                                                jar
>                                                bundle
>                                                war
>
>
>                                                ${project.version}
>                                                ${project.artifactId}
>                                                ${classpath}
>                                                ${include.resources}
>                                                ${import.packages}
>                                                ${export.packages}
>
>
>
>
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/someone-could-help-me-about-struct2-in-karaf-tp2729806p2731048.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Reply via email to