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 268560

Summary: Regression: Autocomplete in JSP fails if specific TLDs are imported
Product: javaee Reporter: jan-tosovsky-cz
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description jan-tosovsky-cz 2016-10-17 15:27:44 UTC
When editing JSP code for Liferay portal, employing specific TLDs:

<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>

autocomplete fails and there is NoClassDefFoundError: com/liferay/portal/kernel/util/Validator in the Notification window.

This message is strange as this class is contained in the referenced library:
<dependency>
    <groupId>com.liferay.portal</groupId>
    <artifactId>util-taglib</artifactId>
    <version>6.2.1</version>
    <scope>provided</scope>
</dependency>

I've installed Netbeans 8.1 and the same code works fine. It is clear regression.
Comment 1 jan-tosovsky-cz 2016-10-17 15:41:15 UTC
It seems to be closely related to https://netbeans.org/bugzilla/show_bug.cgi?id=268561
Comment 2 mathieuv 2017-07-24 09:46:52 UTC
Hi, 

Same beahvior here with a hand made taglib included from an external jar of our own in our webapp.

removing the taglib include make autocomplet work 
same source file in 8.1 has autocomplete working ok.

will work a testcase if time permits.