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

  • Home
  • SEARCH
  • 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 6540419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:58:36+00:00 2026-05-25T10:58:36+00:00

I was using WebSphere Allication Server version 7.0.0.13 in deploying my application. The war

  • 0

I was using WebSphere Allication Server version 7.0.0.13 in deploying my application. The war was build using Ant version 1.8.2 to build the war and ear file. When I am installing my application through WebSphere, I hit the following error:

The EAR file could be corrupt and/or incomplete. Make sure that the
application is at a compatible Java(TM) Platform, Enterprise Edition
(Java EE) level for the current version of WebSphere(R) Application
Server.

com.ibm.websphere.management.application.client.AppDeploymentException
[Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
dd_in_ear_load_EXC_]

May I know what cause the problem? Or did I miss configure something in Ant script? Below are the ANT script for compiling the WAR and EAR.

<target name="compilewar" description="generating war">
        <war destfile="${dist.path}/WebApp.war" webxml="${source.path}/mywebapp/src/main/webapp/WEB-INF/web.xml">
            <webinf dir="${source.path}/mywebapp/src/main/webapp/WEB-INF/" includes="**/*"/>
            <lib dir="${dist.path}/" includes="*.jar"/>
            <classes dir="${source.path}/mywebapp/src/main/resources/" includes="**/*"/>
            <fileset dir="${source.path}/mywebapp/src/main/webapp/">
                <include name="**/*.jsp"/>
            </fileset>
            <fileset dir="${source.path}/mywebapp/src/main/webapp/">
                <include name="main/**/*"/> 
            </fileset>
        </war>
    </target>

<target name="compileear" description="Compile Ear file">
        <ear destfile="${source.path}/myear/src/main/application/WebApp.ear" appxml="${svn.working.project.path}application.xml">
            <metainf dir="${source.path}/mywebapp/src/main/webapp/META-INF"/>
            <fileset dir="${dist.path}/" includes="*.war"/>
        </ear>
    </target>

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-25T10:58:37+00:00Added an answer on May 25, 2026 at 10:58 am

    I have the problem solved. This is due to the missing source properties in javac ant task. As mention in the ANT documentation for source properties:

    Note that the default value depends on the JVM that is running Ant. We
    highly recommend to always specify this attribute.

    It is recommended to specify the java version that going to be used for the compilation. Below is the sample usage on the source properties:

    <javac source="1.6"/>
    

    THanks @!

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

Sidebar

Related Questions

How to deploy rar/ear/war file to IBM Web Sphere Application Server 7.0 using maven
Hi I am using IBM Websphere application Server 7.0 trial version and the priod
I'm trying to deploy an EAR to our Websphere Application Server version 7 (exactly
I am trying to remotely deploy a war file to a websphere application server.
We're using Spring/Hibernate on a Websphere Application Server for AIX. On my Windows machine,
We're using Spring 2.5.4/Hibernate 3.2/Websphere Application Server 6.1.0.17. We've deployed the application on an
I have seen this question about deploying to WebSphere using the WAS ant tasks.
I am using IBM Websphere Application Server v6 and Java 1.4 and am trying
Hi I'm trying to build/deploy war to websphere process server 7.0. and I run
I am using Websphere Application Server to create a typical web application where UI

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.