package br.com.casadocodigo.loja.conf;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import br.com.casadocodigo.loja.controllers.HomeController;
@EnableWebMvc
@ComponentScan(basePackageClasses = { HomeController.class })
public class AppWebConfigurantion {
}
Ao realizar esse exercício meu código não compila porque acusa um erro no pacote
package br.com.casadocodigo.loja.conf;
The type org.springframework.beans.factory.support.BeanNameGenerator cannot be resolved. It is indirectly referenced from
required .class files
Alguém sabe o motivo?