HTTP Status 500 - java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.el.ELContextImpl -


this question has answer here:

when try browse "localhost:8080" on myeclipse, following error:

type exception report  message java.lang.noclassdeffounderror: not initialize class org.apache.jasper.el.elcontextimpl  description server encountered internal error prevented fulfilling request.  exception   javax.servlet.servletexception: java.lang.noclassdeffounderror: not initialize class org.apache.jasper.el.elcontextimpl     org.apache.jasper.servlet.jspservlet.service(jspservlet.java:343)     javax.servlet.http.httpservlet.service(httpservlet.java:728)   root cause   java.lang.noclassdeffounderror: not initialize class org.apache.jasper.el.elcontextimpl     org.apache.jasper.compiler.validator$validatevisitor.prepareexpression(validator.java:1568)     org.apache.jasper.compiler.validator$validatevisitor.visit(validator.java:747)     org.apache.jasper.compiler.node$elexpression.accept(node.java:954)     org.apache.jasper.compiler.node$nodes.visit(node.java:2376)     org.apache.jasper.compiler.node$visitor.visitbody(node.java:2428)     org.apache.jasper.compiler.node$visitor.visit(node.java:2434)     org.apache.jasper.compiler.node$root.accept(node.java:475)     org.apache.jasper.compiler.node$nodes.visit(node.java:2376)     org.apache.jasper.compiler.validator.validateexdirectives(validator.java:1795)     org.apache.jasper.compiler.compiler.generatejava(compiler.java:217)     org.apache.jasper.compiler.compiler.compile(compiler.java:373)     org.apache.jasper.compiler.compiler.compile(compiler.java:353)     org.apache.jasper.compiler.compiler.compile(compiler.java:340)     org.apache.jasper.jspcompilationcontext.compile(jspcompilationcontext.java:646)     org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:357)     org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:390)     org.apache.jasper.servlet.jspservlet.service(jspservlet.java:334)     javax.servlet.http.httpservlet.service(httpservlet.java:728) 

are trying run web app on jetty server? error noclassdeffounderror means not have jar file required run code.

here stackoverflow question on same issue.

org.apache.jasper.el.elcontextimpl cannot cast org.apache.jasper.runtime.elcontextimpl

if using eclipse ide, recommend download eclipse jetty plugin

https://code.google.com/p/run-jetty-run/

or in eclipse under -> market place -> enter 'jetty' or 'jetty plugin' download run-jetty-run plugin


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -