I am trying to create a servlet and that servlet will take the process id as an

I am trying to create a servlet and that servlet will take the process id as an input and redirect the user who is accessing the servlet to open a specific task of the given process id. However, it gives me 404 and writes the below log

Caused by: java.lang.ClassCastException: com.karthik.integration.OpenHomePage cannot be cast to javax.servlet.http.HttpServlet
at com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor.getModule(ServletModuleDescriptor.java:50)
at com.atlassian.plugin.servlet.DelegatingPluginServlet.<init>(DelegatingPluginServlet.java:33)
at com.atlassian.plugin.servlet.DefaultServletModuleManager$LazyLoadedServletReference.create(DefaultServletModuleManager.java:461)
at com.atlassian.plugin.servlet.DefaultServletModuleManager$LazyLoadedServletReference.create(DefaultServletModuleManager.java:447)
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)
at com....

OriginalPostID-198296

OriginalPostID-198296

  Discussion posts and replies are publicly visible

Parents
  • ...atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)
    ... 120 more
    2016-03-02 02:41:37,164 [ajp-/0.0.0.0:8009-4] ERROR com.appiancorp.ap2.PortalResponse - Error: 404 Message: Could not find servlet for: /suite/plugins/servlet/OpenHomePage

    My class extends HttpServlet though I get the above said exception.

    public class OpenCDDHomePage extends HttpServlet {

              private static final long serialVersionUID = 1L;

              /**
               *
               */
    Please help me in resolving this
Reply
  • ...atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)
    ... 120 more
    2016-03-02 02:41:37,164 [ajp-/0.0.0.0:8009-4] ERROR com.appiancorp.ap2.PortalResponse - Error: 404 Message: Could not find servlet for: /suite/plugins/servlet/OpenHomePage

    My class extends HttpServlet though I get the above said exception.

    public class OpenCDDHomePage extends HttpServlet {

              private static final long serialVersionUID = 1L;

              /**
               *
               */
    Please help me in resolving this
Children
No Data