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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:19:30+00:00 2026-05-26T11:19:30+00:00

I have a web application built using maven. It is built in the form

  • 0

I have a web application built using maven. It is built in the form of different projects, that depend on each other – domain, dao, services etc. I ran eclipse:eclipse in each of them to configure my eclipse environment. So now I have multiple projects in eclipse. This is my development environement.

I also built a tomcat bundle for the Operations guys so I can just provide them with a zip file which they can extract and run a batch file to start the server up. This zip file contains a war file which is referred to in the <context> configuration for tomcat.

Also, for development purposes, I have set tomcat to start up from within eclipse. My aim is to do hot code deploy whenever the source changes. This doesnt happen currently because the class files live in the “target” folder(due to maven’s directory structure). And tomcat looks at the war file(exploded structure i mean..)

How can i configure my tomcat/eclipse enviroment so I can start doing hot code deploy?

-thanks!

  • 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-26T11:19:31+00:00Added an answer on May 26, 2026 at 11:19 am

    I use the tomcat-maven-plugin and its goal tomcat7:run to start tomcat from within eclipse (btw using m2e plugin for eclipse – great tool – available from eclipse market place). Hot code replacement doesn’t work for me, too. But I use a workaround: with <contextReloadable>true</contextReloadable> tomcat reloads the application whenever it detects a file change.

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <path>/myapp</path>
                    <contextReloadable>true</contextReloadable>
                </configuration>
            </plugin>
        </plugins>
    </build>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a web application using Java EE platform that sells one of
We have a web application that has been built using MySQL / PHP /
I have a spring based web application MyWebapp built using maven and deployed on
I have a web application that needs to be built using a nant script.
All, I have a PHP Web application built using Zend Framework and MVC with
We have built a web application that accepts SOAP messages, does some processing, calls
We have built a hosted web application, that is developed in a way that
I have an application that will accept URLs from the built in web browser
We have a web based application in production built using django. It is deployed
We have a web application that runs on IIS using .NET 2.0 developed and

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.