Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots)

Error Messages:

[ERROR] Failed to execute goal on project cds-think-tanks-impl: Could not resolve 
dependencies for project com.orangecds:cds-think-tanks-impl:jar:0.0.1-SNAPSHOT: 
Failed to collect dependencies at org.apache.phoenix:phoenix-core:jar:5.0.0-HBase-2.0 
-> org.apache.hbase:hbase-mapreduce:jar:2.0.0 -> org.apache.hbase:hbase-server:jar:2.0.0
 -> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 -> org.glassfish:javax.el:jar
:3.0.1-b06-SNAPSHOT: Failed to read artifact descriptor for org.glassfish:javax.el:jar
:3.0.1-b06-SNAPSHOT: Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT 
from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): 
maven.java.net: Unknown host maven.java.net -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Solution:

1. Re-compile

2. pom:

< dependency>
< groupId> org. Apache. hive
< artifactId> hive-jdbc
< exclusions>
< exclusion>
< groupId> org. glassfish
< artifactId> javax. el

< exclusion>
< groupId> org. eclipse. jetty
< artifactId> jetty-runner

< version> 3.1.2

Note:

exclusions is a sub-tag of dependence. To exclude jars

-maven import packages, jar packages import the necessary jar packages as well. For example, importing the springmvc package.

springcore and springbean and other packages will also come in together. If you take the initiative to add other versions of springcore package. There may be a jar conflict problem

Similar Posts: