前提是项目都正常,打包正常,起动也正常

idea报了一道红线,这样子的

就是它,每次clean会消息,每次install 又会出来,百思不得解

提示信息:

Project:  Unknown:Unknown:Unknown

Location: D:/Github/springcloud/eureka-server/target/maven-archiver/pom.properties

Problems: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1)

根据路径找到pom.properties文件,发现这个文件和文件夹的图标与正常的不一样

但是文件本身又没问题(notepad++查看)。。

 

不得解。。

偶然执行了一个操作,红线上右健点Remove Projects

弹出的确认框里点Yes

发现正常了,Unknown没了,所在目录的图标也正常了。

重启idea,仍然是好的,再clean、install ,还是好的

仍然没有找到原因,大家有什么好的办法?

或者谁英文好,翻译下给idea提个bug可好?

文中项目地址:https://github/wangfei0904306/springcloud

类似的问题在这里出现过: https://netbeans/bugzilla/show_bug.cgi?id=254013

更多推荐

only whitespace content allowed before start tag and not #