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.
Build enterprise cluster but then in Plugin Manager select JSF and Uninstall. Now run ValidateLayerConsistencyTest => junit.framework.AssertionFailedError: No improper nbinst URLs org-netbeans-api-project-libraries/Libraries/jsp-compilation-syscp.xml: cannot open nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-impl.jar: java.io.FileNotFoundException: Cannot find: nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-impl.jar org-netbeans-api-project-libraries/Libraries/jsp-compilation.xml: cannot open nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-api.jar: java.io.FileNotFoundException: Cannot find: nbinst://org.netbeans.modules.web.jsf20/modules/ext/jsf-2_1/jsf-api.jar at org.netbeans.core.validation.ValidateLayerConsistencyTest.assertNoErrors(ValidateLayerConsistencyTest.java:167) at org.netbeans.core.validation.ValidateLayerConsistencyTest.testNbinstHost(ValidateLayerConsistencyTest.java:968) The problem is that these two libs are defined in the relatively generic web.core, yet assume the presence of JARs bundled with web.jsf20 which would not be available unless JSF support were also installed. Solution would be to either remove these JARs from the lib definitions, or move the lib definitions to some JSF-specific module.
> The problem is that these two libs are defined in the relatively generic > web.core, yet assume the presence of JARs bundled with web.jsf20 which would > not be available unless JSF support were also installed. I took a look on the issue #192308 where the dependency on JSF libraries was added and it seems to me that jasper needed this dependency to compile .jsp pages properly. > Solution would be to either remove these JARs from the lib definitions, or move > the lib definitions to some JSF-specific module. It would probably bring new regressions by compiling JSPs. But since there is needs for JSF library wouldn't be correct solution to define dependency on the web.jsf20 library? So the library itself wouldn't uninstalled together with JSF support.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss