JUNIT没有出现在Eclipse中

JUNIT没有出现在Eclipse中,junit,cucumber-java,maven-dependency-plugin,Junit,Cucumber Java,Maven Dependency Plugin,我面临一个问题,即Junit在创建新配置时没有在运行方式和运行配置中显示选项。我已将Junit依赖项包含在pom.xml文件中: <!-- https://mvnrepository.com/artifact/junit/junit --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>

我面临一个问题,即Junit在创建新配置时没有在运行方式和运行配置中显示选项。我已将Junit依赖项包含在pom.xml文件中:

 <!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.12</version>
</dependency>
<dependency>
    <groupId>info.cukes</groupId>       
    <artifactId>cucumber-junit</artifactId>     
    <version>1.2.5</version>
 </dependency>

朱尼特
朱尼特
4.12
信息杯
黄瓜刺柏
1.2.5
JUnitJAR显示在Maven Dependencies文件夹和.m2文件夹中。 [Maven Dependencies文件夹图片][1] Junit Jar显示在.M2文件夹中: [.m2文件夹图片][2] [1]: https://i.stack.imgur.com/YOwy5.png [2]: https://i.stack.imgur.com/E0A06.png

如果需要我方提供更多信息,请告诉我。我被卡住了。我需要你的帮助。提前谢谢