Ask Your Question
0

Missing Constraint while starting the project

asked 2015-06-15 19:40:53 -0700

vikram_darsi gravatar image

Hi

I cloned l2switch project into my server and did mvn clean install. When I start the project using "bin/karaf" , most of the bundles remain in installed state only. when I restart one of the bundles, below is the error

opendaylight-user@root>bundle:restart 63 Error executing command: Error restarting bundles: Unable to start bundle 63: The bundle "org.opendaylight.yangtools.concepts_0.8.0.SNAPSHOT [63]" could not be resolved. Reason: Missing Constraint: Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))"

My Java environment: [root@vikram vikram]# java -version java version "1.7.071" Java(TM) SE Runtime Environment (build 1.7.071-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode) [root@vikram vikram]# javac -version javac 1.7.071 [root@vikram vikram]# java -version java version "1.7.071" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Although I have required version installed, why karaf still reporting it as an issue?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-06-15 23:52:39 -0700

vikram_darsi gravatar image

Hi

Found workaround from the below link

https://issues.apache.org/jira/browse/KARAF-3069

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-15 19:40:53 -0700

Seen: 429 times

Last updated: Jun 15 '15