摘要: No plugin found for prefix 'grails' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (E:\share\mavenRepository\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] 阅读全文
posted @ 2017-05-01 16:20 139亿 阅读(1166) 评论(0) 推荐(0) 编辑
摘要: nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer];java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String; 阅读全文
posted @ 2017-04-30 21:51 139亿 阅读(352) 评论(0) 推荐(0) 编辑
摘要: maven构建ssh项目,spring3.2,hibernate3.3,Struts2 2.3 阅读全文
posted @ 2017-04-30 21:50 139亿 阅读(2807) 评论(0) 推荐(0) 编辑
摘要: 引入别人的项目发现利用HibernateTemplate的load的方法报错了。错误提示为: The method load(Class, Serializable) in the type HibernateTemplate is not applicable for the arguments 阅读全文
posted @ 2016-10-22 12:36 139亿 阅读(4439) 评论(0) 推荐(1) 编辑
摘要: hibernate只用注解时,spring的配置文件的配置如下 hibernate即用注解也用配置文件的情况:首先hibernate配置文件内容如下: 然后spring配置文件内容: 在sessionFactoryBean中增加了元素 <property name="configLocation"> 阅读全文
posted @ 2016-10-15 20:26 139亿 阅读(1154) 评论(0) 推荐(0) 编辑
摘要: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans4.xml]: I 阅读全文
posted @ 2016-09-13 18:45 139亿 阅读(1208) 评论(0) 推荐(0) 编辑