Segue meu código, estou recebendo um status 500 e não acho o bug, pare-me que ta perfeito, estou usando a base do MYDVDS !
23:07:36,685 DEBUG [DefaultResourceTranslator] trying to access /pessoa/adiciona
23:07:36,686 DEBUG [DefaultResourceTranslator] found resource [DefaultResourceMethod: PessoaController.adicionaPessoaController.adiciona(Pessoa)]
23:07:36,694 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor FlashInterceptor
23:07:36,697 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor InterceptorListPriorToExecutionExtractor
23:07:36,709 DEBUG [InstantiatedInterceptorHandler] Invoking interceptor HibernateTransactionInterceptor
23:07:36,710 DEBUG [InstantiatedInterceptorHandler] Invoking interceptor AuthorizationInterceptor
Hibernate: select usuario0_.login as login0_0_, usuario0_.name as name0_0_, usuario0_.password as password0_0_ from Usuario usuario0_ where usuario0_.login=?
23:07:36,712 DEBUG [InstantiatedInterceptorHandler] Invoking interceptor InstantiateInterceptor
23:07:36,766 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ParametersInstantiatorInterceptor
23:07:36,767 DEBUG [AsmBasedTypeCreator ] Trying to make class for PessoaController$adiciona$1653963030$4
23:07:36,767 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for PessoaController.adiciona(Pessoa) as [pessoa]
23:07:36,767 DEBUG [AsmBasedTypeCreator ] Parameter names found for creating type are: [Pessoa]
23:07:36,767 DEBUG [AsmBasedTypeCreator ] Method for field 'Pessoa' being defined for type Lbr/com/caelum/vraptor/mydvds/model/Pessoa;
23:07:36,768 DEBUG [AsmBasedTypeCreator ] Methods: [public void PessoaController$adiciona$1653963030$4.setPessoa(br.com.caelum.vraptor.mydvds.model.Pessoa), public br.com.caelum.vraptor.mydvds.model.Pessoa PessoaController$adiciona$1653963030$4.getPessoa()]
23:07:36,768 DEBUG [AsmBasedTypeCreator ] Fields: [private br.com.caelum.vraptor.mydvds.model.Pessoa PessoaController$adiciona$1653963030$4.Pessoa_]
23:07:36,784 DEBUG [CacheBasedTypeCreator] cached generic type for method [DefaultResourceMethod: PessoaController.adicionaPessoaController.adiciona(Pessoa)]
23:07:36,784 DEBUG [OgnlParametersProvider] Applying pessoa.digina with [NAO TEM]
23:07:36,795 DEBUG [OgnlParametersProvider] Applying pessoa.titulo_ele with [66666666]
23:07:36,796 DEBUG [OgnlParametersProvider] Applying pessoa.endereco with [rua dos inferno]
23:07:36,796 DEBUG [OgnlParametersProvider] Applying pessoa.nome with [BUG DOS INFERNO]
23:07:36,826 DEBUG [OgnlParametersProvider] cant find property for expression pessoa.nome ignoring
23:07:36,827 DEBUG [OgnlParametersProvider] Applying pessoa.email with [capeta@gmail.com]
23:07:36,828 DEBUG [OgnlParametersProvider] Applying pessoa.uf with [ce]
23:07:36,828 DEBUG [OgnlParametersProvider] Applying pessoa.matricula with [666666]
23:07:36,829 DEBUG [OgnlParametersProvider] Applying pessoa.data_nasc with [02/02/1666]
23:07:36,854 DEBUG [OgnlParametersProvider] Applying pessoa.cidade with [fortaelza]
23:07:36,857 DEBUG [OgnlParametersProvider] Applying pessoa.fone with [8591524630]
23:07:36,858 DEBUG [OgnlParametersProvider] Applying pessoa.rg with [66666]
23:07:36,859 DEBUG [OgnlParametersProvider] cant find property for expression pessoa.rg ignoring
23:07:36,859 DEBUG [OgnlParametersProvider] Applying pessoa.bairro with [inferno 666]
23:07:36,859 DEBUG [OgnlParametersProvider] Applying pessoa.orgao_exp with [ssp]
23:07:36,860 DEBUG [OgnlParametersProvider] Applying pessoa.id with [1]
23:07:36,868 DEBUG [OgnlParametersProvider] Applying pessoa.celular with [9558888888]
23:07:36,869 DEBUG [OgnlParametersProvider] Applying pessoa.cpf with [6666666666]
23:07:36,870 DEBUG [OgnlParametersProvider] Applying pessoa.data_matricula with [02/02/2000]
23:07:36,873 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for PessoaController.adiciona(Pessoa) as [pessoa]
23:07:36,876 DEBUG [ParametersInstantiatorInterceptor] Parameter values for [DefaultResourceMethod: PessoaController.adicionaPessoaController.adiciona(Pessoa)] are [br.com.caelum.vraptor.mydvds.model.Pessoa@8a20903b]
23:07:36,907 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ExecuteMethodInterceptor
23:07:36,908 DEBUG [ExecuteMethodInterceptor] Invoking PessoaController.adiciona(Pessoa)
23:07:36,912 DEBUG [ValidatorLocator ] Creating hibernate validator locator for br.com.caelum.vraptor.mydvds.model.Pessoa
Hibernate: select nextval ('hibernate_sequence')
Hibernate: insert into Pessoa (bairro, celular, cidade, cpf, data_matricula, data_nasc, digina, email, endereco, fone, matricula, nome, orgao_exp, rg, senha, status, titulo_ele, uf, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
23:07:37,038 DEBUG [DefaultLogicResult ] redirecting to class PessoaController
23:07:37,039 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for PessoaController.lista() as []
23:07:37,039 DEBUG [AsmBasedTypeCreator ] Trying to make class for PessoaController$lista$609983039$5
23:07:37,040 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for PessoaController.lista() as []
23:07:37,040 DEBUG [AsmBasedTypeCreator ] Parameter names found for creating type are: []
23:07:37,040 DEBUG [AsmBasedTypeCreator ] Methods: []
23:07:37,041 DEBUG [AsmBasedTypeCreator ] Fields: []
23:07:37,041 DEBUG [CacheBasedTypeCreator] cached generic type for method [DefaultResourceMethod: PessoaController.listaPessoaController.lista()]
23:07:37,041 DEBUG [DefaultLogicResult ] redirecting to /vraptor-mydvds/pessoa/todos
23:07:37,048 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor OutjectResult
23:07:37,062 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ForwardToDefaultViewInterceptor
23:07:37,062 DEBUG [ForwardToDefaultViewInterceptor] Request already dispatched and commited somewhere else, not forwarding.
22/05/2010 23:07:37 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet default threw exception
org.hibernate.TransactionException: Transaction not successfully started
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:131)
at br.com.caelum.vraptor.util.hibernate.HibernateTransactionInterceptor.intercept(HibernateTransactionInterceptor.java:46)
at br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:81)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
<%@ include file="/header.jsp" %>
<form id="formulario" action="<c:url value="/pessoa/adiciona"/>" method="POST" >
<fieldset>
<legend>CADASTRO DE PESSOAS</legend>
<label for="id"><fmt:message key="pessoa.id"/></label>
<input type="text" id="id" name="pessoa.id" value="${pessoa.id}"/>
<label for="nome"><fmt:message key="pessoa.nome"/></label>
<input type="text" id="nome" name="pessoa.nome" value="${pessoa.nome}"/>
<label for="matricula"><fmt:message key="pessoa.matricula"/></label>
<input type="text" id="matricula" name="pessoa.matricula" value="${pessoa.matricula}"/>
<label for="cpf"><fmt:message key="pessoa.cpf"/></label>
<input type="text" id="cpf" name="pessoa.cpf" value="${pessoa.cpf}"/>
<label for="digina"><fmt:message key="pessoa.digina"/></label>
<input type="text" id="digina" name="pessoa.digina" value="${pessoa.digina}"/>
<label for="data_matricula"><fmt:message key="pessoa.data_matricula"/></label>
<input type="text" id="data_matricula" name="pessoa.data_matricula" value="${pessoa.data_matricula}"/>
<label for="rg"><fmt:message key="pessoa.rg"/></label>
<input type="text" id="rg" name="pessoa.rg" value="${pessoa.rg}"/>
<label for="orgao_exp"><fmt:message key="pessoa.orgao_exp"/></label>
<input type="text" id="orgao_exp" name="pessoa.orgao_exp" value="${pessoa.orgao_exp}"/>
<label for="titulo_ele"><fmt:message key="pessoa.titulo_ele"/></label>
<input type="text" id="titulo_ele" name="pessoa.titulo_ele" value="${pessoa.titulo_ele}"/>
<label for="endereco"><fmt:message key="pessoa.endereco"/></label>
<input type="text" id="endereco" name="pessoa.endereco" value="${pessoa.endereco}"/>
<label for="bairro"><fmt:message key="pessoa.bairro"/></label>
<input type="text" id="bairro" name="pessoa.bairro" value="${pessoa.bairro}"/>
<label for="cidade"><fmt:message key="pessoa.cidade"/></label>
<input type="text" id="cidade" name="pessoa.cidade" value="${pessoa.cidade}"/>
<label for="uf"><fmt:message key="pessoa.uf"/></label>
<input type="text" id="uf" name="pessoa.uf" value="${pessoa.uf}"/>
<label for="fone"><fmt:message key="pessoa.fone"/></label>
<input type="text" id="fone" name="pessoa.fone" value="${pessoa.fone}"/>
<label for="celular"><fmt:message key="pessoa.celular"/></label>
<input type="text" id="celular" name="pessoa.celular" value="${pessoa.celular}"/>
<label for="email"><fmt:message key="pessoa.email"/></label>
<input type="text" id="email" name="pessoa.email" value="${pessoa.email}"/>
<label for="data_nasc"><fmt:message key="pessoa.data_nasc"/></label>
<input type="text" id="data_nasc" name="pessoa.data_nasc" value="${pessoa.data_nasc}"/>
<button type="submit" id="pessoa.submit"><fmt:message key="send"/></button>
</fieldset>
</form>
<%@ include file="/footer.jsp" %>
package br.com.caelum.vraptor.mydvds.dao;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Projections;
import org.hibernate.criterion.Restrictions;
import br.com.caelum.vraptor.ioc.Component;
import br.com.caelum.vraptor.mydvds.model.Pessoa;
@Component
public class PessoaDao {
private final Session session;
public PessoaDao(Session session) {
this.session = session;
}
public void salva(Pessoa pessoa){
Transaction tx = session.beginTransaction();
session.save(pessoa);
tx.commit();
}
public void excluir(Pessoa pessoa) throws Exception{
try{
Transaction tx = session.beginTransaction();
session.delete(pessoa);
tx.commit();
}catch(Exception ex){
throw new Exception("Erro ao excluir Pessoa. <br />O mesmo tem referência a outros dados.");
}
}
@SuppressWarnings("unchecked")
public List<Pessoa> listaTudo(){
return this.session.createCriteria(Pessoa.class).addOrder(Order.asc("nome")).list();
}
public Pessoa carrega(Integer id) {
return (Pessoa) this.session.load(Pessoa.class, id);
}
public void atualiza(Pessoa pessoa) {
Transaction tx = session.beginTransaction();
this.session.update(pessoa);
tx.commit();
}
@SuppressWarnings("unchecked")
public List<Pessoa> busca(String nome) {
return session.createCriteria(Pessoa.class)
.add(Restrictions.ilike("nome", nome, MatchMode.ANYWHERE))
.list();
}
public Pessoa carregaCodigo(long d) throws Exception {
@SuppressWarnings("unused")
Transaction tx = session.beginTransaction();
String sql = "FROM Pessoa WHERE codigo = " + d;
@SuppressWarnings("unused")
Pessoa pessoa = null;
Object object;
try{
object = (Pessoa) session.createQuery(sql).uniqueResult();
}catch(Exception e){
throw new Exception("erro");
}
if(object == null)
throw new Exception("erro");
return (Pessoa) object;
}
public long ultimaPosicao() throws Exception {
Criteria c = this.session.createCriteria(Pessoa.class);
c.setProjection(Projections.max("idPessoa"));
int num = (Integer) c.uniqueResult();
long codigo = (12301 * num);
return codigo;
}
}
package br.com.caelum.vraptor.mydvds.controller;
import static br.com.caelum.vraptor.view.Results.json;
import static br.com.caelum.vraptor.view.Results.page;
import java.util.List;
import br.com.caelum.vraptor.Delete;
import br.com.caelum.vraptor.Get;
import br.com.caelum.vraptor.Path;
import br.com.caelum.vraptor.Post;
import br.com.caelum.vraptor.Resource;
import br.com.caelum.vraptor.Result;
import br.com.caelum.vraptor.Validator;
import br.com.caelum.vraptor.mydvds.dao.PessoaDao;
import br.com.caelum.vraptor.mydvds.model.Pessoa;
import br.com.caelum.vraptor.validator.Hibernate;
@SuppressWarnings("deprecation")
@Resource
public class PessoaController {
private final PessoaDao dao;
private final Result result;
private final Validator validator;
public PessoaController(PessoaDao dao, Result result, Validator validator) {
this.dao = dao;
this.result = result;
this.validator = validator;
}
@Post @Path("/pessoa/adiciona")
public void adiciona(Pessoa pessoa) throws Exception{
validator.addAll(Hibernate.validate(pessoa));
validator.onErrorUse(page()).of(PessoaController.class).formulario();
dao.salva(pessoa);
result.redirectTo(PessoaController.class).lista();
//result.use(Results.logic()).redirectTo(PessoaController.class).lista();
}
@Delete @Path("/pessoa/{idPessoa}")
public void remove(Integer idPessoa) throws Exception {
Pessoa d = dao.carrega(idPessoa);
dao.excluir(d);
result.redirectTo(PessoaController.class).lista();
}
@Get @Path("/pessoa/{idPessoa}")
public Pessoa edita(Integer idPessoa){
return dao.carrega(idPessoa);
}
@Get @Path("/pessoa/novo")
public void formulario() throws Exception{
this.result.include("codigo", dao.ultimaPosicao());
}
@Get @Path("/pessoa/todos")
public List<Pessoa> lista(){
return dao.listaTudo();
}
public List<Pessoa> busca(String nome) {
result.include("nome", nome);
return dao.busca(nome);
}
@Get @Path("/pessoa/busca.json")
public void buscaJson(String q) {
result.use(json()).from(dao.busca(q))
.serialize();
}
}
package br.com.caelum.vraptor.mydvds.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
//import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.Table;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotNull;
import br.com.caelum.vraptor.ioc.Component;
import br.com.caelum.vraptor.ioc.SessionScoped;
@Entity
@Component
@SessionScoped
@Table(appliesTo = "Pessoa")
public class Pessoa implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE)
private Long id;
//@NotNull
@Length(min =1 , max = 40)
private String nome;
@Length(min =1 , max = 11)
private String cpf;
@NotNull
@Length(min =1 , max = 40)
private String matricula;
private String digina;
@Temporal(javax.persistence.TemporalType.DATE)
private Date data_matricula;
private String rg;
private String orgao_exp;
private String titulo_ele;
private String endereco;
private String bairro;
private String cidade;
private String uf;
private String fone;
private String celular;
private String email;
private String senha;
private String status;
@Temporal(TemporalType.DATE)
private Date data_nasc;
@Override
public boolean equals(Object obj){
if( (obj instanceof Pessoa) && ( ((Pessoa)obj).getCpf().equals(this.getCpf())) ){
return true;
}else{
return false;
}
}
@Override
public int hashCode() {
int hash = 3;
hash = 23 * hash + (this.getId() != null ? this.getId().hashCode() : 0);
hash = 23 * hash + (this.getNome() != null ? this.getNome().hashCode() : 0);
hash = 23 * hash + (this.getCpf() != null ? this.getCpf().hashCode() : 0);
hash = 23 * hash + (this.getMatricula() != null ? this.getMatricula().hashCode() : 0);
hash = 23 * hash + (this.getDigina() != null ? this.getDigina().hashCode() : 0);
hash = 23 * hash + (this.getData_matricula() != null ? this.getData_matricula().hashCode() : 0);
hash = 23 * hash + (this.getrg() != null ? this.getrg().hashCode() : 0);
hash = 23 * hash + (this.getOrgao_exp() != null ? this.getOrgao_exp().hashCode() : 0);
hash = 23 * hash + (this.getTitulo_ele() != null ? this.getTitulo_ele().hashCode() : 0);
hash = 23 * hash + (this.getEndereco() != null ? this.getEndereco().hashCode() : 0);
hash = 23 * hash + (this.getBairro() != null ? this.getBairro().hashCode() : 0);
hash = 23 * hash + (this.getCidade() != null ? this.getCidade().hashCode() : 0);
hash = 23 * hash + (this.getUf() != null ? this.getUf().hashCode() : 0);
hash = 23 * hash + (this.getFone() != null ? this.getFone().hashCode() : 0);
hash = 23 * hash + (this.getCelular() != null ? this.getCelular().hashCode() : 0);
hash = 23 * hash + (this.getEmail() != null ? this.getEmail().hashCode() : 0);
hash = 23 * hash + (this.getSenha() != null ? this.getSenha().hashCode() : 0);
hash = 23 * hash + (this.getData_nasc() != null ? this.getData_nasc().hashCode() : 0);
return hash;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getNome() {
return nome;
}
public String getCpf() {
return cpf;
}
public void setCpf(String cpf) {
this.cpf = cpf;
}
public String getMatricula() {
return matricula;
}
public void setMatricula(String matricula) {
this.matricula = matricula;
}
public String getDigina() {
return digina;
}
public void setDigina(String digina) {
this.digina = digina;
}
public Date getData_matricula() {
return data_matricula;
}
public void setData_matricula(Date data_matricula) {
this.data_matricula = data_matricula;
}
public String getrg() {
return rg;
}
public void setrg(String rg) {
this.rg = rg;
}
public String getOrgao_exp() {
return orgao_exp;
}
public void setOrgao_exp(String orgao_exp) {
this.orgao_exp = orgao_exp;
}
public String getTitulo_ele() {
return titulo_ele;
}
public void setTitulo_ele(String titulo_ele) {
this.titulo_ele = titulo_ele;
}
public String getEndereco() {
return endereco;
}
public void setEndereco(String endereco) {
this.endereco = endereco;
}
public String getBairro() {
return bairro;
}
public void setBairro(String bairro) {
this.bairro = bairro;
}
public String getCidade() {
return cidade;
}
public void setCidade(String cidade) {
this.cidade = cidade;
}
public String getUf() {
return uf;
}
public void setUf(String uf) {
this.uf = uf;
}
public String getFone() {
return fone;
}
public void setFone(String fone) {
this.fone = fone;
}
public String getCelular() {
return celular;
}
public void setCelular(String celular) {
this.celular = celular;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getSenha() {
return senha;
}
public void setSenha(String senha) {
this.senha = senha;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Date getData_nasc() {
return data_nasc;
}
public void setData_nasc(Date data_nasc) {
this.data_nasc = data_nasc;
}
}
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.hibernate.TransactionException: Transaction not successfully started
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:131)
br.com.caelum.vraptor.util.hibernate.HibernateTransactionInterceptor.intercept(HibernateTransactionInterceptor.java:46)
br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:81)
br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
Apache Tomcat/6.0.26