场景:导入新项目后,是Java11/21的版本,在有些代码上出现了提示:Usage of API documented as @since 1.8+ 等内容
于是去Project Structure里面修改项目模块的版本,发现子模块的版本都是正确的,父模块居然是java5的Language level
然后出现错误:Cannot Save Settings Module 'xxx' must not contain source root 'xxx|xxx-toolkit) src|main java'.The root already belongs to module 'xxx-toolkit'
解决:删掉父模块的Source Folders等内容即可正常修改Language level