Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
11.0
-
None
-
None
Description
In my project https://github.com/jan-tosovsky-cz/taglib-test I use specific taglib which has dependency on another library. Both are specified as dependencies in my pom.xml file. However, when inserting this taglib into JSP page, NetBeans fails to resolve that dependency correctly. It is logged in the Notification tab, see detailed stack trace:
java.lang.NoClassDefFoundError: com/liferay/portal/kernel/util/Validator
at com.liferay.taglib.portlet.ActionURLTei.getVariableInfo(ActionURLTei.java:33)
at javax.servlet.jsp.tagext.TagInfo.getVariableInfo(TagInfo.java:280)
at org.netbeans.modules.web.core.syntax.JSPProcessor.createBeanVarDeclarations(JSPProcessor.java:143)
at org.netbeans.modules.web.core.syntax.SimplifiedJspServlet.renderProcess(SimplifiedJspServlet.java:237)
at org.netbeans.modules.web.core.syntax.JSPProcessor$2.run(JSPProcessor.java:325)
at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1402)
at org.netbeans.modules.web.core.syntax.JSPProcessor.process(JSPProcessor.java:321)
at org.netbeans.modules.web.core.syntax.EmbeddingProviderImpl.getEmbeddings(EmbeddingProviderImpl.java:52)
at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:576)
at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:299)
at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:140)
at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:126)
at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask$1.run(SuggestionsTask.java:99)
at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:97)
at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:54)
at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)