【发布时间】:2022-01-26 08:57:39
【问题描述】:
在部署我的应用时出现以下错误
Failed to update deployment(default) of Spring Cloud app(my-server), java.nio.file.NoSuchFileException: D:\server\target\server-1.0.0-SNAPSHOT.pom
我正在使用 IntelliJ 和 Azure 插件(部署到 Azure Spring Cloud 选项)遵循本教程 https://docs.microsoft.com/en-us/azure/spring-cloud/quickstart?tabs=IntelliJ&pivots=programming-language-java
【问题讨论】:
-
@DeepDave-MT 问题是我什至没有 server-1.0.0-SNAPSHOT.pom 文件,我只有 pom.xml 文件
-
编辑问题,详细说明您将遵循哪个教程将 Spring 应用程序部署到 Azure 并提供
pom.xml文件以检查依赖关系。 -
提供
pom.xml文件来检查依赖关系。还要检查Maven:com.example:hellospring-0.0.1-SNAPSHOT.的位置参考Maven dependency jar version is different from pom.xml specification
标签: spring azure intellij-idea pom.xml