-
Pre-check
Apache Dubbo ComponentJava SDK (apache/dubbo) DetailsI import the dubbo 3.3 as a maven project into the idea. There are too much errors. Is there anyone can help me to correctly import the dubbo project by idea? Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Cannot resolve org.apache.httpcomponents:httpclient:unknown |
Beta Was this translation helpful? Give feedback.
-
[WARNING] The POM for com.github.spullara.mustache.java:compiler:jar:unknown is missing, no dependency information available |
Beta Was this translation helpful? Give feedback.
-
[ERROR] The following artifacts could not be resolved: org.springframework.security:spring-security-bom:pom:5.8.16 (absent): org.springframework.security:spring-security-bom:pom:5.8.16 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.security:spring-security-bom:pom:5.8.16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.76.215, repo.maven.apache.org/2a04:4e42:12:0:0:0:0:215] failed: Read timed out [ERROR] The following artifacts could not be resolved: io.netty:netty-bom:pom:4.1.115.Final (absent): io.netty:netty-bom:pom:4.1.115.Final failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact io.netty:netty-bom:pom:4.1.115.Final from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.76.215, repo.maven.apache.org/2a04:4e42:12:0:0:0:0:215] failed: Read timed out |
Beta Was this translation helpful? Give feedback.
-
I use the maven wrapper in the dubbo project. |
Beta Was this translation helpful? Give feedback.
-
I have find the solution. In the dubbo-dependencies-bom, the version of dependencies is defined. So we need to install the dubbo-dependencies first:
after that, we can use |
Beta Was this translation helpful? Give feedback.
I have find the solution. In the dubbo-dependencies-bom, the version of dependencies is defined. So we need to install the dubbo-dependencies first:
./mvnw clean install -pl "dubbo-dependencies-bom"
after that, we can use
./mvnw clean install -DskipTests=true
to install the other modules.