关于Error:Maven Resources Compiler: Maven project configuration required for module '项目名' isn't available. Compilation of Maven projects is supported only&

  总是出现Error:Maven Resources Compiler: Maven project configuration required for module '项目名' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE.

各种百度谷歌搜索几百条博客  全是叫你按下很简单Rebuild Reimport    可是根本不管用,然后非常火大的重装IDEA  重装MAVEN 重装TOMCAT根本不管用

一开始安装各种东西的时候就一直在避免出现中文目录,maven、idea、Tomcat安装还有配置都保证没有出现中文的,还是解决不了,最后日志翻了好几遍看到一个C:\users\益展(系统登录用户名我用的是中文)

想着会不会=是因为这个问题  于是换到Administrator重命名后注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Profilelist,找到之前文件夹对应的ProfileImagePath修改后 

项目部署成功.........

猜你喜欢

转载自www.cnblogs.com/itzyz/p/10926557.html
今日推荐