File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes myeclipse servlet Error 500--Internal Server Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "myeclipse servlet Error 500--Internal Server Error" Watch "myeclipse servlet Error 500--Internal Server Error" New topic
Author

myeclipse servlet Error 500--Internal Server Error

Tony Smith
Ranch Hand

Joined: Jul 07, 2007
Posts: 229
I am pretty new with both myeclipse and weblogic. I am using myeclipse 5 with weblogic 8. I just got it installed and finally get myclipse to run weblogic by using jdk142_11 that comes with weblogic instead of myeclipse5.5.1ga.

I am just testing out simple servlet and I am sure the coding and the web.xml are set correctly but I got:

(I found couple other postings with the same problem. Am I missing some external jar files or something? The same code works fine if deployed on tomcat)

Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=20439772,name=test2,context-path=/test2)]: Servlet class com.TestInitParams for servlet TestInitParams could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\domains\mydomain\myserver\stage\_appsdir_test2_war\test2.war\WEB-INF\classes;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver__appsdir_test2_war_test2.
java.lang.UnsupportedClassVersionError: com/TestInitParams (Unsupported major.minor version 49.0).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:905)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: myeclipse servlet Error 500--Internal Server Error