Results 1 to 2 of 2

Thread: org.springframework.web.bind Cannot be resolved | Already Have Spring-webmvc and web

  1. #1
    Join Date
    Jun 2012
    Posts
    1

    Default org.springframework.web.bind Cannot be resolved | Already Have Spring-webmvc and web

    Man, i just get started with springsource with spring tools suite, i go to "FILE > NEW > SPRING TEMPLATE PROJECT > SPRING MVC PROJECT" to create my first project, but when i just build it, it show error "org.springframework.web.bind Cannot be resolved"
    i just try to run that simple "hello world" as fresh build in spring tool, i haven't edit any code

    then i go search in google and here some of them got the same problem, but i still can't get the solution, most of them said i have to include "SPRING-WEBMVC.jar" and "SPRING-WEB.jar" i already have that stuff and i already do the "update dependencies" in my project, it just still the same, and i already delete the project and create new one, still got the same problem!

    Here is some of my screenshot, i am lost now
    Help me man
    Attached Images Attached Images

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    Unfortunately the screenshots seem to got downscaled to a resolution that is somewhat unusable here. But I guess from your description that the Maven dependency resolution is not working as expected in your setting. Do you use STS or have you installed the STS plugins into a plain Eclipse? Do you see the node "Maven Dependencies" in the project explorer? If so, please expand this to check if Maven got all the necessary libraries downloaded and attached to your project. Usually you don't need to do that manually.

    Sometimes firewalls and proxies are causing trouble, so please make sure you configured those settings correctly if you are behind a firewall/proxy. In case of a proxy, Maven usually needs to get those settings being put into the settings.xml file of your local Maven repo. Does the Maven console say anything about problems downloading the dependencies?

    HTH,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •