当前位置:网站首页>IDEA performs the Test operation, resulting in duplicate data when data is inserted
IDEA performs the Test operation, resulting in duplicate data when data is inserted
2022-08-05 09:32:00 【Minaldo7】
The problems I encountered and the solutions:
Solution: Open the File->Settings in the upper right corner of IDEA, search for maven, open the Runner in the maven directory, and find the Delegate IDE build/run actionsto Maven option, uncheck the previous check!!!
Tick off!!!
Tick off!!!
Tick off!!!
Tick off!!!
Delegate IDE build/run actions to Maven: Hand over the build and run operations in the IDE to Maven. If the project is not checked, the build and run operations are handed over to the IDE, which may lead to the inability to find the relevant jar packages in the maven repository during build and run.After checking, the operations such as building and running the project are directly handed over to maven.However, this will lead to duplicate data when inserting database data. During the actual measurement, it is found that both maven and IDEA have run the project, resulting in duplicate data.
Note: The above explanation is only my own understanding
边栏推荐
- egg框架使用(一)
- 上海控安技术成果入选市经信委《2021年上海市网络安全产业创新攻关成果目录》
- 欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)
- Wei Dongshan Digital Photo Frame Project Learning (6) Transplantation of tslib
- openpyxl to manipulate Excel files
- leetcode: 529. Minesweeper Game
- What is the function of the regular expression replaceFirst() method?
- Bias lock/light lock/heavy lock lock is healthier. How is locking and unlocking accomplished?
- 无题三
- 链表中的数字相加----链表专题
猜你喜欢

Microservice Technology Stack

C语言-数组

微服务 技术栈

Example of Noise Calculation for Amplifier OPA855

express hot-reload

Which big guy has the 11G GI and ojvm patches in April or January 2020, please help?

There is only one switch, how to realize the nqa of master-slave automatic switching

Oracle临时表空间作用

【ASM】字节码操作 方法的初始化 Frame

上海控安技术成果入选市经信委《2021年上海市网络安全产业创新攻关成果目录》
随机推荐
5.部署web项目到云服务器
Open Source Summer | How OpenHarmony Query Device Type (eTS)
长达四年的减肥记录
Assembly language (8) x86 inline assembly
Does flink cdc support synchronization from oracle dg library?
Going to book tickets tomorrow, ready to go home~~
egg框架使用(一)
Keil升级到AC6后,到底有哪些变化?
leetcode points to Offer 10- I. Fibonacci sequence
2022/8/4 考试总结
Pytorch Deep Learning Quick Start Tutorial -- Mound Tutorial Notes (3)
Is there a problem with writing this?How to synchronize data in sql-client
Microservice Technology Stack
hcip BGP 增强实验
What is CRM Decision Analysis Management?
tensorflow.keras cannot introduce layers
15.1.1、md—md的基础语法,快速的写文本备忘录
leetcode: 529. 扫雷游戏
无题九
How to realize the short press and long press detection of the button?