Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

deploying web application in weblogic8.1  RSS feed

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i hava created one web application and i deployed it in weblogic server
it was showing first page tat was index page
the problem was
when i was trying to access the servlet it was showing some error

the error was
error 500 internal server error

javax.servlet.ServletException: [HTTP:101249][ServletContext(id=12188848,name=myWebApp,context-path=/myWebApp-1)]: Servlet class login for servlet login could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\project\applications\myWebApp;C:\bea\user_projects\project\applications\myWebApp\WEB-INF\classes;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msbase15983.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\mssqlserver15984.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msutil15985.jar;C:\bea\user_pr ojects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\multipartrequest15986.jar;C:\bea\user_projects\project\myserver\.wlnotdelete\extract\myserver_proj_myWebApp.
java.lang.UnsupportedClassVersionError: login (Unsupported major.minor version 49.0).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
at weblogic.servlet.internal.ServletStubImpl.getServlet(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
at weblogic.servlet.internal.ServletRequestImpl.execute(
at weblogic.kernel.ExecuteThread.execute(

and one more thing when i tried to deploy small program tat was executing nicely tat was invoking servlet from jsp output of this servlet was displaying the welcome msg

in my proj when i m trying to invoke servlet from jsp it was showing the above mentioned error i don know y

pls help me
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Riyaz,

Seems the issue is with your classpath settings. Do one thing, just edit your DOMAIN start up scripts i.e startWLS.cmd .

The jars required by your application like struts.jar, etc are missing from the classpath. Just set them and you will rock !!

I faced similar issue as well.

Die Fledermaus does not fear such a tiny ad:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!