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
paisleyblue
Post subject: Cannot be resolved errors in Java import statements  PostPosted: May 18, 2007 - 06:41 PM
Registered Member
Registered Member


Joined: May 18, 2007
Posts: 1

I am using a professional edition of MyEclipse IDE version 5.1.1 GA for almost three months now. Out of the blue, I started getting 'cannot be resolved' errors in the Java sources in the import statements and object references throughout (red lines, red X boxes). Nothing has changed in the Build Path, and those packages referenced do exist.

Previously, the same problem would happen in the trial version - especially with JSP files. So I upgraded to a paid subscription, and this just started happening again. Any ideas on how I can resolve this? (Its annoying, plus the debugger doesn't like the errors.)
Thanks!!
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Cannot be resolved errors in Java import statements  PostPosted: May 19, 2007 - 05:31 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

Please check your problem view and/or open your project properties and go to Java Build Path > Libraries and see if any of your libraries are User Libraries have error or warning markers next to them.

There was a long-standing bug in the Eclipse platform where User Libraries would become un-bound from their library contents that was finally fixed in 3.3M6... entire thread here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154984

you'll notice the symptoms are very similar to your own.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
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