hi,

I am using BEA weblogic server 9.0.I created a new domain named myproject.I have created directory mywebapp under applications dir.

i.e C:\bea\user_projects\domains\myproject\applications\mywebapp

I have placed my servlet class in :

C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes\Mypackage
I deployed my apllication mywebapp using admin console.
when i run the program in the browser,i get this error:

Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101250][weblogic.servlet.internal.WebAppServletContext@ec32de - name: 'mywebapp', context-path: '/mywebapp']: Servlet class Mypackage.HelloServlet for servlet myHello could not be loaded because a class on which it depends was not found in the classpath C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes.
java.lang.NoClassDefFoundError: Mypackage/HelloServlet (wrong name: HelloServlet).
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:5 03)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:234)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebA ppServletContext.java:2970)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.j ava:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletCont ext.java:1888)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.jav a:1810)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1274)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:167)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:139)

I am new to servlet programming.I am not able to fix this problem.I am frustrated as i am not able to fix this problem.Kindly help me.Please provide neceesary information.Thanks.

bye