当前位置:网站首页>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 其他主机无法连接本地数据库
- Global and Chinese markets for aprotic solvents 2022-2028: Research Report on technology, participants, trends, market size and share
- 一键提取pdf中的表格
- There are three iPhone se 2022 models in the Eurasian Economic Commission database
- Some notes of MySQL
- MySQL21-用户与权限管理
- [recommended by bloggers] background management system of SSM framework (with source code)
- Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
- API learning of OpenGL (2001) gltexgen
- Copy constructor template and copy assignment operator template
猜你喜欢
MySQL21-用戶與權限管理
Breadth first search rotten orange
基于apache-jena的知识问答
Why is MySQL still slow to query when indexing is used?
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
一键提取pdf中的表格
API learning of OpenGL (2002) smooth flat of glsl
【博主推荐】asp.net WebService 后台数据API JSON(附源码)
windows下同时安装mysql5.5和mysql8.0
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
Invalid default value for 'create appears when importing SQL_ Time 'error reporting solution
Ansible实战系列二 _ Playbook入门
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
导入 SQL 时出现 Invalid default value for ‘create_time‘ 报错解决方法
打开浏览器的同时会在主页外同时打开芒果TV,抖音等网站
API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
Other new features of mysql18-mysql8
Mysql21 - gestion des utilisateurs et des droits
Data dictionary in C #
API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
Mysql28 database design specification
Mysql23 storage engine
NPM an error NPM err code enoent NPM err syscall open
Some problems in the development of unity3d upgraded 2020 VR
February 13, 2022-2-climbing stairs
[untitled]
Some notes of MySQL
Kubesphere - deploy the actual combat with the deployment file (3)
API learning of OpenGL (2001) gltexgen