java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via servicemix-users by Claus Ibsen, 1 year ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
via servicemix-users by Claus Ibsen, 4 months ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
via servicemix-users by Scott Came, 4 months ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
via servicemix-users by Scott Came, 1 year ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
via servicemix-users by Scott Came, 1 year ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
via servicemix-users by Claus Ibsen, 4 months ago
Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
java.lang.IllegalStateException: Endpoint address should be a relative URI wrt to the servlet address (use '/xxx' for example)
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:92)
at org.apache.cxf.endpoint.ServerImpl.(ServerImpl.java:71)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106)
at org.apache.camel.component.cxf.CxfConsumer.(CxfConsumer.java:137)
at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:60)
at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:75)
at org.apache.camel.impl.RouteService.doStart(RouteService.java:132)
at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:56)
at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1328)
at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1256)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:952)
at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.