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 687745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:09:32+00:00 2026-05-14T02:09:32+00:00

I find it very frustrating doing web development with Maven & Jetty using Eclipse,

  • 0

I find it very frustrating doing web development with Maven & Jetty using Eclipse, compare with what I did using Visual Studio.
Everytime I make a change, even a minor change in my view file, (*.jsp, for example), then I have to re-package the whole web -> waiting for jetty to reload everything before I can see the change.

Is there any better way to do that, some thing like an automatically plugin that will picked that changed files and deploy the changed files to web server?

  • 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-14T02:09:32+00:00Added an answer on May 14, 2026 at 2:09 am

    The way you are using Maven, Jetty (and Eclipse) together is unclear but since the question is tagged Maven, I’ll cover the Maven way. With a project of type war, one easy way to get the webapp up and running is to use the Maven Jetty Plugin. To do so, simply add the following snippet to your POM:

    <project>
      ...
      <build>
        <plugins>
          <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <version>6.1.10</version>
          </plugin>
          ...
        </plugins>
        ...
      </build>
      ...
    </project>
    

    With this setup, running mvn jetty:run will start a jetty container with your application deployed. Any change on a view will cause the JSP to be recompiled when requested. And to configure the jetty plugin to also watch for Java code changes, you’ll have to add the scanIntervalSeconds option:

    scanIntervalSeconds Optional. The pause in seconds between sweeps of the webapp to check for changes and automatically hot redeploy if any are detected. By default this is 0, which disables hot deployment scanning. A number greater than 0 enables it.

    So the configuration might look like:

    <project>
      ...
      <build>
        <plugins>
          <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <version>6.1.10</version>
            <configuration>
              <scanIntervalSeconds>1</scanIntervalSeconds>
            </configuration>
          </plugin>
          ...
        </plugins>
        ...
      </build>
      ...
    </project>
    

    And if you want to be able to connect a remote debugger, have a look at these instructions.

    This is how I’ve always used Jetty with Maven and Eclipse, and I’ve always been happy with this setup. I’ve never used the Jetty adapter for the WTP, the previous setup is just unbeatable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 515k
  • Answers 515k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Option 1 Best way for parsing like this is to… May 16, 2026 at 6:24 pm
  • Editorial Team
    Editorial Team added an answer If you can't rotate in Z, then you can only… May 16, 2026 at 6:24 pm
  • Editorial Team
    Editorial Team added an answer First, find a median of the given array (it takes… May 16, 2026 at 6:24 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Im using c# 2008 winforms. Ive found it very frustrating trying to find the
I have started following Test Driven Development and find it very logical and helps
This is very frustrating, if I search for a variable in a vb file
I have a very frustrating bug in an application I am working on. The
I've just spent a very frustrating afternoon trawling Google looking for a commercial-grade WPF
recently I've installed the FireGestures plugin for Firefox, which I find very useful. You
I haven't been able to find a very good way of getting 10 random
I'm using Git-Svn to interact with a Svn repository at work and I can't
EmployeeNumber = string.IsNullOrEmpty(employeeNumberTextBox.Text) ? null : Convert.ToInt32(employeeNumberTextBox.Text), I often find myself wanting to do
Why do most developers consider the W3C box model to be better than the

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.