What dependency is missing for org.springframework.web.bind.annotation.RequestMapping?

后端 未结 16 2198
名媛妹妹
名媛妹妹 2020-12-28 13:52

What dependency am I missing? I am currently using:


    org.springframework
    spring-w         


        
16条回答
  •  长情又很酷
    2020-12-28 14:18

    I had the same problem but I solved in other way (becouse at right click on project folder no Maven tab apears only if I do that on pom.xml I can see a Maven tab):

    So I tink that you get that error because the IDE (Eclipse) didn`t import the dependecies from Maven. Since you are using Spring framework and you probably have STS allready installed right-click on project folder Spring Tools -> Update Maven Dependecies.

    I`m using Eclipse JUNO m2eclipse 1.3.0 Spring IDEE 3.1

提交回复
热议问题