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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:04:01+00:00 2026-05-27T07:04:01+00:00

I am using Maven 2.2.1. I have an enterprise java maven project which I

  • 0

I am using Maven 2.2.1. I have an enterprise java maven project which I am trying to build. When I run mvn clean install the EAR is generated. No compilation errors are found. In the logs I get the message that 1980 source files are compiled to ApplicationWeb\target\classes directory. But I cannot find these class files in the location and they are not present in WAR. How to solve this ?

Edit: When built from Eclipse using Maven plugin, its working fine. It gives issue when run from Windows Command Prompt. Why the difference ?

  • 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-27T07:04:02+00:00Added an answer on May 27, 2026 at 7:04 am

    That sort of thing usually happens when you’re using a different version of Maven. I’m betting your Eclipse is using 3.x which is the in built version.

    You have 2 choices:

    1. Make Eclipse use the same version as your command line
    2. Install a new version of Maven. (3.0.3 is the latest)

    I’d recommend upgrading Maven to the latest and getting both your command line and Eclipse to use the same installed version.

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

Sidebar

Related Questions

We have our project build using maven. We try to run our unit test
I have a Maven Java project, imported using m2eclipse . The target/ directory is
I have a large Java Web Application project using Maven and I need to
I have a project which is build through maven. Each module is built as
We have created a jar(Spring project) which we are including using Maven in another
I have openNMS 1.8.12-1 source code and trying to build it using maven and
I have a huge multi-module project , which is being built using maven. Most
I have a web project. I build it using maven(complete all stages in every
I have a Maven Java EE project built using javaee5-maven-archetype and imported into Eclipse(Helios).
I have a small command line utility project that I'm using Maven to manage.

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.