MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
newtong
Post subject: MyEclipse won't recognise JAR in build path  PostPosted: Jan 10, 2012 - 12:39 AM



Joined: Sep 04, 2011
Posts: 2

Hi,

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 Path

The 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)
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 10, 2012 - 06:51 AM



Joined: Nov 11, 2010
Posts: 2193

newtong ,

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
newtong
Post subject:   PostPosted: Jan 11, 2012 - 09:52 PM



Joined: Sep 04, 2011
Posts: 2

Hi 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 relevant

Cheers,
Garth
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 12, 2012 - 05:03 AM



Joined: Nov 11, 2010
Posts: 2193

Garth,

It may be a workspace issue. Start the IDE with -clean. Here is an FAQ for -clean : http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

Let us know how it works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits