Jean-Baptiste, Thanks for the pointer. I am still stuck with the json issue. I'll post back when I get this figured out.
karaf@savoir> features:install war karaf@savoir> features:install http karaf@savoir> install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsr305/1.3.9_1 Bundle ID: 205 karaf@savoir> install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr303-api-1.0.0/1.9.0 Bundle ID: 206 karaf@savoir> install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.json-lib/2.4_1 Bundle ID: 207 karaf@savoir> install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.gwt-dev/2.4.0_1 Bundle ID: 208 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 [209]" could not be resolved. Reason: Missing Constraint: Import-Package: org.json; version="0.0.0" Bundle ID: 209 karaf@savoir> Appreciatively Jacob -----Original Message----- From: Jean-Baptiste Onofré [mailto:[email protected]] Sent: Friday, May 03, 2013 11:51 PM To: [email protected] Subject: Re: GWT in Karaf 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-projec > t-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/2 > 0090211_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-us > er/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
