Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error 500- Server are not find the jar file in the program upload the file

807589Dec 10 2008 — edited Dec 10 2008
Hello To Every One,
I make a program to upload a file.I include the commons-fileupload-1.2.1.jar file in lib folder.
I set the classpath=%classpath%;C:\Vijay\Upload\WEB-INF\lib\commons-fileupload-1.2.1.jar;
Error 500--Internal Server Error:
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=29091418,name=Upload,context-path=/Upload)]: Servlet class UploadFile for servlet one could not be loaded because the requested class was not found in the classpath C:\Vijay\webservices\Upload;C:\Vijay\Upload\WEB-INF\classes;C:\bea\user_projects\vijay\.\myserver\.wlnotdelete\extract\myserver_Upload_Upload\jarfiles\WEB-INF\lib\commons-fileupload-1.2.164351.jar.
java.lang.UnsupportedClassVersionError: UploadFile (Unsupported major.minor version 50.0).
	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:794)
	at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Please Help me.
-Vijay.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2009
Added on Dec 10 2008
21 comments
1,493 views