About Maven: There is no option to create a new Servlet file in IDEA's maven project

Problem: Right-click to create a new package but there is no servlet option


Reason: Source Roots is not checked in the project settings


Solution:
Step1. Insert picture description here
Step2.Insert picture description here


                                       谢谢收阅

Guess you like

Origin blog.csdn.net/Forest_2Cat/article/details/108418692