Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6989

Missing Servlet API Dependency in Wicket Core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 9.10.0
    • None
    • wicket-core
    • None
    • Wicket 9.10.0
      Oracle JDK 11.0.15

    Description

      When you try to instantiate a new WicketTester Instance by calling the WicketTester#WicketTester(WebApplication) Constructor using JDK 9+, you get a `NoClassDefFoundError` since the `javax.servlet.ServletContext` Class is not found.

      I uploaded an Gradle example project to Github to demonstrate the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dnl Daniel Meier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: