英文:
Project build error: 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-sleuth-zipkin:jar is missing
问题
以下是翻译好的内容:
验证以下代码片段是否在 pom.xml 文件中:
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>${spring-cloud.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
并且在配置中作为属性进行了如下配置:
<spring-cloud.version>Hoxton.SR8</spring-cloud.version>
英文:
Verified that following snippets are in the pom.xml
<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-dependencies</artifactId>
			<version>${spring-cloud.version}</version>
			<type>pom</type>
			<scope>import</scope>
		</dependency>
	</dependencies>
</dependencyManagement>
and below configured as a property :
<spring-cloud.version>Hoxton.SR8</spring-cloud.version>
答案1
得分: 0
抱歉,发生了拼写错误。我在pom.xml中有以下内容。一旦将此更改为"spring-cloud-sleuth-zipkin",Maven成功加载了jar。
<artifactId>spring-cloud-starter-sleuth-zipkin</artifactId>
英文:
My apologies. There was a typo. I had below in pom.xml. Once changed this to "spring-cloud-sleuth-zipkin", jar was successfully loaded by maven.
<artifactId>spring-cloud-starter-sleuth-zipkin</artifactId>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论