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
- 配置NDK syntax error: unexpected end of file 解決Error
- MySQL server has gone away 解決方案MySqlServerGo
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- 【已解決】報錯 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driverAI
- ORA-04063: package body "SYS.DBMS_EXPORT_EXTENSION" has errorsPackageExportError
- ORA-04063: package body "EXFSYS.DBMS_EXPFIL_EXP" has errorsPackageError
- ORA-04063: package body "SYS.LT_EXPORT_PKG" has errorsPackageExportError
- 萬能方法解決——You have an error in your SQL syntaxErrorSQL
- syntax error near unexpected token `問題的解決Error
- 解決The jar file has no source attachment問題JAR
- PyTorch出現:RuntimeError: An attempt has been made to start a new process...報錯 (已解決)PyTorchError
- Go Errors 詳解GoError
- contains a file system with errors, check forced解決方法AIError
- 帝國CMS提示parse error syntax error的解決方法Error
- REMOTE HOST IDENTIFICATION HAS CHANGED 問題解決REMIDE
- kafka報錯解決 kafka.errors.NoBrokersAvailable: NoBrokersAvailableKafkaErrorAI
- Mysql host is blocked because of many connection errors;unblock解決方法MySqlBloCError
- 如何解決"Parse error: syntax error"Error
- 解決pycharm問題:module 'pip' has no attribute 'main'PyCharmAI
- has been blocked by CORS policy跨域問題解決BloCCORS跨域
- MySQL server has gone away 問題的解決方法MySqlServerGo
- ORA-28001: the password has expired解決方法
- Apache無法啟動解決 the requested operation has failedApacheAI
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解決方法REMIDE
- Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using anErrorObjectZed
- 【已解決】Error filter ListenerStartErrorFilter
- lombok 註解無效 已解決Lombok
- 解決laravel出現Syntax error or access violation: 1055 ‘***‘ isn‘t in GROUP BYLaravelError
- expdp 報錯 ORA-04063: package body "SYS.DBMS_METADATA_UTIL" has errorsPackageError
- [轉]成功解決AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘?Error
- This function has none of DETEMINISTIC,NO SQL錯誤解決辦法FunctionNoneSQL
- ssh登陸 “remote host identification has changed!“ 解決方案REMIDE
- Myeclipse 錯誤An internal error has occurred 解決辦法EclipseError
- ORA-28001: the password has expired解決辦法
- Java問題解決:The project cannot be built until build path errors are resolvedJavaProjectUIError