Created
October 23, 2012 14:23
-
-
Save kjellski/3939028 to your computer and use it in GitHub Desktop.
Drools Bundle Deployment failing...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
<dependency> | |
<groupId>org.drools</groupId> | |
<artifactId>drools-core</artifactId> | |
<version>5.4.0.Final</version> | |
</dependency> | |
<dependency> | |
<groupId>org.drools</groupId> | |
<artifactId>drools-compiler</artifactId> | |
<version>5.4.0.Final</version> | |
</dependency> | |
<!-- Component Annotations Dependencies --> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.apache.felix.scr</artifactId> | |
<version>1.6.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.apache.felix.scr.annotations</artifactId> | |
<version>1.7.0</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>2.3.7</version> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Import-Package>*;resolution:=optional</Import-Package> | |
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> | |
<Embed-Transitive>true</Embed-Transitive> | |
<_exportcontents>org.drools.*,org.jbpm.*,org.mvel2.*,com.google.*,com.sun.*</_exportcontents> | |
<Service-Component> | |
OSGI-INF/serviceComponents.xml | |
</Service-Component> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
... | |
g! ERROR: Bundle org.drools.core [21] Error starting file:bundles/org.drools.core_5.4.0.Final.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.drools.core [21]: Unable to resolve 21.0: missing requirement [21.0] osgi.wiring.package; (osgi.wiring.package=com.google.protobuf)) | |
org.osgi.framework.BundleException: Unresolved constraint in bundle org.drools.core [21]: Unable to resolve 21.0: missing requirement [21.0] osgi.wiring.package; (osgi.wiring.package=com.google.protobuf) | |
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) | |
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) | |
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) | |
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) | |
at java.lang.Thread.run(Thread.java:680) | |
registering api services | |
api drools services registered | |
ERROR: Bundle org.drools.compiler [25] Error starting file:bundles/org.drools.compiler_5.4.0.Final.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.drools.compiler [25]: Unable to resolve 25.0: missing requirement [25.0] osgi.wiring.package; (osgi.wiring.package=com.sun.codemodel)) | |
org.osgi.framework.BundleException: Unresolved constraint in bundle org.drools.compiler [25]: Unable to resolve 25.0: missing requirement [25.0] osgi.wiring.package; (osgi.wiring.package=com.sun.codemodel) | |
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) | |
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) | |
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) | |
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) | |
at java.lang.Thread.run(Thread.java:680) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment