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.
Created attachment 100622 [details] tries to use JSTL core library [ NetBeans IDE 6.9 & GlassFish 3.0.1 release ] 1. Run attached project - works ok. 2. In Projects window, right-click 'index.jsp' and choose Run File. The following error results: org.apache.jasper.JasperException: index.jsp(7,61) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
I can replicate this issue with the dev build and 3.1 bits... It looks like libs.jsp-compiler.classpath and libs.jsp-compilation.classpath are not defined in a web app project so the compilation fails.
I retargeted a Java EE 5 version of the app to Tomcat and it did not run at all... This exception appeared in the browser... org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315) org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:383) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:446) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1393) org.apache.jasper.compiler.Parser.parse(Parser.java:130) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255) org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185) org.apache.jasper.compiler.Compiler.compile(Compiler.java:347) org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
I also have the problem, in netbeans 6.9.1 And I found the reason is the jstl lib was not include to jave web project. when you create an new javeweb project, you need adding the jstl lib to your project manually. then at the jsp file, the taglib and uri can have the help popup . but I don't know if it necessary that when a new javaweb project created, also the jstl lib must be included. If yes, I think may be someone can fixed this problem easily.
I just retested the original test case on Product Version: NetBeans IDE Dev (Build 20120413-30608bf6ba9c) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02 System: Linux version 3.0.0-17-generic running on amd64; UTF-8; en_NZ (nb) with GlassFish 3.1.1 and everything works fine.