Idea2020 在src下右键无法出现new Servlet 解决方法

1.打开Idea,创建JavaWeb项目,点击File->Project Structure 2.点击Module->选择你当前的项目->选择sources分页->点击src文件夹,选择Marked As Sources 这时src文件夹由普通文件夹变为蓝色标识的资源文件夹 3.此时在src文件夹右键就可以看到 new Servlet选项啦
相关文章
相关标签/搜索