Galera estou recebendo o erro abaixo ao acessar tanto o form do usuario quanto o método lista:
org.apache.jasper.JasperException: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class br.com.caelum.vraptor.view.LinkToHandler] with qualifiers [@Default @Named @Any] with class class br.com.caelum.vraptor.view.LinkToHandler using classloader WebappClassLoader
context: /alura-horas
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.URLClassLoader@16b2bb0c
JSPs
form.jsp
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib tagdir="/WEB-INF/tags" prefix="alura" %>
<c:import url="/WEB-INF/jsp/header.jsp"/>
<form action="${linkTo[UsuarioController].adiciona(null)}" method="post">
<label for="nome">Nome:</label>
<input type="text" id="nome" name="usuario.nome" class="form-control" value="${usuario.nome}"/>
<alura:validationMessage name="usuario.nome"/>
<label for="email">E-mail:</label>
<input type="text" id="email" name="usuario.email" class="form-control" value="${usuario.email}"/>
<alura:validationMessage name="usuario.email"/>
<label for="login">Login:</label>
<input type="text" id="login" name="usuario.login" class="form-control" value="${usuario.login}"/>
<alura:validationMessage name="usuario.login"/>
<label for="senha">Senha:</label>
<input type="password" id="senha" name="usuario.senha" class="form-control" />
<alura:validationMessage name="usuario.senha"/>
<input type="submit" value="Cadastrar" class="btn"/>
</form>
<c:import url="/WEB-INF/jsp/footer.jsp"/>
lista.jsp
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:import url="/WEB-INF/jsp/header.jsp"/>
<a href="${linkTo[UsuarioController].form()}">Novo usuario</a>
<table class="table table-hover">
<thead>
<tr>
<th>Id</th>
<th>Nome</th>
<th>E-mail</th>
<th>Login</th>
</tr>
</thead>
<tbody>
<c:forEach items="${usuarios}" var="u">
<tr>
<td>${u.id}</td>
<td>${u.nome}</td>
<td>${u.email}</td>
<td>${u.login}</td>
</tr>
</c:forEach>
</tbody>
</table>
<c:import url="/WEB-INF/jsp/footer.jsp"/>
Ambiente: JDK 10 Tomcat 7.0