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 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java 9 Compatibility

    httpunit | 5 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 | 2 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)

    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