The error message is indicating that a specific file, located at 'E:\workFiles\bvc\bvc-common\target\classes\com\bonoon\common\mapper\CommonPlaceMapper.class', requires a single bean to be defined. However, during the bean initialization process, two beans were found that could potentially fulfill this requirement.

The first bean is named 'sqlSessionFactory' and is defined by a method called 'sqlSessionFactory' in the class path resource 'com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class'.

The second bean is named 'modelerSqlSessionFactory' and is defined by a method called 'modelerSqlSessionFactory' in the class path resource 'org/flowable/ui/modeler/conf/ModelerDatabaseConfiguration.class'.

To resolve this issue, you will need to specify which bean should be used by the file in question. This can be done by either removing one of the conflicting beans or by explicitly specifying the desired bean in the configuration.


原文地址: https://www.cveoy.top/t/topic/qp61 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录