Hi Jacob, try to use ServiceMix json-lib bundle:
install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1
Regards JB On 05/04/2013 06:20 AM, Jacob Sheck wrote:
I am would like to run a simple web service Karaf. This example looks promising. http://cmoulliard.blogspot.com/2011/12/run-google-web-toolkit-2-project-on.html I am not able to resolve the json dependency. karaf@savoir> install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20090211_1 java.lang.RuntimeException: URL [mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json/20090211_1] could not be resolved. I tried with Geronimo, but gwt-user doesn’ recognize it. karaf@savoir> install -s mvn:org.apache.geronimo.bundles/org.json/20090211 Bundle ID: 305 karaf@savoir> install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.gwt-user/2.4.0_1 org.osgi.framework.BundleException: The bundle "org.apache.servicemix.bundles.gwt-user_2.4.0.1 [300]" could not be resolved. Reason: Missing Constraint: Import-Package: org.json; version="0.0.0" Help with this issue, or guidance to a more recent example would be greatly appreciated. Thanks Jacob ------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
