摘要:
Error creating bean with name 'useraction' defined in class path resource [a 查看action中set/get是否正确 最好自动生成 阅读全文
摘要:
元注解: 元注解的作用就是负责注解其他注解 1.@Target, 2.@Retention, 3.@Documented, 4.@Inherited 这些类型和它们所支持的类在java.lang.annotation包中可以找到。下面我们看一下每个元注解的作用和相应分参数的使用说明。 @Target 阅读全文
摘要:
一对一映射文件配置 //主动方 <one to one name="被动方实体类变量" class="被动方实体类路径" cascade="all" property="关联类"/> EG:<one-to-one name="prove" class="com.li.www.entity.Prove 阅读全文
摘要:
package com.li.www.test; public class ManyToMany { public static void main(String[] args) { Configuration conf=null; SessionFactory sessionFactory=nul 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.n 阅读全文
摘要:
Exception starting filter struts2 Unable to load configuration. - [unknown location] 解决办法: 将xerces-2.6.2.jar文件删除(版本不一定相同)或者在lib目录中删除,然后把服务器部署过的此项目也删掉, 阅读全文