Owee<br />SCJP 1.4
Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
shraddhasav
shraddha sawant wrote:I am new to weblogic server. i am using 9.0 version of it.
I was trying to deploy a web app on weblogic which gives following error.
"Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@1a9e627 - name: 'myapp2diff', context-path: '/myapp2diff']: Servlet class a.SumServlet for servlet sum could not be loaded because the requested class was not found in the classpath C:\bea\weblogic90\samples\domains\wl_server\autodeploy\myapp2diff\WEB-INF\classes.
java.lang.UnsupportedClassVersionError: a/SumServlet : unsupported classversion 51.0.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:512)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:224)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)"
But same application runs well if deployed in tomcat 7.0.
Is there any default directory for weblogic like webapps in tomcat? Should there be any change in web.xml file for weblogic? Does weblogic requires any weblogic.xml files for deployment? please help.(Means i couldn't get exact information whether this file is required for weblogic 9.0). i am not using any IDE software.
Rather i was unable to configure weblogic for myeclipse. This problem i will solve later.
Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
shraddhasav
shraddha sawant wrote:Yes, I used 1.7 to compile and my weblogic's java version is 1.4.
Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
shraddhasav
Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|