org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException

Error starting embedded Jetty server.

Samebug tips3

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Sonatype JIRA by Benjamin Hanzelmann, 1 year ago
    Error starting embedded Jetty server.
  • Stack trace

    • org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Error starting embedded Jetty server. at org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:135) at org.sonatype.nexus.integrationtests.nexus1329.Nexus1329MirrorFailAndRetriesIT.downloadFromMirrorTest(Nexus1329MirrorFailAndRetriesIT.java:44) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.BlockingChannelConnector.open(BlockingChannelConnector.java:122) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.BlockingChannelConnector.doStart(BlockingChannelConnector.java:80) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.jettytestsuite.ControlledServer.start(ControlledServer.java:131) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 months ago
    36 times, 3 months ago
    3 times, 7 months ago
    6 times, 11 months ago
    Unknown user
    Once, 1 year ago
    136 more bugmates