Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

myeclipse servlet Error 500--Internal Server Error

 
Tony Smith
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic