At last.. I had to add jetty-client and commons-httpclient to make it work.
molliis wrote: > > One step further=) > > I added camel-http, camel-jetty, jetty, jetty-util and jetty-xbean to my > classpath. > But I cant figure out which component this class belongs to: > > The exception is: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/mortbay/jetty/client/HttpClient > > Suggestions? > > > > Gert Vanthienen wrote: >> >> L.S., >> >> This exception is usually caused by not having the required component >> available on the classpath. Did you add the camel-jetty component to >> your classpath? >> >> Gert >> >> molliis wrote: >>> I'm using the URI syntax to create an http endpoint using the jetty >>> component: >>> >>> <camelContext id="camel" >>> xmlns="http://activemq.apache.org/camel/schema/spring"> >>> <route> >>> <from uri="jetty:http://localhost:8080/bus" /> >>> <to uri="file://C:/tmp/something.xml" /> >>> </route> >>> </camelContext> >>> >>> This exception arises: >>> >>> org.apache.camel.RuntimeCamelException: >>> org.apache.camel.NoSuchEndpointException: No en >>> dpoint could be found for: jetty:http://localhost:8080/bus >>> >>> Something I'm missing here? I'm Using ActiveMQ 5.0 and Apache Camel >>> 1.3-SNAPSHOT >>> >> >> >> >> ----- >> --- >> Gert Vanthienen >> http://www.anova.be >> > > -- View this message in context: http://www.nabble.com/Problems-with-httpEndpoint-tp16297083s22882p16300412.html Sent from the Camel - Users mailing list archive at Nabble.com.
