Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Missing Constraint: Import-Package:

asked 2015-08-06 04:37:36 -0700

hjdeore gravatar image

Hi Guys ,

I am getting subjected error in karaf while deploying one feature .

i have imported dependency

<dependency> <groupid></groupid> <artifactid>guava</artifactid> <version>19.0-rc1</version> </dependency>

Please share your idea if know how to resolve this issue.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-08-06 09:09:45 -0700

updated 2015-08-06 09:10:01 -0700


I have had this error in the past and I solved it by adding guava in the pom file and in the features file.






Github example:

edit flag offensive delete publish link more


Thanks for the input. But ia m also getting error like could not be resolved. Reason: Missing Constraint: Import-Package: com.thetransactioncompany.jsonrpc2; version="0.0.0" can you suggest on it?

hjdeore ( 2015-08-16 22:46:12 -0700 )edit

answered 2015-08-30 15:15:37 -0700

Robert Varga gravatar image

ODL Lithium ships with Guava 18. Do you need 19-rc1 for a particular reason?

edit flag offensive delete publish link more


No, just took the latest from maven repo

grmontpetit ( 2015-08-31 10:24:22 -0700 )edit

answered 2015-12-18 04:38:52 -0700

hnoori gravatar image

Hi Guys, I have created sample NBPlugin successfully .Now i need to deploy plugin to controller.What is a procedure?I am very new to ODL.Please try to help me.

Hussain -

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

Question Tools

1 follower


Asked: 2015-08-06 04:37:36 -0700

Seen: 738 times

Last updated: Dec 18 '15