Accessing any JSP (e.g. pages from JMX-Console) throws NoClassDefFoundError for class "org.eclipse.jdt.internal.compiler.parser.Parser"

Solution Unverified - Updated -

Issue

  • Although the server boots correctly but while accessing any JSP (e.g. pages from JMX-Console) throws the following ERROR messages inside the server log.
2012-05-14 13:43:35,334 ERROR [[jsp]] Servlet.service () for servlet jsp threw exception
java.lang.ExceptionInInitializerError: missing file parser14.rsc
    at org.eclipse.jdt.internal.compiler.parser.Parser.<clinit>(Parser.java:217)
    at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:560)
    at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:263)
    at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:153)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    .......
2012-05-14 13:43:35,384 ERROR [[jsp]] The Servlet.service () for servlet jsp threw an exception
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jdt.internal.compiler.parser.Parser
    at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:560)
    at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:263)
    at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:153)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
    .........

Environment

  • JBoss Enterprise Service Oriented Architecture Platform (SOA-P)
    • 5.1.0

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