Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-259

ServletContext.getResourcePaths("/WEB-INF/classes/") returns null in tomcat7:run goal

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: tomcat7
    • Environment:
      All environments

      Description

      From any Servlet, the below code always returns null for tomcat7:run goal. However, the same code works fine for tomcat7:run-war goal.

      request.getServletContext().getResourcePaths("/WEB-INF/classes/");

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              tamal Tamal Kanti Nath
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: