aspose file tools*
The moose likes JSP and the fly likes getting an internal error () that prevented it from fulfilling this request   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "getting an internal error () that prevented it from fulfilling this request   " Watch "getting an internal error () that prevented it from fulfilling this request   " New topic
Author

getting an internal error () that prevented it from fulfilling this request

sure ky
Greenhorn

Joined: Mar 22, 2007
Posts: 3
hi ...
I am getting an error while i am deploying and testing the web app...
I am new to servlets...
I am using Tomcat 6.0.10 and JDK 1.6....

I framed the JSP code and using RequestDispatcher i am attaching the result (which i got from Model class) to request object.

My servlet code is executed well...and after typing "http://localhost:8098/Beer-v1/form.html", i am seeing my web page.
but wat happens is if i try to submit the data i am getting error like this:
------------------------------------------------------------------------------------
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/el/ELResolver
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.example.web.BeerSelect.doPost(BeerSelect.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.NoClassDefFoundError: javax/el/ELResolver
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
java.net.URLClassLoader.access$000(URLClassLoader.java:56)
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:201)
org.apache.jsp.result_jsp._jspInit(result_jsp.java:23)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.example.web.BeerSelect.doPost(BeerSelect.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
---------------------------------------------------------------------------------------------
I checked all the files...all are correct..
Please help me to come out....
Thanks in advance....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

"sure key",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"sure ky",

Please be advised, accounts with invalid screen names are subject removal.
Please use the link provided by Bear to go back and fix your screen name.
You may use initials for the first name but not the last name?

Is "sure" really your first name?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
sure ky
Greenhorn

Joined: Mar 22, 2007
Posts: 3
yes sure is my first name and ky is last name...
Joan Horta Tosas
Ranch Hand

Joined: Feb 01, 2007
Posts: 59
What's the code giving you this exception? Are you trying to use EL expression language inside a Servlet?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting an internal error () that prevented it from fulfilling this request
 
Similar Threads
Calling JSP from Servlet problem
when iam running my struts application following error comes please help me
Servlet JSP Link error
Servlet call JSP
getting an internal error () that prevented it from fulfilling this request