Thanks for your answer.
The problem was in my pom file, which had a dependency to geronimo. I
removed that and now it works.
Thanks,
Laci
On 12.02.2014 12:04, Freeman Fang wrote:
Sorry, actually you should install
mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3
bundle which can export javax.jws 2.0
Btw, I think you should install features.xml from cxf and
"features:install cxf" which will offer you all necessary bundles when
you work on cxf related projects
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
On 2014-2-12, at 下午6:58, Freeman Fang wrote:
Hi,
Could you please edit
$KARAF_HOME/etc/jre.properties
change
javax.jws, \
javax.jws.soap, \
to
javax.jws;version="2.0", \
javax.jws.soap;version="2.0", \
and cleanly restart karaf?
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
On 2014-2-12, at 下午5:41, Laci Gaspar wrote:
Hi
I'm having a problem installing a CXF WebService. I'm getting an
unresolved constraint error:
starting bundle:
file:/C:/Users/kit/apache-karaf-2.3.3/deploy/cxf-code-first-bundle-1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Unresolved constraint in bundle
cxf-code-first-bundle [186]: Unable to resolve 186.0: missing
requirement [186.0] osgi.wiring.package; (&(osgi.wiri
ng.package=javax.jws)(version>=2.0.0)(!(version>=3.0.0)))
at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1868)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.3.jar:]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1247)[6:org.apache.felix.fileinstall:3.2.6]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1219)[6:org.apache.felix.fileinstall:3.2.6]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:508)[6:org.apache.felix.fileinstall:3.2.6]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[6:org.apache.felix.fileinstall:3.2.6]
I tried several examples on the web, no luck.
Thanks for your help
Laci