L.S.,

I guess you're still missing the jetty-client.jar file. Are you using Maven to build this, because I think it should have figured out this dependency by itself?

Gert

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



Reply via email to