:异常: Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.:Application run failed
Resolution of declared constructors on bean Class [springfox.documentation.spring.web.readers.operation.OperationParameterReader] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2] failed; nested exception is java.lang.NoClassDefFoundError: springfox/documentation/spi/schema/EnumTypeDeterminer
原因:bean找不到
解决:在SpringApplication类里面加入@componentScan注解,把Dao层路径加进来
springboot Error starting ApplicationContext. To display the conditions report re-run your applicati
最新推荐文章于 2024-06-16 20:45:18 发布