Community
Participate
Working Groups
It sometimes happens that during the EE projects, sometimes when compiling the class file, there is an error shows that the reference cannot be resolved even if the reference is clearly present. I doubt that this is actually because of the earlier cache with which the compiler works where it is not able to see the changes may be. The resolution what i do is that i select the whole class content (Ctrl+A) and cut it (Ctrl + X) and the paste it back (Ctrl + V). Then save the file. The reference then works fine. It happened with me many times but not specifically with any particular class for which i am not able to send the attachment. Happened in Eclipse Helios 3.6.2
We need more information. Try to isolate the issue and having the steps to reproduce the issue would be most welcome. Do you see it only with the Java EE projects and not with regular Java projects? Could you try it with a newer build and see if the problem goes away. Lot of fixes have gone in since 3.6.2
It may take time for me to again reproduce the scenario. I will be getting back to you with the steps once i again discover the same. Thanks for your time!
Please reopen if you can provide steps to reproduce the problem.