com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base) [http://localhost/sls-core-tests-fast/WEB-INF/jsp/Login.jsp]

httpunit | marcelschoen | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java 9 Compatibility

    httpunit | 7 months ago | marcelschoen
    com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base) [http://localhost/sls-core-tests-fast/WEB-INF/jsp/Login.jsp]
  2. 0

    httpunit / Bugs / #453 Java 9 Compatibility

    sourceforge.net | 4 months ago
    com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base)
  3. 0

    ConfigTest doesn work

    httpunit | 1 decade ago | richard_schmidt
    com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 java.lang.IllegalAccessException: Class com.meterware.servletunit.WebApplication$ServletConfiguration can not access a member of class test.ConfigTest$ConfigServlet with modifiers "" \[http://localhost/something/interesting\]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.meterware.httpunit.HttpInternalErrorException

      Error on HTTP request: 500 java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader (in module: java.base) cannot be cast to java.net.URLClassLoader (in module: java.base) [http://localhost/sls-core-tests-fast/WEB-INF/jsp/Login.jsp]

      at com.meterware.servletunit.WebApplication$ServletRequestImpl.getServlet()
    2. HttpUnit
      WebApplication$ServletRequestImpl.getServlet
      1. com.meterware.servletunit.WebApplication$ServletRequestImpl.getServlet(WebApplication.java:782)
      1 frame