Estou com um problema na classe ServeletSpringMVC, fica aparencendo um erro de build path
package br.com.casadocodigo.loja.conf;
Description Resource Path Location Type The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.ServletContext. Fix the build path then try building this project casadocodigo Unknown Java Problem
Description Resource Path Location Type The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files ServeletSpringMVC.java /casadocodigo/src/main/java/br/com/casadocodigo/loja/conf line 1 Java Problem
Como esta minha classe:
package br.com.casadocodigo.loja.conf;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
public class ServeletSpringMVC extends AbstractAnnotationConfigDispatcherServletInitializer{
@Override
protected Class<?>[] getRootConfigClasses() {
// TODO Auto-generated method stub
return null;
}
@Override
protected Class<?>[] getServletConfigClasses() {
// TODO Auto-generated method stub
return new Class[] { AppWebConfiguration.class};
}
@Override
protected String[] getServletMappings() {
// TODO Auto-generated method stub
return new String[]{"/"};
}
}