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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:35:00+00:00 2026-05-30T18:35:00+00:00

Sorry for being verbose… I have some existing maven projects. I imported them into

  • 0

Sorry for being verbose…

I have some existing maven projects. I imported them into Eclipse using Maven -> Import existing Maven projects.

This gave me 6 individual projects and one project which lists all 6 under it. (The umbrella project has 6 modules defined in it which translated to 6 eclipse project – as I understand how maven works)

One of the project A requires two other project B and C (at compile time and run-time).

Build path –
On the build path of A I have one of the libraries as Maven dependencies. And it builds fine.

Deployment assembly –
On the deployment assembly of A however there is no entry for deploy to web-inf/lib. Because of that when tomcat starts it doesn’t find any required jars or the project B and C.
So I added an entry to deployment assembly as : source – maven And dependencies deploy – web-inf/lib.
Tomcat comes up and my webapp for project A comes up.

This however breaks the eclipse build – upon build eclipse complains:
“Invalid classpath publish export Project entries not supported”

This I see is because, under build path, there is new entry added to web-inf/lib to publish/export under maven-dependencies. Removing that removes maven entry from the deployment assembly as well.

The only workaround is that in the deployment assembly I specify the web-inf/lib under target generated by maven but that causes stale copies of project B and C to be picked up.

Why I need this setting is because when I make changes to project B and C in Eclipse and build them in Eclipse I want to see the changes when I am debugging project A. I don’t want to run maven builds on B and C again since its time consuming.

Any help is much appreciated.

I did try including the MAVEN2_CLASSPATH_CONTAINER but that is always empty and when tomcat runs it cannot find the necessary libraries. (BTW what vale is the MAVEN2_CLASSPATH_CONTATINER set to?)

This is on Eclipse Indigo Mac OSX.

  • 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-30T18:35:02+00:00Added an answer on May 30, 2026 at 6:35 pm

    For anyone else that searches for this, it seems that you can also manually add the following to the .classpath file

    <classpathentry combineaccessrules="false" kind="src" path="/B"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read in some blog some time ago (sorry for being vague) that
Sorry for the long post...I'm have a habit of being pretty verbose. :-P I
Sorry guys, not being lazy, I know others have had the same error message
really sorry about being totally thick today but I have forgotten how to do
Sorry for being to vague last time I asked this question. I have this
Sorry to being a noob, but I just moved from Window, Eclipse and Java
Sorry for being the 100000th person to ask the same question. But I guess
guys sorry for being so noob but im still starting yet with my php,
Ok so sorry for being, I guess, a bit off topic but still I
Sorry in advance for this being such a beginner question. Here are the steps

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.