Hello,
I use a component that imports the Pax Web WebContainer class and
depends on a service reference.
===
import org.ops4j.pax.web.service.WebContainer;
...
@Component(immediate = true)
public class Web {
@Reference
private WebContainer webContainer;
...
===
My feature looks like this one:
===
<feature>
<bundle>mvn:.../.../${project.version}</bundle>
<feature>scr</feature>
<feature>shell</feature>
<feature>http</feature>
<feature>pax-http-whiteboard</feature>
</feature>
===
The verification works using K405.
The verification fails using K406 staging
(IIRC)
K405 is using Pax Web 4.2.6
K406 is using Pax Web 4.2.8
The error on feature verification is:
missing requirement [...] osgi.service;
filter:="(objectClass=org.ops4j.pax.web.service.WebContainer)";
effective:=active]]
So, why is the WebContainer service not satisfied anymore?
Is this a change in the Pax Web features (but pax-http and
pax-http-whiteboard should satisfy the WebContainer, shouldn't it) or
in the feature verification?
Thanks in advance,
Markus