org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport required a bean named ‘entityManagerFactory’ that could not be found
1、出现的问题
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of method requestMappingHandlerAdapter in org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport required a bean named 'entityManagerFactory' that could not be found.
The injection point has the following annotations:-@org.springframework.beans.factory.annotation.Qualifier(value=mvcConversionService)
Action:
Consider defining a bean named 'entityManagerFactory' in your configuration.
Disconnected from the target VM, address:'127.0.0.1:49183', transport:'socket'
Process finished with exit code 1