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.

Bug 270343

Summary: Include jsp file from JAR lib gives file not found
Product: editor Reporter: ramontemp
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ramontemp 2017-04-10 10:31:33 UTC
In my webapp I am including a jsp file from another project.

so in the jar project I have under /META-INF/resources/test.jsp

in the web app project I included the JAR lib in the classpath and in my jsp page I include like:

<%@ include file="/test.jsp"%>

When I compile and run the webapp, everything works fine, but I get the warining in the netbeans editor:

PWC6117: File "test.jsp" not found

How can I make netbeans be aware of the file when coding?

Thanks