当前位置:网站首页>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 .

边栏推荐
- CSDN markdown editor
- Idea import / export settings file
- Kubesphere - deploy the actual combat with the deployment file (3)
- 【博主推荐】asp.net WebService 后台数据API JSON(附源码)
- 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
- Invalid global search in idea/pychar, etc. (win10)
- 一键提取pdf中的表格
- [download app for free]ineukernel OCR image data recognition and acquisition principle and product application
- MySQL主从复制、读写分离
- Timestamp with implicit default value is deprecated error in MySQL 5.6
猜你喜欢

MySQL21-用户与权限管理

Mysql23 storage engine
![[free setup] asp Net online course selection system design and Implementation (source code +lunwen)](/img/ac/b518796a92d00615cd374c0c835f38.jpg)
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)

CSDN markdown editor

A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon

引入了junit为什么还是用不了@Test注解

Mysql21 - gestion des utilisateurs et des droits

MySQL主从复制、读写分离
![[recommended by bloggers] C WinForm regularly sends email (with source code)](/img/5d/57f8599a4f02c569c6c3f4bcb8b739.png)
[recommended by bloggers] C WinForm regularly sends email (with source code)

Mysql25 index creation and design principles
随机推荐
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
Navicat 導出錶生成PDM文件
@controller,@service,@repository,@component区别
Django运行报错:Error loading MySQLdb module解决方法
虚拟机Ping通主机,主机Ping不通虚拟机
MySQL other hosts cannot connect to the local database
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
A trip to Macao - > see the world from a non line city to Macao
Solution: log4j:warn please initialize the log4j system properly
MySQL completely uninstalled (windows, MAC, Linux)
Leetcode 461 Hamming distance
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
Some notes of MySQL
API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
Data dictionary in C #
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
Install mysql5.5 and mysql8.0 under windows at the same time
@Controller, @service, @repository, @component differences