3.5K Unstar Star 9.8K Fork 4.1K

卓源软件 / JeeSite 4.2

star: 我们的数据底层能否和mybatis-plus共存呢?

Open
风云号角1  Opened this issue

公司原有老项目是基于mybatis-plus 来开发的.
怎么样能够在保留jeesite数据层的前提下. 集成进mybatis-plus 让两者可以共存呢?

6732 thinkgem 1578914432 total 2 participants

Comments (2)

风云号角1 2020-10-05 23:14

一旦在项目中引入mybatis-plus 就会报错

Description:

The bean 'sqlSessionFactory', defined in class path resource [com/jeesite/autoconfigure/core/MyBatisAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class] and overriding is disabled.

6732 thinkgem 1578914432
卓源软件 2020-10-06 12:52 owner

可以适配,你用的jeesite版本是多少?如果已购买可以联系售后

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542