[英]blue question mark for jar file in the lib folder in eclipse
When I use maven clean and install functions, the console shows missing those ten jar files. 当我使用Maven 清理和安装功能时,控制台显示缺少这十个jar文件。 Then I am trying to both drag the ten jar files to the lib folder and "Properites -> Java Build Path" ->"Libraries -> Add External JARs".
然后,我试图将这十个jar文件都拖到lib文件夹中,然后将“属性-> Java构建路径”->“库->添加外部JAR”拖入。 However when I try to clean and install the maven the problems still exists.
但是,当我尝试清洁和安装Maven时,问题仍然存在。 And those "missing" jar files under "lib" got blue question marks
在“ lib”下的那些“缺少” jar文件带有蓝色问号
Include those jar file entries in your pom.xml . 将这些jar文件条目包含在pom.xml中。 The maven build will check for needed jar files in maven repository, it will not go to repository if you have manually dragged those jars to your lib folder.
Maven构建将在maven存储库中检查所需的jar文件,如果您已将这些jar手动拖动到lib文件夹,它将不会进入存储库。
只需简单地提交文件jar和蓝色标记问题即可解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.