简体   繁体   English

UCP jar依赖项存在于pom.xml中,但未出现在WEB-INF \\ lib中

[英]UCP jar dependency present in pom.xml but its not appearing inside WEB-INF\lib

As I said in the title that, i have included the ucp jar dependency inside MyProject\\pom.xml but that jar file is not present inside MyProject\\target\\MyProject\\WEB-INF\\lib . 就像我在标题中所说的那样,我已经在MyProject \\ pom.xml中包含了ucp jar依赖关系,但是MyProject\\target\\MyProject\\WEB-INF\\lib没有该jar文件。 What might be the reason behind this? 这可能是什么原因?

POM Entry : POM条目:

 <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>ucp</artifactId>
      <scope>provided</scope>
    </dependency>

Dependencies with scope provided are not included in your war, they are only available during compile and test phase. 与范围相关性provided不包含在你的战争,他们是编译和测试阶段时可用。 See https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope 参见https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将JAR文件添加到web-inf / lib文件夹中,而不将其包含在pom.xml中 - Add JAR-File to web-inf/lib folder without including it in pom.xml Is it possible to have Maven “WAR” pom.xml package up my classes up in a JAR and put the JAR in the /WEB-INF/lib folder? - Is it possible to have Maven “WAR” pom.xml package up my classes up in a JAR and put the JAR in the /WEB-INF/lib folder? 在POM的WEB-INF \ lib中添加jar - Adding a jar in WEB-INF\lib in POM 频繁更改pom.xml / maven项目依赖项时,自动更新WEB-INF / lib目录的正确方法是什么? - What's the right way to automatically update WEB-INF/lib directory when pom.xml/maven project dependencies are changed frequently? Jar maven依赖从我的WEB-INF / lib中消失 - Jar maven dependency disappears from my WEB-INF/lib 使用Maven pom.xml在WAR中未创建除WEB-INF和META-INF以外的目录 - Directory not creating other than WEB-INF & META-INF in WAR using Maven pom.xml 对于外部jar,如果jar已存在/已复制到lib文件夹,是否有必要在pom.xml文件中添加具有系统路径的依赖项 - For an external jar, is it necessary to add a dependency in pom.xml file with a system path if jar already present/copied to lib folder 无法识别web-inf / lib中的jar文件 - jar files in web-inf/lib not recognized 将Jar文件添加到WEB-INF / lib - Adding Jar File to WEB-INF/lib 在 pom.xml 依赖标签中添加 jar 文件的 systemPath - Adding systemPath for jar file inside pom.xml dependency tag
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM