wood burning stoves 2.0*
The moose likes JSP and the fly likes Error 500--Internal Server Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error 500--Internal Server Error " Watch "Error 500--Internal Server Error " New topic

Error 500--Internal Server Error

Priya dharshini
Ranch Hand

Joined: Aug 06, 2005
Posts: 78
Hi All,

I am new to JSP. When i run my program i got this error. Please tell me, how to solve this error.

Error 500--Internal Server Error
java.lang.NoClassDefFoundError: mypackage/LanguageBean
at jsp_servlet.__beans._jspService(__beans.java:133)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Thanks & Regards,
Priyadharshini . T
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Your JSP file is not able to get mypackage/LanguageBean class.

Create a folder named mypackage in WEB-INF\clasess folder and put your LanguageBean.class file there.

Restart the server and check your JSP again.
[ February 21, 2006: Message edited by: Chetan Parekh ]

My blood is tested +ve for Java.
Priya dharshini
Ranch Hand

Joined: Aug 06, 2005
Posts: 78
Thank You Chetan Parekh. Now its running properly.
I agree. Here's the link: http://aspose.com/file-tools
subject: Error 500--Internal Server Error
Similar Threads
Error creating bean
SocketTimeoutException in Weblogic Server
Got an error
Internal server error with weblogic
after deploying my struts program i have this error