This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Netbeans 8.2 'cannot find symbol' error on variable from another <%@ include file | ||
---|---|---|---|
Product: | javaee | Reporter: | tlf30 |
Component: | JSP | Assignee: | issues@javaee <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tlf30
2017-01-07 20:35:29 UTC
This bug is completely defeating the "Test compile all JSP files during builds" option on the Project Properties->Build->Compiling page. I can manually select JSPs and compile them individually, but for a large complex system this is not practical at all. Neither is just deploying and seeing what goes bang ;) Seems like this should be higher than a P3 defect. DKK_PUB, I agree completely, I already have two very large projects where this has become a problem. tlf30, this isn't seem to be an easy fix! (In reply to eta from comment #3) > tlf30, this isn't seem to be an easy fix! It would not be too bad. When NetBeans is looking for a varible to be declared, it needs to look at the included jspf files to see if any variables declared in them. And it should probably give a warning about bad practice that we can disable :) (In reply to tlf30 from comment #4) For the resolution of the variable in f1.jspf, lookup usage cases and then perform the same check. |