当前位置:网站首页>Why can't I use the @test annotation after introducing JUnit
Why can't I use the @test annotation after introducing JUnit
2022-07-06 11:05:00 【Pingguo stuffed with rice cakes】
stay pom.xml The following are configured in the configuration file
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency>
Found to be unusable @Test、@after wait
reason : Above scope Configured with Junit Available locations ,test Indicates that the src Under the test Only under the folder can you use .
solve : take <scope>test</scope> Delete it .
边栏推荐
- Invalid default value for 'create appears when importing SQL_ Time 'error reporting solution
- Other new features of mysql18-mysql8
- CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
- TCP/IP协议(UDP)
- Mysql 其他主机无法连接本地数据库
- Armv8-a programming guide MMU (2)
- Mysql23 storage engine
- SSM整合笔记通俗易懂版
- Timestamp with implicit default value is deprecated error in MySQL 5.6
- npm一个错误 npm ERR code ENOENT npm ERR syscall open
猜你喜欢
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
CSDN Q & a tag skill tree (V) -- cloud native skill tree
MySQL21-用戶與權限管理
Mysql26 use of performance analysis tools
Idea import / export settings file
【博主推荐】C# Winform定时发送邮箱(附源码)
图片上色项目 —— Deoldify
Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
IDEA 导入导出 settings 设置文件
Postman Interface Association
随机推荐
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
软件测试-面试题分享
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
[recommended by bloggers] C WinForm regularly sends email (with source code)
Some problems in the development of unity3d upgraded 2020 VR
[BMZCTF-pwn] 11-pwn111111
CSDN blog summary (I) -- a simple first edition implementation
LeetCode #461 汉明距离
Global and Chinese market of thermal mixers 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL21-用户与权限管理
图片上色项目 —— Deoldify
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
35 is not a stumbling block in the career of programmers
[reading notes] rewards efficient and privacy preserving federated deep learning
一键提取pdf中的表格
Copie maître - esclave MySQL, séparation lecture - écriture
JDBC原理
安全测试涉及的测试对象
项目实战-后台员工信息管理(增删改查登录与退出)
Global and Chinese markets for aprotic solvents 2022-2028: Research Report on technology, participants, trends, market size and share