2 u012299656 u012299656 于 2014.04.06 17:16 提问

org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 80

三月 22, 2014 5:09:33 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
INFO: Creating Service {http://ws.java.org/}HelloWorldWs from class org.java.ws.HelloWorld
三月 22, 2014 5:09:35 下午 org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be http://192.168.1.105:80/crazyit
2014-03-22 17:09:36.242:INFO::jetty-7.3.1.v20110307
2014-03-22 17:09:36.477:WARN::FAILED SelectChannelConnector@192.168.1.105:80: java.net.BindException: Address already in use: bind
2014-03-22 17:09:36.478:WARN::FAILED org.eclipse.jetty.server.Server@43caa4: java.net.BindException: Address already in use: bind
三月 22, 2014 5:09:36 下午 org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine addServant
SEVERE: Could not start Jetty server on port 80: Address already in use: bind
Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 80: Address already in use: bind
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:350)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:239)
at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:144)
at javax.xml.ws.Endpoint.publish(Unknown Source)
at lee.ServiceMain.main(ServiceMain.java:15)
Caused by: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 80: Address already in use: bind
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:404)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:164)
at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)
at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)
at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:836)
at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:127)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:341)
... 4 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:170)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:356)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:248)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.Server.doStart(Server.java:269)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:393)
... 10 more

1个回答

a254723077
a254723077   2017.09.18 16:07

一样的问题一样的问题一样的问题

Csdn user default icon
上传中...
上传图片
插入图片