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 - Regression: Autocomplete in JSP fails if specific TLDs are imported
Summary: Regression: Autocomplete in JSP fails if specific TLDs are imported
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P1 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 15:27 UTC by jan-tosovsky-cz
Modified: 2017-07-24 09:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.