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.
I had setup a web application which uses spring framework. I had put the c.tld and spring.tld files under WEB-INF/tags folder, created entries in the web.xml. I included the taglib tag in the jsp and I kept getting the error PW6180: unable to initialize tldlocationscache. I was able to fix it eventually by moving the tld files to WEB-INF folder and making changes accordingly.
Created attachment 66925 [details] messages.log
org.apache.jasper.JasperException: PWC6336: Illegal TLD path /WEB-INF/tags/c.tld, must not start with "/WEB-INF/tags" I belive the tld files are supposed to be stored in WEB-INF/tlds, not WEB-INF/tags so the parser complained about it. OTOH I admit that the "unable to initialize tldlocationscache" is not self explanatory. This should be improved.
Yes, WEB-INF/tags folder is used for custom tags not for TLD files. But I agree with Marek, the message should be improved.
Product Version: NetBeans IDE Dev (Build 20110411-95fa2f6ba3a6) Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Userdir: C:\Projects\netbeans\web-main\nbbuild\testuserdir Works for me in both locations. The only note I am getting: Note: C:\Projects\sandbox\WebApplication2\build\generated\src\org\apache\jsp\WEB_002dINF\jsp\index_jsp.java uses unchecked or unsafe operations. But that is irrelevant to the issue.