Home > Back-end >  Maven dependency problems
Maven dependency problems

Time:10-10

Set mirror for ali cloud warehouse warehouse, then I through springboot website created a project, then use the idea of open, how so many jar package import not? Should not automatically from ali cloud warehouse search to? I'm ali cloud inside the warehouse can search to the relevant jars?

CodePudding user response:

Is it because path with Chinese characters

CodePudding user response:

reference 1st floor with ah response:
if, because of the path with Chinese characters

In the Settings file? I paste from the Internet, has also tried several;
Project files directly from springboot website directly created quickstart, should not,

CodePudding user response:

I said you that super ultra, you,

CodePudding user response:

refer to the third floor with ah response:
I said you that super ultra, you,

Oh, oh, it is possible, I try to change the

CodePudding user response:

refer to the third floor with ah response:
I said you that super ultra, you,
I try to change the XML file location, and then reimport, or to download

CodePudding user response:

The parent tag should be placed dependencies outside

CodePudding user response:

Structure is as follows: & lt; Dependencies> . .

CodePudding user response:

Because you didn't import outside the parent

CodePudding user response:

refer to the eighth floor user_wxb response:
because you didn't import outside the parent

???? It is two pictures, upload didn't pay attention to the climate, the two color too like, like a picture,

CodePudding user response:

 



Nexus - aliyun
The Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public






Before I met this kind of situation, solved from the fifth floor, you don't solve this, or you can try the above code added to the project of pom. The XML, now I usually added to the project of pom. The XML

CodePudding user response:

Configure maven is the idea of bringing in your idea, is not configured on your local ali the one in the mirror

CodePudding user response:



11 reference code smallholder response:
configure maven is the idea of bringing in your idea, not ali is configured on your local mirror of the

Bosses look at my new pictures, I tried to switch to E disk that maven, but useless, and I think, the XML file is not specified which Settings? If not, what is the point of the set?

CodePudding user response:

Bosses, I click the clean maven error after printing, I can't find aliyun newspaper fault should be inside the jar package?

CodePudding user response:

[the INFO] Scanning for the projects...
Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-parent/2.2.5.RELEASE/spring-boot-starter-parent-2.2.5.RELEASE.pom
[ERROR] [ERROR] Some of the problems were encountered while processing the POMs just:
[FATAL] Non-resolvable parent POM for com.example:miaoshaDemo:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.5.RELEASE from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at no local POM @ line 5, column 10
@
[ERROR] The build could not read 1 project - & gt; [1] Help
[ERROR]
[ERROR] The project com. Example: miaoshaDemo: 0.0.1 - The SNAPSHOT (F: \ miaoshaDemo \ miaoshaDemo \ pom XML) from 1 ERROR
[ERROR] Non-resolvable parent POM for com.example:miaoshaDemo:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.5.RELEASE from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at no local POM @ line 5, column 10 -> nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related