- This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by support-swapna.
-
AuthorPosts
-
ractParticipantHi,
I’ve got an EJB project that is dependant on another JAR – let’s call it master.jar.
master.jar has been added to the Java Build PathThe project displays an Error in the Problem/Errors window saying that it cannot find the required jar (and won’t attempt to build).
Checking the Java Build Path again I can edit the entry relating to master.jar and see that the jar exists.
If I expand the Referenced Libraries node in the Package Explorer I do not see master.jar
Refreshing the project and/or restarting MyEclipse doesn’t solve the problem.
Vital statistics are:
MyEclipse Enterprise Workbench
Version: 10.0
Build id: 10.0-20111028
Windows 7 x64 (although problem is also occurring on WinXP x86)
support-swapnaModeratornewtong ,
Sorry that you are seeing this issue with MyEclipse. I am afraid I could not replicate the issue at my end.
1) What are the contents of the Jar file ? Are they typically java class files / libraries ?
2) Is the jar located locally on your machine ? Is there anything unusual about the jar file ?
3) Can you switch to a new workspace, create a plain Java project, add the jar and see if the issue persists ? Also check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest. If yes then paste them here.
ractParticipantHi Swapna,
Thanks for yor response.
1) The contents of the jar file is java classes
2) The jar file is located on the local machine, nothing unusual about it, it is an EJB
3) The issue does not persist for a new workspace/project. I’ve attached some excerpts from the log file that may be relevantCheers,
GarthAttachments:
You must be logged in to view attached files.
support-swapnaModeratorGarth,
It may be a workspace issue. Start the IDE with -clean. Here is an FAQ for -clean : https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
Let us know how it works for you.
-
AuthorPosts