java.lang.IllegalStateException: Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)

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

Solutions on the web

via GitHub by tdiesler
, 1 year ago
Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)
java.lang.IllegalStateException: Cannot bind to specific port: http://localhost:8080/rest/hello/%7Bname%7D 2016-07-05 11:27:55,321 ERROR [stderr] (main) at org.jboss.gravia.utils.IllegalStateAssertion.assertTrue(IllegalStateAssertion.java:59)
at org.wildfly.extension.camel.undertow.CamelUndertowHostService$WildFlyUndertowHost.validateEndpointURI(CamelUndertowHostService.java:177)
at org.apache.camel.component.undertow.UndertowConsumer.doStart(UndertowConsumer.java:72)
at org.wildfly.extension.camel.undertow.WildFlyUndertowComponent$WildFlyUndertowUndertowConsumer.doStart(WildFlyUndertowComponent.java:91)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3275)
at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3569)
at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3505)

Users with the same issue

You are the first who have seen this exception.

Write tip

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