reset password
Author Message
janak7005
Posts: 4
Posted 19:53 Sep 30, 2016 |

Hello Dr.Sun

i am following step 1-3 of Spring and Hibernate From Scratch.

now when i added spring-webmvc:4.3.2 as dependency in pom.xml,it gives me error message "The import org.springframework.stereotype.Controller cannot be resolved"  when i try to give annotation in indexcontroller.java class ,but works well with 4.2.2 release.

what should i do?

Thank you

Attachments:
cysun
Posts: 2935
Posted 08:43 Oct 03, 2016 |

It's probably because the 4.3.2 download was corrupted. Check out this post on how to force Maven to re-download it.