Olá pessoal sou aluno da Caelum (RJ) do curso FJ-21 e estou com uma dúvida no exercicio de configuração do struts. Coloquei os Jar’s que são citados na apostila dentro de web-inf/lib. Fiz o mapeamento do filtro no web.xml porém todas as requisições que eu acesso me retorna esse erro:
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/6.0.33
Dez 21, 2011 2:50:26 PM org.apache.catalina.core.StandardContext start
Grave: Error filterStart
Dez 21, 2011 2:50:26 PM org.apache.catalina.core.StandardContext start
Grave: Context [/leonardo_struts] startup failed due to previous errors
Dez 21, 2011 2:50:26 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
Grave: The web application [/leonardo_struts] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Hebert_Coelho
Tente alterar de Web-inf para WEB-INF
Hebert_Coelho
É cara, ta faltando biblioteca: Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
kilate
Desculpe Jake, foi erro de digitação meu. A pasta já está como WEB-INF.
kilate
Ahh! Onde eu consigo ela? É algum jar?
Hebert_Coelho
Manda no google ae, jar org.apache.commons.lang.StringUtils
kilate
Meu camarada, consegui! Importei um war (struts_blank) peguei a lib do web-inf colei no meu projeto. Só faltou o plugin convention.