John,
I've noticed on NetBeans 12.6 that there are some background processes
that get hung up every now and then. Close NetBeans and check your Task
Manager and look for any lingering Java processes. Kill them and
re-open NetBeans. Let it do it's background scan and check your file to
see if it still has the error indicator. A tell-tale, that I found, was
that a Clean-Build works to build the project, even with files flagged
as containing an error. This has even bitten me with building Gradle
projects.
-- Jason Abreu
On 2/23/22 07:00, John Barrow wrote:
Hi,
I have recently cloned Tomcat for some development work and resolving
issues and came across a file that had a red [!] on the file tab, but
the file (very short) didn't mark any lines as exceptions. The project
also builds perfectly.
I have attached a screenshot of the offending file.
Is there a way of determining why the [!] appears?
Hovering over or <right/left-click] on the [!] doesn't reveal anything.
I have shut down NetBeans, removed the cache folder and tried again
but it is persistently there.
Tomcat is an Ant project so that may be relevant as I normally work with Maven.
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists