This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
One issue still remain: I realized that the 'compiler compliance level' suppose to be 5 (for the @ annotation and others). I set my application as level 5 and @ annotation works fine. Problem is that I have this annoying red X on the project and the "Java Resources folder"- signaling that something is wrong (and yet it's working).
Just to eliminate my paranoia- why is it like this and how can I remove it?
1. I did clean on the project, I refresh, I restarted 2. In the project's Libraries I have JRE System Library [jre1.5.0_10]
Joined: Feb 15, 2005
Whenever you get a red "X" in Eclipse, it should show you the reason for the problem in the tasks or problems view. If you see what the problem is, but still don't know how to solve it, post it here.
Joined: Sep 10, 2004
problem: Java compiler level does not match the version of the installed Java project facet
Solution: Right click Project --> Properties --> Project Facets and changed the Java version to 5.0
Thank you Merrill!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: struts2 newbie: (1) how to validate without xml & (2) how to have a dispatchAction?