I migrated my project from Net beans 6.9.1 to Net Beans 7.3.1 and faced this annoying error a red exclamation icon on a random file jsp or java .
I opened them and did not find any error.
I tried some suggestions after searching Google to disable html and jsp validation with no luck , another suggestion was to delete the cache files under user directory folder cache at C:Usershome.netbeans6.9varcache
and also without luck !!!
Advertisement
Answer
You can try to do the following … it worked for me
rename the file of jsp or java to make the error go away for example
test.java renamed to test_.java and then renamed back to test.java
also same for jsp or xml
references
By working with netbenas on some projects in some of these projects netbeans files mark some files with the symbol of admiration and the message “Error parsing file”. This occurs because of a problem netbenas cache. The solution to this is to close the netbenas, clean (delete cache files and start the netbenas will return. Here are the different routes of some operating systems cache.
WINDOWS: C: Users AppData Local NetBeans Cache 7.2
MAC OS X: / Users // Library/Caches/NetBeans/7.2 /
UNIX: / home // .cache/netbeans/7.2
good luck