当前位置:网站首页>SSM integration problems - org apache. ibatis. transaction. TransactionFactory
SSM integration problems - org apache. ibatis. transaction. TransactionFactory
2022-07-18 06:28:00 【As soon as the wind blows, you have to leave】
[WARNING] Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.che.service.UserService com.che.controller.UserController.userService; nested exception is java.lang.NoClassDefFoundError: org/apache/ibatis/transaction/TransactionFactory:
java.lang.ClassNotFoundException: org.apache.ibatis.transaction.TransactionFactory
Cannot create when integrating bean, Trouble for a week , Today, I took it out to Baidu and made this mistake , People say I didn't introduce mybatis Of jar package , I'll go. pom.xml Look inside , Reintroduced a , The previous shielding is off , then !!! The successful running !!!
Rely on the inside <scope> There's a big problem , There is more of this line , Has been an error , Just delete it OK 了 .
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.4.1</version>
<scope>test</scope>
</dependency>You should be careful when typing the code later , Don't always get some strange code that you don't understand , Of course, don't worry if you make a mistake , Take your time , ideas , Isn't it just looking for different , Find out what's different from others and win hahahaha
边栏推荐
- Loj#576-「LibreOJ NOI Round #2」签到游戏【线段树】
- 【golang】基于go语言的堆结构模板
- Quantum computing + semiconductor materials! Quantum and JSR reach cooperation
- R language uses LM function to build linear regression model, uses I operator to embed expression, and uses expression to specify the form of regression equation
- 函数与箭头函数
- QT ui设计师界面常用操作记录(QTableWidget)
- Differences among foreach, for in and for of
- 看完这5个理由,我终于知道FTP被替代的原因
- 函数高级应用
- R language uses roc of epidisplay package from. The table function visualizes the ROC curve corresponding to the clinical diagnosis table data and outputs a new diagnostic table, output sensitivity, 1
猜你喜欢

Establishing SSL connection without server‘s identity verification is not recommended

赋能新工业,制造新未来 | 图扑软件受邀参加厦门工业博览会

Practice of online problem feedback module (II): automatic generation of class file by encapsulating code

杰理之内置触摸可供修改的参数【篇】
![The INI file configuration should be modified during Jerry's mode [chapter]](/img/0a/bc74c25d0243afba27831901a856c9.png)
The INI file configuration should be modified during Jerry's mode [chapter]

函数与箭头函数

Notes on linear algebra 2

迪文串口屏教程(2)

线性代数 笔记1

Diwen serial port screen tutorial (2)
随机推荐
杰理之内置触摸可供修改的参数【篇】
Practice of online problem feedback module (III): automatically generate all controller, service, mapper and other files
A new UI testing method: visual perception test
R language uses LM function to build regression model, uses BoxCox function of mass package to find the best power transformation to improve model fitting, visualize BoxCox curve and obtain the best l
共话机器翻译新风向,第二届小牛翻译论坛启幕在即
CS5801_ HDMI to EDP advantage replaces lt6711a solution
爆肝万字,终于搞定这篇神经网络搭建全全全流程!学不会你来找我~
如何将notepad++设置为默认打开方式
线性代数 笔记1
杰理之播放最大音量提示音播不出来【篇】
R language dplyr package summary_ The at function calculates the count number, mean value and median of multiple data columns (specified by vectors) in the dataframe data, and uses the list function t
Loj#576-「LibreOJ NOI Round #2」签到游戏【线段树】
Loj#510-「LibreOJ NOI Round #1」北校门外的回忆【线段树】
regular expression
Together with Alibaba cloud, grafana labs will provide the first grafana hosting service in China
MySQL CREATE TABLE statement error: 1103 incorrect table name
那些年我们用过的分布式锁,你都get到了吗
裁员吵架散摊子, 马斯克:我太难了;狠心开源了一个舆情获取项目;取特征工程跟调参一样简单了?!NeRF大佬直呼卷不动了;前沿论文 | ShowMeAI资讯日报
QT ui设计师界面常用操作记录(QTableWidget)
Function advanced application