Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6965001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:59:48+00:00 2026-05-27T15:59:48+00:00

Seems like the Maven site plugin does not have a command to stop before

  • 0

Seems like the Maven site plugin does not have a command to stop before starting, resulting in an error if the Jetty container is already started (from previous Maven site:run), how may i solve this?

My goal is to be able to see the site on my localhost using the site:run Maven command.

Maven site plugin

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:2.0.1:run (default-cli) on project parameterized-logging-migrator: Error executing Jetty: Address already in use: bind ->
2011-12-21 20:41:11.463::INFO:  Shutdown hook executing
2011-12-21 20:41:11.567::INFO:  Shutdown hook complete
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:59:48+00:00Added an answer on May 27, 2026 at 3:59 pm

    mvn site:run does not have any option to shutdown an existing jetty server. If you do not want to manually do this before another run, one possibility is to run it on another port

    mvn site:run -Dport=8081
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen some people use the maven-sql-plugin to do this. But it seems like
I would like to have tomcat 7 maven plugin, and followed the instruction from
I have a Java servlet website, but does not use any frameworks like Spring
Seems like a simple problem: I have an SVN repo inside our firewall. I
Seems like the subtraction is triggering some kind of issue and the resulting value
Seems like cuke doesn't show the full error message (at least when problem occurs
Enter, Apache Maven : Like many things in the software world, Maven seems to
I have a Maven project structured like this: src/main/java/test/App.java src/main/resources/config/message.txt Inside App.java, I have
In a POM-file i found a maven-ear-plugin configuration that uses defaultJavaBundleDir, but it seems
I have a Maven project that uses the jaxb2-maven-plugin to compile some xsd files.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.