Issue Summary

      platform.ctk-plugin with Struts is broken

      Steps to Reproduce

      Hit /confluence/rest/functest/1.0/junit/getTests
       

      Expected Results

      No exception

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      2022-08-02 06:34:38,069 ERROR [http-nio-8080-exec-1] [com.atlassian.functest.functest-plugin] getTests Failed to scan test class: class com.atlassian.refapp.ctk.sal.XsrfRequestValidatorTest
       -- url: /confluence/rest/functest/1.0/junit/getTests | userName: anonymous | traceId: c021a16da807a8ce
      
      Caused by: java.lang.ClassNotFoundException: org.springframework.mock.web.MockHttpServletRequest not found by com.atlassian.platform.ctk-plugin [313]
          at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1585)
          at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
          at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1970)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
          ... 340 more
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [CONFSERVER-79609] Fix platform.ctk-plugin with Struts

            Ganesh Gautam made changes -
            Fix Version/s New: No-Version [ 66670 ]
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Resolution New: Obsolete [ 11 ]
            Status Original: Ready for Development [ 10049 ] New: Closed [ 6 ]
            Ganesh Gautam made changes -
            Priority Original: Low [ 4 ] New: Medium [ 3 ]
            Ganesh Gautam made changes -
            Status Original: Needs Triage [ 10030 ] New: Ready for Development [ 10049 ]
            Ganesh Gautam made changes -
            Story Points New: 1
            Ganesh Gautam made changes -
            Labels New: dep-80 struts2-blocker
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 668469 ]
            Ganesh Gautam made changes -
            Epic Link New: CONFSRVDEV-22580 [ 1857711 ]
            Ganesh Gautam created issue -

              Unassigned Unassigned
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: