[英]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.