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

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, 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)
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]	at com.meterware.servletunit.WebApplication$ServletRequestImpl.getServlet(WebApplication.java:782)