标签:spring

关于spring+springmvc的错误

org.springframework.beans.factory.BeanCreationException: Error creating bean with name “itemController”: Injection of autowired dependencies failed; nested exception i……

springMvc和mongodb整合时遇到的权限问题

mongodb数据库连接时,我们可以配置一个mongodb.xml就可以实现连接  如下: <?xml version=”1.0″ encoding=”UTF-8″?> <beans xmlns=”http://www.springframework.org/schema/bean……

spring根据基类中的泛型参数给属性注入值的问题

基类如下 @Transactional(readOnly = true) public abstract class CrudService<D extends CrudDao<T>, T extends DataEntity<T>> { /**  * 持久层对象  */ @Autowired protecte……

spring利用注解@Value获取properties属性为null, 求指导~

properties文件路径没有错,tomcat启动正常,可是就是显示wingPath为null,这是为什么??第一次发帖,各路高手过来看下~ data.properties: mallPath = store/mall.json wingPath = wing/wing.json applicationContext.xml: <?xml ver……

java 用SSM框架 写的权限管理系统

我们的项目没有用到前端框架    怎么样做一个权限管理系统 ?   表怎么样设计  给点思路或这方面的源码! 解决方案 8 三张表,,user,role,permissions,两个关系表,user_role,role_permissions 1.添加角色,或权限是,添加到role,permissions表 2.权限关联到角色,添加到role_permiss……

请教Hibernate怎么保存……

如图,本人面对的是这样一个关联关系,本人需要在一个功能中对这三张表都执行更新操作 每次一执行就报异常 object references an unsaved transient instance – save the transient instance before flushing 本人查了一下transient是怎么回事,但不知道怎么解……

hibernate4+spring4部署在weblogic上启动报错,在tomcat正常运行

严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name “CDIIntegrationService”: Injection of autowir……