报错如图所示:
解决方法:
1.1 Settings --> Project --> Project Structure --> Sources --> Add Content Root --> 添加当前模块 -->ok
1.2 右键当前模块 -->Mark Directory as --> Sources Root
报错如图所示:
解决方法:
1.1 Settings --> Project --> Project Structure --> Sources --> Add Content Root --> 添加当前模块 -->ok
1.2 右键当前模块 -->Mark Directory as --> Sources Root