Always to select "OPEN" project, the intellij window closes

已回答

Intellij window closes automatically after to click OK to open a project. It doesn't show any message error.

0

Please provide the logs (Help | Collect Logs and Diagnostic Data), upload them (snapshot file and log files) to https://uploads.jetbrains.com/, and paste their upload IDs here and we will investigate it.

0

I have already uploaded the requested logs

0
Sorry @Miguel, please paste the upload ID here, otherwise I can't find the log file.
0

The upload ID is: 2024_03_15_RWbgzuEbuif6KniKPwqezw

0

Please try delete this folder and try again:

C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.5\plugins\textmate

0

The error persist, I tried removing intellij caches and textmate directory but it doesn't works…

I updated again the logs files. Upload id: 2024_03_18_rr3WhoE1VsAHCBkwiv3ayK

0

Sorry, after some dig of the error log, you can revert the delete of C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.5\plugins\textmate , maybe by install the IDE again in case not backup before the deletioin.

There is an error in C:\Users\xxxx\.m2\settings.xml.

 

Caused by: org.jdom.IllegalNameException: The name "
http://maven.apache.org/SETTINGS/1.0.0" is not legal for JDOM/XML Namespace URIs: Namespace URIs cannot begin with white-space.
	at org.jdom.Namespace.getNamespace(Namespace.java:168)
	at com.intellij.openapi.util.SafeStAXStreamBuilder.processElement(SafeStAXStreamBuilder.java:165)
	at com.intellij.openapi.util.SafeStAXStreamBuilder.processElementFragment(SafeStAXStreamBuilder.java:117)
	at com.intellij.openapi.util.SafeStAXStreamBuilder.build(SafeStAXStreamBuilder.java:91)
	at com.intellij.openapi.util.JDOMUtil.loadUsingStaX(JDOMUtil.java:231)
	at com.intellij.openapi.util.JDOMUtil.load(JDOMUtil.java:255)
	at org.jetbrains.jps.model.serialization.JpsMavenSettings.getRepositoryFromSettings(JpsMavenSettings.java:143)
	at org.jetbrains.jps.model.serialization.JpsMavenSettings.getMavenRepositoryPath(JpsMavenSettings.java:79)
	at com.intellij.workspaceModel.ide.impl.JpsProjectUrlRelativizer.getBasePathsToAdd(JpsProjectUrlRelativizer.kt:34)
	at com.intellij.workspaceModel.ide.impl.JpsProjectUrlRelativizer.<init>(JpsProjectUrlRelativizer.kt:25)
	at com.intellij.workspaceModel.ide.impl.WorkspaceModelCacheImpl.<init>(WorkspaceModelCacheImpl.kt:48)

 
You have a whitespace at the beginning of the namespace. Please fix this error and you will be able to open Maven projects again.
 
It's a known issue in IntelliJ IDEA and will be addressed in future updates (the IDE will ignore such errors and skip loading of invalid XML files). Sorry for the inconvenience.

Please follow  https://youtrack.jetbrains.com/issue/IDEA-347981/New-project-or-open-project-operation-not-working-due-to-syntax-error-in-.m2-settings.xml for updates regarding the status of this issue.

0

请先登录再写评论。