Results 1 to 10 of 12

Thread: org.springframework.web.bind.annotation cannot be resolved

Hybrid View

  1. #1

    Lightbulb org.springframework.web.bind.annotation cannot be resolved

    Hi I'm trying to build application in which spring is used and when I import package org.springframework.web.bind.annotation.RequestMap ping. I found error org.springframework.web.bind.annotation not resolved.

    Pl suggest.

    Thanks

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    Include the spring-web.jar and spring-webmvc.jar on your classpath.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3

    Lightbulb

    Hi,

    Thanks for reply.

    I include that jars in classpath but still getting same problem.

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    Then I would recheck your classpath because it really is in the spring-webmvc.jar.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #5

    Lightbulb

    After adding jars in classpath I explore to check but, I found after exploring spring-web.jar - org.springframework.web.bind not org.springframework.web.bind.annotation.RequestMap ping

    org.springframework.web.bind.(all is different and not getting annotation here)

    It not exiest in spring-mvc.jar

  6. #6
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    I wasn;t alking about spring-web.jar but about spring-webmvc.jar.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  7. #7
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    Trust me it is.... (See attached screenshot).
    Attached Images Attached Images
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

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