Olá, pessoal!
Estou tentando rodar e fazer cadastro, mas ocorreu erro. veja em baixo
GRAVE: Error loading WebappClassLoader
context: /TesteWebIniciante2
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@63b9240e
ServletCadastro
java.lang.ClassNotFoundException: ServletCadastro
Configurei do web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>TesteWebIniciante2</display-name>
<welcome-file-list>
<welcome-file>Cadastro.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>ServletCadastro</display-name>
<servlet-name>ServletCadastro</servlet-name>
<servlet-class>ServletCadastro</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServletCadastro</servlet-name>
<url-pattern>/ServletCadastro</url-pattern>
</servlet-mapping>
</web-app>
É correto a configuração do web.xml? ou errado?