OEPE 12.1.2 - No tag library could be found with this URI (Doc ID 1612529.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Enterprise Pack for Eclipse - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On OEPE 12.1.2.1deploying a webapp to the WLS 12.1.2 instance from the IDE and accessing a jsp results in below trace

sample.jsp:3:5: No tag library could be found with this URI. Possiblecauses could be that the URI is incorrect, or that there were errors during
parsing of the .tld file.

  ^----^
sample.jsp:3:5: No tag library could be found with this URI. Possiblecauses could be that the URI is incorrect, or that there were errors during
parsing of the .tld file.

  ^----^

Below is the complete exception trace

]] Root cause of ServletException.
org.apache.tiles.impl.CannotRenderException: ServletException including path'/WEB-INF/views/template/LayoutNone.jsp'.
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:692)

at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)

at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)

at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)

at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
Truncated. see log file for complete stacktrace
Caused By: org.apache.tiles.util.TilesIOException: ServletException including
path '/WEB-INF/views/template/sample.jsp'.
at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:241)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:243)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
at org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
Truncated. see log file for complete stacktrace
Caused By: weblogic.servlet.jsp.CompilationException: Failed to compile JSP/WEB-INF/views/template/sample.jsp
sample.jsp:3:5: No tag library could be found with this URI. Possiblecauses could be that the URI is incorrect, or that there were errors during
parsing of the .tld file.

  ^----^
sample.jsp:3:5: No tag library could be found with this URI. Possiblecauses could be that the URI is incorrect, or that there were errors during
parsing of the .tld file.

  ^----^

at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:243)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage0(JavelinxJSPStub.java:179)
at weblogic.servlet.jsp.JavelinxJSPStub.access$000(JavelinxJSPStub.java:50)
at weblogic.servlet.jsp.JavelinxJSPStub$1.run(JavelinxJSPStub.java:108)
at java.security.AccessController.doPrivileged(Native Method)
Truncated. see log file for complete stacktrace


Note:However exporting the ear from the IDE and then deploying it on WLS 12.1.2 server,issue is no longer noticed.So the issue is specific to deployment from the OEPE IDE

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms