当前位置:网站首页>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 .
边栏推荐
- MySQL完全卸载(Windows、Mac、Linux)
- [BMZCTF-pwn] 12-csaw-ctf-2016-quals hungman
- Asp access Shaoxing tourism graduation design website
- Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
- Django运行报错:Error loading MySQLdb module解决方法
- Mysql23 storage engine
- [recommended by bloggers] C WinForm regularly sends email (with source code)
- A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
- SSM整合笔记通俗易懂版
- [ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
猜你喜欢
Mysql28 database design specification
Asp access Shaoxing tourism graduation design website
Copie maître - esclave MySQL, séparation lecture - écriture
MySQL21-用户与权限管理
Redis的基础使用
Idea import / export settings file
Mysql25 index creation and design principles
[recommended by bloggers] background management system of SSM framework (with source code)
A trip to Macao - > see the world from a non line city to Macao
MySQL21-用戶與權限管理
随机推荐
MySQL master-slave replication, read-write separation
Some notes of MySQL
Yum prompt another app is currently holding the yum lock; waiting for it to exit...
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
LeetCode #461 汉明距离
La table d'exportation Navicat génère un fichier PDM
C语言标准的发展
安装numpy问题总结
CSDN问答标签技能树(一) —— 基本框架的构建
Why is MySQL still slow to query when indexing is used?
CSDN question and answer tag skill tree (II) -- effect optimization
JDBC原理
CSDN Q & a tag skill tree (V) -- cloud native skill tree
[recommended by bloggers] C # generate a good-looking QR code (with source code)
Mysql28 database design specification
SSM整合笔记通俗易懂版
There are three iPhone se 2022 models in the Eurasian Economic Commission database
Global and Chinese market of thermal mixers 2022-2028: Research Report on technology, participants, trends, market size and share
Solve the problem that XML, YML and properties file configurations cannot be scanned
【博主推荐】asp.net WebService 后台数据API JSON(附源码)