导航

2014年8月8日

摘要: 自定义FreeMarkerView的目的是为了放一些公共的变量到FreeMarker模版里面.spring-context.xml: --> --> 0 ... 阅读全文

posted @ 2014-08-08 16:09 eastson 阅读(795) 评论(0) 推荐(0)

摘要: 建表语句:DROP TABLE IF EXISTS `t_company`;CREATE TABLE `t_company` ( `companyId` int(10) unsigned NOT NULL AUTO_INCREMENT, `companyName` varchar(30) NOT... 阅读全文

posted @ 2014-08-08 12:00 eastson 阅读(339) 评论(0) 推荐(0)

摘要: 通常定义Controller时一般都定义成public:package net.mingyang.modules.system;@Controller@RequestMapping("/control/system/config")public class ConfigController{ ... 阅读全文

posted @ 2014-08-08 10:08 eastson 阅读(318) 评论(0) 推荐(0)

摘要: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'configController' for bean class [net.mingy... 阅读全文

posted @ 2014-08-08 09:38 eastson 阅读(8821) 评论(0) 推荐(1)

摘要: org.hibernate.AnnotationException: No identifier specified for entity: net.mingyang.modules.system.ConfigGroup org.hibernate.cfg.InheritanceState.d... 阅读全文

posted @ 2014-08-08 08:58 eastson 阅读(311) 评论(0) 推荐(0)