搜索区

请问ssh框架问题?

2018-02-06 00:14溅雪天

在maven环境下的jar包怎样才能配置完整?哪里有样板,因为我的每次报jar包buildpath异常

C:\Users\admin\.m2\repository\org\springframework\spring-orm\3.2.1.RELEASE\spring-orm-3.2.1.RELEASE.jar


package dao.impl;


import java.math.BigDecimal;

import java.sql.SQLException;

import java.util.List;


import org.hibernate.HibernateException;

import org.hibernate.Session;

import org.hibernate.SessionFactory;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.beans.factory.annotation.Qualifier;

import org.springframework.dao.DataAccessException;//这里为异常代码

import org.springframework.orm.hibernate3.HibernateCallback;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import org.springframework.stereotype.Repository;


import pojo.Users;

import dao.UserDao;

@Repository("userdao")

//下面是导包报异常

public class UserDaoImpl extends HibernateDaoSupport implements UserDao {

public UserDaoImpl() {

super();


}

@Autowired

public UserDaoImpl(

@Qualifier("sessionFactory")

悬赏15青鸟豆 | 浏览249

提交

共1条回答

  • 莫陌   2018-02-28
    什么意思?
回顶部