【发布时间】:2013-02-22 16:55:42
【问题描述】:
我不知道为什么在我的项目中找不到以下导入: 代码:
import org.springframework.jdbc.core.SqlInOutParameter;
import org.springframework.jdbc.core.SqlParameter;
import org.springframework.jdbc.object.StoredProcedure;
我的 pom.xml 文件中有以下内容
代码:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.2.1.RELEASE</version>
</dependency>
但我发现,如果我添加以下内容,它会起作用,但我不明白为什么需要:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${springframework-version}</version>
</dependency>
【问题讨论】:
-
3.2.1 版出来了吗?是的,显然springsource.org/node/3791
-
你需要包含你需要的具体模块stackoverflow.com/a/2237805/106261