当前位置:网站首页>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编辑器
- Some notes of MySQL
- 图片上色项目 —— Deoldify
- La table d'exportation Navicat génère un fichier PDM
- Kubesphere - deploy the actual combat with the deployment file (3)
- 虚拟机Ping通主机,主机Ping不通虚拟机
- Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
- Navicat 導出錶生成PDM文件
- Have you mastered the correct posture of golden three silver four job hopping?
- Asp access Shaoxing tourism graduation design website
猜你喜欢
MySQL19-Linux下MySQL的安装与使用
Django运行报错:Error loading MySQLdb module解决方法
基于apache-jena的知识问答
MySQL21-用戶與權限管理
Classes in C #
Breadth first search rotten orange
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
连接MySQL数据库出现错误:2059 - authentication plugin ‘caching_sha2_password‘的解决方法
windows下同时安装mysql5.5和mysql8.0
CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
随机推荐
C语言标准的发展
There are three iPhone se 2022 models in the Eurasian Economic Commission database
@controller,@service,@repository,@component区别
API learning of OpenGL (2002) smooth flat of glsl
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
Global and Chinese market of wafer processing robots 2022-2028: Research Report on technology, participants, trends, market size and share
打开浏览器的同时会在主页外同时打开芒果TV,抖音等网站
CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
Leetcode 461 Hamming distance
【博主推荐】SSM框架的后台管理系统(附源码)
Global and Chinese market of operational amplifier 2022-2028: Research Report on technology, participants, trends, market size and share
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
解决:log4j:WARN Please initialize the log4j system properly.
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
Navicat 導出錶生成PDM文件
Idea import / export settings file
CSDN markdown editor