2
respostas

Não reconhece o projeto Spring

Subi o código do curso que eu estava fazendo a aula 11 no github. Depois fiz o clone em outra máquina, abri o projeto, mas não está reconhecendo os arquivos do Spring. Alguma ideia?

Description    Resource    Path    Location    Type
AbstractAnnotationConfigDispatcherServletInitializer cannot be resolved to a type    ServletSpringMVC.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 10    Java Problem
Autowired cannot be resolved to a type    CarrinhoComprasController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 18    Java Problem
Autowired cannot be resolved to a type    CarrinhoComprasController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 21    Java Problem
Autowired cannot be resolved to a type    ProdutosController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 32    Java Problem
Bean cannot be resolved to a type    AppWebConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 25    Java Problem
Bean cannot be resolved to a type    AppWebConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 36    Java Problem
BindingResult cannot be resolved to a type    ProdutosController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 48    Java Problem
CharacterEncodingFilter cannot be resolved to a type    ServletSpringMVC.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 29    Java Problem
CharacterEncodingFilter cannot be resolved to a type    ServletSpringMVC.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 29    Java Problem
Component cannot be resolved to a type    CarrinhoCompras.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/models    line 8    Java Problem
Controller cannot be resolved to a type    CarrinhoComprasController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 14    Java Problem
DateFormatter cannot be resolved to a type    AppWebConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 50    Java Problem
DateTimeFormat cannot be resolved to a type    Produto.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/models    line 30    Java Problem
DefaultFormattingConversionService cannot be resolved to a type    AppWebConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 47    Java Problem
DefaultFormattingConversionService cannot be resolved to a type    AppWebConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 48    Java Problem
DriverManagerDataSource cannot be resolved to a type    JPAConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 25    Java Problem
Dynamic cannot be resolved to a type    ServletSpringMVC.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 35    Java Problem
ElementCollection cannot be resolved to a type    Produto.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/models    line 27    Java Problem
Embeddable cannot be resolved to a type    Preco.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/models    line 7    Java Problem
EnableTransactionManagement cannot be resolved to a type    JPAConfiguration.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 15    Java Problem
Entity cannot be resolved to a type    Produto.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/models    line 14    Java Problem
EntityManager cannot be resolved to a type    ProdutoDAO.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/dao    line 18    Java Problem
ModelAndView cannot be resolved to a type    CarrinhoComprasController.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/controllers    line 25    Java Problem
MultipartConfigElement cannot be resolved to a type    ServletSpringMVC.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/conf    line 36    Java Problem
MultipartFile cannot be resolved to a type    FileSaver.java    /SpringMVC/src/main/java/br/com/casadocodigo/loja/infra    line 18    Java Problem
2 respostas

Oi Antonio

Tem o link do github pra eu dar uma olhada?

Otávio muito obrigado pelo retorno. o link do GitHub com meu código é : https://github.com/antoniopsilv/SpringMVC