vs code - Expected java package name error

后端 未结 4 1540
名媛妹妹
名媛妹妹 2021-01-17 20:05

I have a java project with the following directory structure (as required by Gradle\'s \'java\' plugin, assuming all defaults).

projectRootDir
          


        
4条回答
  •  灰色年华
    2021-01-17 20:37

    To get things right, add the root folder of you project in workspace. To do this in VS Code, go to File -> "Add folder to workspace" and then select the root folder (source folder).

提交回复
热议问题