Maven錯誤“The POM for org.springframework:spring-core:jar:4.3.4.RELEASE is invalid, tr”
出現這個錯誤的原因是你的“spring-core:jar:4.3.4”沒有刪除乾淨,或有殘留
來到你的maven路徑:C:\Users\it室\.m2\repository
把裡面的Spring-core.4.3.4(大概是這個名字,版本肯定是這個版本)所在的資料夾(資料夾的名稱裡也有版本號)刪除掉,然後再pom.xml裡面加入新的Spring-core版本。
這個型別的錯誤都可以這樣做。切記版本刪除正確
然後重新構建war包,就OK不報錯了。
相關推薦
Maven錯誤“The POM for org.springframework:spring-core:jar:4.3.4.RELEASE is invalid, tr”
出現這個錯誤的原因是你的“spring-core:jar:4.3.4”沒有刪除乾淨,或有殘留 來到你的maven路徑:C:\Users\it室\.m2\repository 把裡面的Spring-core.4.3.4(大概是這個名字,版本肯定是這個版本)所在的資料夾(資料夾的名稱裡也有版本號
Failure to transfer org.springframework:spring-jcl:jar:5.0.7.RELEASE from
錯誤資訊: Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:1.5.4.RELEASE from https://repo.maven.apache.org/maven2 was cached in the
Eclipse&Maven匯入Maven專案後在pom.xml出現"Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEAS"
原 Eclipse&Maven匯入Maven專案後在pom.xml出現"Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEAS"
Missing artifact org.springframework:spring-webmvc:jar:${spring.version} 錯誤解決
建立了一個maven專案在pom.xml裡部署環境突然報錯了,在網上找了半天試了很多方法一直沒好,仔細一看是沒有描述了這個專案構建環境中的前提條件 錯誤資訊例項: Missingartifacorg.springframework:spring-core:jar:${sp
宜立方商城中,mvn報錯'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-webmvc:jar dependency.(groupId:artifactId:type:cl
Maven打包報錯:[WARNING] The POM for xxx is missing, no dependency inform
場景 使用Maven建立的一個多模組專案,一個wa-service模組,一個wa-app模組,wa-app模組依賴於wa-service模組,且他們都是WebAppDemo的子模組。 報錯及分析
Maven傳遞依賴無法引入問題(The POM for xxx is invalid)
一、背景 應用A直接應用B,應用B依賴二方包C1、C2、C3,應用A傳遞依賴C1、C2、C3。現應用B升級版本,應用更新B依賴包後發現可正常引入依賴B,但傳遞依賴的C1、C2、C3不能引入。 二、問題排查 應用根目錄列印依賴樹:
匯入spring原始碼org.springframework.cglib.core.ClassGenerator無法編譯的錯誤
問題 匯入spring-beans 專案時,org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy 編譯報錯,提示缺少org.springframework.cglib.*
Eclipse:報錯Failed to read artifact descriptor for org.springframework.boot:spring-boot-autoconfigure:jar:2.1.2.
rip oot artifact pom framework maven XML config autoconf 導入SVN下載的MAVEN項目時springboot報錯; pom.xml文件報錯 Failed to read artifact descriptor f
Eclipse中maven專案報錯:org.springframework.web.filter.CharacterEncodingFilter
寫了一個demo,發現在tomcat中部署完專案,啟動時報錯。 1,問題描述 2,解決辦法 1)程式在部署完成後報錯,說明是程式是編譯通過的,即編譯編譯路徑Java Build Path沒問題。 2)此時檢視 專案Properties—Deployment
The POM for XXX is invalid, transitive dependencies (if any) will not be available解決方案
今天,某個開發的環境在編譯的時候提示警告The POM for XXX is invalid, transitive dependencies (if any) will not be available,編譯失敗。 update他提交的程式碼下來之後,確實有這個問題,按照網上的一種方法,右鍵專案,mave
[WARNING] The POM for XXX-system:jar:1.9.0-SNAPSHOT is missing, no dependency information available
在 git-bash 中 想要啟動一個工程服務就是不成功,始終提示jar包找不到,原生代碼已提交。 這時可直接登陸git,找到對應專案,檢視專案中pom檔案引用的書寫,最終發現git上引用的jar的確還是原版。 程式碼沒有提交成功。重新提交。 其實這個jar是另外一個工程A,在本工程B
Spring 使用JdbcTeplate的時候出錯Class 'org.springframework.jdbc.core.JdbcTemplate' not found
Spring 使用JdbcTeplate的時候出錯Class 'org.springframework.jdbc.core.JdbcTemplate' not found 原因: 缺jar包spring-jdbc-4.0.0.jar 解決方案: 匯入jar
The POM for is missing no dependency information available
環境 win7 64 MyEclipse 10.5 java version "1.8.0_91" 報錯 1、匯入報錯 No marketplace entries found
The POM for XXX is invalid, transitive dependencies (if any) will not be available
在執行maven install命令的時候出現錯誤: The POM for org.apache.commons:commons-collections4:jar:4.1 is invalid, transitive dependencies (if any
eclipse中的maven專案報錯:org/codehaus/plexus/archiver/jar/JarArchiver
環境:jdk1.8、maven版本:apache-maven-3.5.3剛建立了一個普通的maven專案,build執行package時,一直報org/codehaus/plexus/archiver/jar/JarArchiver參考網上:第一種:在pom.xml檔案裡的m
Spring-Boot 整合 MongoDB 3.4 實現簡單物件儲存與查詢
搜尋spring-boot依賴的mongodb的包 點進去 以上教大家如何根據一項技術,去搜索其在Spring-Boot專案中對應的依賴 一、專案目錄結構圖 怎麼簡潔怎麼來,Control
通過TransactionDefinition介面來學習spring事務的隔離級別和傳播特性(4.3.4版本)
通過spring官方包中帶的原始碼來看spring的事務的5中隔離級別和7種傳播特性; 原始碼如下: /* * Copyright 2002-2015 the original author or authors. * * Licensed under th
Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.6.RELEASE:repackage failed: Unable to find main class
spl final package exce main project clas ini exit 異常 [INFO] --- spring-boot-maven-plugin:1.5.6.RELEASE:repackage (default) @ spring-boot
Eclipse啟動Maven項目報java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener的錯誤
ade term add listener context out contex style org 今天用Eclipse導入了一個Maven項目,啟動tomcat時卻報java.lang.ClassNotFoundException: org.springframewor