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


Unable to load the features offline in karaf.

asked 2015-11-03 03:12:01 -0800

AbhishekChhabra gravatar image


I am facing problems when I build the controller off-line by using "mvn clean install -o" when I run karaf and try to install a feature say-"odl-restconf-all" or any other feature, It throws me an error:

opendaylight-user@root>feature:install odl-restconf-all Error executing command: Can't install feature odl-restconf-all/0.0.0:
Error resolving artifact commons-codec:commons-codec:jar:1.8: Could not transfer artifact commons-codec:commons-codec:jar:1.8 from/to central ( ): : Name or service not known

Please help me with this, I want to load the features without connecting the computer to the Internet. Thanks In advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-17 02:50:56 -0800

bhavesh07 gravatar image

updated 2015-11-17 02:51:41 -0800

It seems you do not have all required jars in your local repository. Initially compile the source code online, then make your own changes(as per your requirement) in the the respective module(s). Proceed with the offline step.

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

Question Tools

1 follower


Asked: 2015-11-03 03:12:01 -0800

Seen: 319 times

Last updated: Nov 17 '15