Getting error : Caused by: java.lang.IllegalArgumentException: JBWEB004249: Page directive: invalid value for import

Solution In Progress - Updated -

Issue

ERROR [io.undertow.request] (default task-27) UT005023: Exception handling request to /path/to/jsp_files/jspFile.jsp: org.apache.jasper.JasperException: JBWEB004001: Unable to compile class for JSP
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:667) [jastow-2.0.7.Final-redhat-00001.jar:2.0.7.Final-redhat-00001]
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) [jastow-2.0.7.Final-redhat-00001.jar:2.0.7.Final-redhat-00001]
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403) [jastow-2.0.7.Final-redhat-00001.jar:2.0.7.Final-redhat-00001]
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347) [jastow-2.0.7.Final-redhat-00001.jar:2.0.7.Final-redhat-00001]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final-redhat-1.jar:1.0.0.Final-redhat-1]
    at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-1.4.18.SP11-redhat-00001.jar:1.4.18.SP11-redhat-00001]
...
...
...
Caused by: java.lang.IllegalArgumentException: JBWEB004249: Page directive: invalid value for import

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content