Skip to content

[QUESTION][云厂商][编译vm-server]问题描述 #290

@ZqyDaoDao

Description

@ZqyDaoDao

请描述您的问题

使用./mvnw clean install 编译,获取到的vm-server.jar, 然后运行报错
Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.boot.loader.wrapper.ThinJarWrapper.launch(ThinJarWrapper.java:139) at org.springframework.boot.loader.wrapper.ThinJarWrapper.main(ThinJarWrapper.java:107) Caused by: java.lang.RuntimeException: Could not find artifact com.fit2cloud:sdk:jar:main in local (file:///root/.m2/repository) Could not find artifact com.fit2cloud:sdk:jar:main in spring-snapshots (https://repo.spring.io/snapshot) Could not find artifact com.fit2cloud:sdk:jar:main in central (https://repo1.maven.org/maven2) Could not find artifact com.fit2cloud:sdk:jar:main in public (https://maven.aliyun.com/repository/public) Could not find artifact com.fit2cloud:sdk:jar:main in spring (https://maven.aliyun.com/repository/spring) Could not find artifact com.fit2cloud:sdk:jar:main in tencent (https://mirrors.tencent.com/nexus/repository/maven-public/) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in local (file:///root/.m2/repository) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in spring-snapshots (https://repo.spring.io/snapshot) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in central (https://repo1.maven.org/maven2) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in public (https://maven.aliyun.com/repository/public) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in spring (https://maven.aliyun.com/repository/spring) Could not find artifact com.fit2cloud:vm-service-plugins-sdk:jar:main in tencent (https://mirrors.tencent.com/nexus/repository/maven-public/) at org.springframework.boot.loader.thin.DependencyResolver.dependencies(DependencyResolver.java:230) at org.springframework.boot.loader.thin.PathResolver.extract(PathResolver.java:259) at org.springframework.boot.loader.thin.PathResolver.resolve(PathResolver.java:105) at org.springframework.boot.loader.thin.ThinJarLauncher.getClassPathArchives(ThinJarLauncher.java:369) at org.springframework.boot.loader.thin.ThinJarLauncher.getClassPathArchives(ThinJarLauncher.java:352) at org.springframework.boot.loader.thin.ThinJarLauncher.getClassPathArchivesIterator(ThinJarLauncher.java:200) at org.springframework.boot.loader.Launcher.launch(Launcher.java:55) at org.springframework.boot.loader.thin.ThinJarLauncher.launch(ThinJarLauncher.java:195) at org.springframework.boot.loader.thin.ThinJarLauncher.main(ThinJarLauncher.java:141) ... 6 more

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions