Results 1 to 2 of 2

Thread: Can't import org.springframework.jdbc.core with maven

  1. #1
    Join Date
    Sep 2012
    Posts
    5

    Default Can't import org.springframework.jdbc.core with maven

    I dont know why the follow imports are not getting found in my project:
    Code:
    import org.springframework.jdbc.core.SqlInOutParameter;
    import org.springframework.jdbc.core.SqlParameter;
    import org.springframework.jdbc.object.StoredProcedure;

    I have the folllowing in my pom.xml file


    Code:
    <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-context</artifactId>
     <version>3.2.1.RELEASE</version>
    </dependency>

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

    Default

    spring-context doesn't contain the jdbc classes those are in spring-jdbc.
    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
  •