javax.servlet.ServletException: ERROR: The java component class: business.SMS from the component named: jcComp2 does not have a public, no-argument constructor.

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    exposing a method using simple Interface or Abstract class as Webservice

    Oracle Community | 1 decade ago | 666705
    javax.servlet.ServletException: ERROR: The java component class: business.SMS from the component named: jcComp2 does not have a public, no-argument constructor.
  2. 0

    webservice implementation  using POJO class programming to interface

    Oracle Community | 1 decade ago | 666705
    javax.servlet.ServletException: ERROR: The java component class: business.SMS from the component named: jcComp2 does not have a public, no-argument constructor.
  3. 0

    Creating and binding a reference to a remote EJB

    Oracle Community | 1 decade ago | 666705
    javax.servlet.ServletException: ERROR: The EJB component named: ejbcomp0 specified a JNDI name: ejb/qvas/User, but this JNDI name does not refer to a stateless session EJB.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ejb-link jndi issue

    Oracle Community | 1 decade ago | 3004
    javax.servlet.ServletException: ERROR: The EJB component named: StudentWS specified an ejb-link to SunstartEJBModule.jar#ejb/StudentWS, but this ejb-link could not be found in JNDI. Please ensure that this ejb-link refers to a valid EJB, and this EJB has already deployed. The exception was: javax.naming.NamingException: Could not lookup EJB home, tried java:/app/ejb/SunstartEJBModule.jar#ejb/StudentWS/home and java:/app/ejb/SunstartEJBModule.jar#ejb/StudentWS/localhome
  6. 0

    WAR deploys but EAR doesn't

    Oracle Community | 1 decade ago | 666705
    javax.servlet.ServletException: Web Service init() failed: java.lang.NoClassDefFoundError: math/mathImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      ERROR: The java component class: business.SMS from the component named: jcComp2 does not have a public, no-argument constructor.

      at weblogic.webservice.server.servlet.WebServiceServlet.initLocal()
    2. weblogic.webservice.server
      WebServiceServlet.init
      1. weblogic.webservice.server.servlet.WebServiceServlet.initLocal(WebServiceServlet.java:132)
      2. weblogic.webservice.server.servlet.WebServiceServlet.init(WebServiceServlet.java:86)
      2 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:258)
      1 frame
    4. Atmosphere weblogic
      ServletStubImpl$ServletInitAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
      1 frame
    5. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
      1 frame
    6. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
      1 frame
    7. Atmosphere weblogic
      ServletInitService.resume
      1. weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
      2. weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
      3. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
      4. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
      5. weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
      6. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
      7. weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
      8. weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
      9. weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
      9 frames
    8. weblogic.t3.srvr
      T3Srvr.run
      1. weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
      2. weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
      3. weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
      3 frames
    9. weblogic
      Server.main
      1. weblogic.Server.main(Server.java:32)
      1 frame