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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via httpunit by marcelschoen
, 1 year ago
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]
via sourceforge.net by Unknown author, 10 months ago
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)
via httpunit by richard_schmidt
, 1 year ago
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\]
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]

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.