Hi,
I am a newbie to spring and Maven and i am facing the following problems in the Spring MVC project that i created using 'Spring Template Project' in STS:
- The default HomeController java class cannot resolve the following import
- import org.springframework.stereotype.Controller
- import org.springframework.ui.Model
- import org.springframework.web.bind.annotation.RequestMap ping
- The servlet-context.xml cannot resolve the class org.springframework.web.servlet.view.InternalResou rceViewResolver
- While starting the vFabric tc server it throws the error 'Failed to scan JAR [some path/vfabric-tc-server-developer-2.7.2.RELEASE/base-instance/wtpwebapps/TestSpringMVC/WEB-INF/lib/spring-webmvc-3.1.1.RELEASE.jar] from WEB-INF/lib
I have registered maven bin in the PATH variable and executing the command mvn --version gives the proper output. Any help is highly appreciated.
Regards,
Royz


Reply With Quote
