You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Ioannis Canellos <io...@gmail.com> on 2011/11/11 16:48:42 UTC

Re: NoClassDefFoundError CommandProcessor/ not found by pax-exam-probe

By default your probe, will dynamically import all packages.
All ? Well ... not all! Packages that are exported with provisional status
will not be imported by default.
You will have to modify your probe, like this:

probe.setHeader(Constants.DYNAMICIMPORT_PACKAGE,
"*,org.apache.felix.service.*;status=provisional");

And sorry for the late response !

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache Camel <http://camel.apache.org/> Committer
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer
*