Skip to Content
author's profile photo Former Member
Former Member

"Build EAR File" deletes my .jar file from the file system, then gives error.

I have two projects:

1. An EJB Assembly Project: "FlightAssembly"

2. An EAR Project: "FlightEAR"

3. FlightAssembly builds fine.

4. I right-click on FlightAssembly to get the contextual menu and choose "Build Jar". The .jar is built and shows up in the J2EE Explorer view. I can also see the FlightAssembly.jar is created on the file system and has all my classes inside.

5. In the Properties for "FlightEAR" under "Enterprise Archive Build Info" I can see "Flight Assembly" and under that "FlightAssembly.jar" is listed and checked.

6. I right-click on the FlightEAR project to get the contextual menu. I choose "Build Ear"

7. As soon as I do "Build Ear", "FlightAssembly.jar" dissapears from the FlightAssembly project and from it's location in the file system. An error dialog pops up that says "Ear generation failed." "reason: Missing requiered resource: FlightAssembly.jar" (the word required is misspelled in the dialog, I don't really care about that; I just want it to work)

That's it. I'm stopped cold until I can figure this out. Any help will be appreciated.

Thanks,

Jake

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 01, 2004 at 12:54 AM

    We solved the issue by reload and repair the project.

    Choose "Web Dynpro Perspective", mark the project the sources arebelong to, choose from the context menu "reload" and in the following popup "reload and rebuild".

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2004 at 04:55 PM

    Hi Vishal,

    Found your post in this forum. Do you still need an answer? Does the problem still exists?

    Best Regards,

    Karin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2004 at 02:27 AM

    Hi Jake,

    Just curious how you solve out your error?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.