Daniel Meier created WICKET-6989:
------------------------------------

             Summary: Missing Servlet API Dependency in Wicket Core
                 Key: WICKET-6989
                 URL: https://issues.apache.org/jira/browse/WICKET-6989
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 9.10.0
         Environment: Wicket 9.10.0
Oracle JDK 11.0.15
            Reporter: Daniel Meier


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|https://github.com/dnl50/wicket-missing-servlet-api] to demonstrate the 
issue.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to