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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:55:49+00:00 2026-05-10T23:55:49+00:00

I’ve got m2eclipse plugin installed and there’s no problem syncing compile time dependencies that

  • 0

I’ve got m2eclipse plugin installed and there’s no problem syncing compile time dependencies that appear in pom.xml.

Now, I add JPA + Hibernate(or whatever) dependency that maven catches up just fine when doing mvn jetty:run.

The problem is, Eclipse doesn’t. So I don’t get those extra .jars deployed on the referenced tomcat when I launch the web app from eclipse.

Is there a way to add this kind of web runtime dependencies to Eclipse? Don’t really like the idea of manually editing org.eclipse.wst.common.component.

  • 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. 2026-05-10T23:55:49+00:00Added an answer on May 10, 2026 at 11:55 pm

    I have found that any time you update a project’s POM it helps to rerun m2eclipse or it will not see the new external dependencies.

    If you have not tried to run this since you added your new dependencies ( JPA + Hibernate or whatever ) to your POM then give it a shot and see if it works.

    mvn clean install eclipse:clean eclipse:eclipse eclipse:m2eclipse 

    Please note that after you execute this, you will probably need to refresh your Eclipse projects for the changes to take effect.

    It might not require all of these arguments to work, but I sort of added them all at one point just to make certain. You can tweak the list of arguments to get it to the point that it works for you.

    Doing this may blow away some of your Eclipse preferences for your project, so hopefully you have everything needed to rebuild your project already in your POM. For instance, I have a bunch of extra things in one of my POMs to ensure that things like springnature and springbuilder are added to my eclipse project when maven is used to rebuild the eclipse project.

    <build>   <plugins>     <plugin>       <groupId>org.apache.maven.plugins</groupId>       <artifactId>maven-eclipse-plugin</artifactId>       <configuration>         <additionalProjectnatures>           <projectnature>             org.springframework.ide.eclipse.core.springnature           </projectnature>           <projectnature>             org.eclipse.wst.common.project.facet.core.nature           </projectnature>           <projectnature>             org.eclipse.wst.common.modulecore.ModuleCoreNature           </projectnature>           <projectnature>             org.eclipse.jem.workbench.JavaEMFNature           </projectnature>         </additionalProjectnatures>         <additionalBuildcommands>           <buildcommand>             org.eclipse.wst.common.project.facet.core.builder           </buildcommand>           <buildcommand>             org.eclipse.wst.validation.validationbuilder           </buildcommand>           <buildcommand>             org.springframework.ide.eclipse.core.springbuilder           </buildcommand>         </additionalBuildcommands>         <wtpversion>1.5</wtpversion>       </configuration>     </plugin>   </plugins> </build> 

    This last bit was added as a warning! Would hate for someone to take a working Eclipse project and destroy a bunch of the configuration if they were not already prepared for the consequences of running the eclipse:* commands.

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

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • 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 Cache is an important part or a web app, but… May 11, 2026 at 11:38 pm
  • Editorial Team
    Editorial Team added an answer For the Namespace - I would focus on the standard… May 11, 2026 at 11:38 pm
  • Editorial Team
    Editorial Team added an answer I've had similar problems with an application that I started… May 11, 2026 at 11:38 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

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

Top Members

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.