settings.xml has syntax errors less...Parent org.springframework.boot:spring-boot-starter-已解決
今天在做專案的時候剛建立檔案就發現POM檔案下報錯
Q1:‘settings.xml’ has syntax errors less… (Ctrl+F1)
Inspection info: Inspects a Maven model for resolution problems
Q2:Parent ‘org.springframework.boot:spring-boot-starter-parent:2.2.6.RELEASE’ has problems less… (Ctrl+F1)
Inspection info: Inspects a Maven model for resolution problems.
首先懷疑是因為我剛剛更改了settings.xml檔案導致的對於問題Q1,百度了一下,大多人都說更改了映象就可以了,可是對於我這邊來說還是不行。
對於問題Q2,報告顯示版本號的原因,因此改為了2.2.6版本
再次仔細檢視settings.xml檔案,發現原來在更改映象的時候是少了“–>",竟然犯了這麼低階的錯誤!
加上以後,POM檔案開始新增相關依賴,問題解決
啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊,作業快要截至啦,不多說了!!!!!!
相關文章
- java bug2:settings.xml has syntax errorsJavaXMLError
- “setting.xml” has syntax errorsXMLError
- 建立Maven專案,提示'settings.xml' has syntax errors less... (Ctrl+F1) Inspection info: Inspects a Maven...MavenXMLError
- 【已解決】報錯 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driverAI
- PyTorch出現:RuntimeError: An attempt has been made to start a new process...報錯 (已解決)PyTorchError
- kafka報錯解決 kafka.errors.NoBrokersAvailable: NoBrokersAvailableKafkaErrorAI
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- Go Errors 詳解GoError
- Mysql host is blocked because of many connection errors;unblock解決方法MySqlBloCError
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- expdp 報錯 ORA-04063: package body "SYS.DBMS_METADATA_UTIL" has errorsPackageError
- eclipse新建maven專案:'Building' has encountered a problem. Errors occurred during the build.EclipseMavenUIError
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- 解決The jar file has no source attachment問題JAR
- 萬能方法解決——You have an error in your SQL syntaxErrorSQL
- “command-not-found has crashed” 解決辦法 (*unsolved)
- 解決pycharm問題:module 'pip' has no attribute 'main'PyCharmAI
- [轉]成功解決AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘?Error
- 問題解決:AttributeError: ‘NoneType‘ object has no attribute ‘append‘ErrorNoneObjectAPP
- 帝國CMS提示parse error syntax error的解決方法Error
- has been blocked by CORS policy跨域問題解決BloCCORS跨域
- 解決laravel出現Syntax error or access violation: 1055 ‘***‘ isn‘t in GROUP BYLaravelError
- 如何解決"Parse error: syntax error"Error
- 解決E: Package ‘libmysqlclient-dev‘ has no installation candidate報錯PackageIBMMySqlclientdev
- eclipse 引入外部js檔案報Syntax error on token 錯解決方案EclipseJSError
- 【已解決】Error filter ListenerStartErrorFilter
- lombok 註解無效 已解決Lombok
- Cargo invocation has failed: Error: exit code: 101.解決辦法CargoAIError
- PHP Warning: exec() has been disabled for security 問題解決辦法PHP
- eclipse配置Maven Settings.xml檔案報錯:Could not read settings.xmlEclipseMavenXML
- 如何解決"You have an error in your SQL syntax"ErrorSQL
- linux inode已滿解決方法Linux
- Laravel 8使用 佇列任務出現 「 syntax error, unexpected ')' 」錯誤解決Laravel佇列Error
- svn“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“報錯的解決方法
- 【Error】AttributeError: module ‘scipy.misc‘ has no attribute ‘logsumexp‘ 的解決辦法Error
- dbeaver 升級 24.1.x 版本提示 An error has occurred 的解決Error
- 解決問題:啟動不了VM,提示 Your VM has become “inaccessible…
- centos Vmware虛擬機器 Oh no,something has gone wrong! 解決方法CentOS虛擬機Go