aspose file tools*
The moose likes Servlets and the fly likes Error: Unable to load class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error: Unable to load class " Watch "Error: Unable to load class " New topic

Error: Unable to load class

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

I am trying to use bean (compiled OK) in JSP and get this message:
org.apache.jasper.JasperException: Unable to load class Fruit
at org.apache.jasper.compiler.BeanRepository.getBeanType(
at org.apache.jasper.compiler.GetPropertyGenerator.generate(
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(
at org.apache.jasper.compiler.JspParseEventListener.generateAll(
at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.servlet.JspServlet.doLoadJSP(
at org.apache.jasper.servlet.JasperLoader12.loadJSP(
at org.apache.jasper.servlet.JspServlet.loadJSP(
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServletWrapper.doService(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
at org.apache.tomcat.service.TcpWorkerThread.runIt(
at org.apache.tomcat.util.ThreadPool$

Somebody can help?
Don't get me started about those stupid light bulbs.
subject: Error: Unable to load class