自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

千言万语ROOM

倾尽一生,半世浮华!

  • 博客(5)
  • 问答 (13)
  • 收藏
  • 关注

原创 Pointcut is malformed: Pointcut is not well-formed: expecting 'name pattern' at character position 5

注意:空格

2017-03-31 19:10:34 1394

原创 org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/atguigu/hi

原因是由两个  .hbm.xml文件名字相同,但是在不同的包里,也会无法解析.删除其中一个就行了.

2017-03-25 15:42:09 1201

原创 第一次使用hibernate写的helloworld

今天第一次使用hibernate谢了个小程序:使用hibernate创建数据表,并插入数据,但是报了个异常:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.atguigu.hibernate.hellow

2017-03-23 22:11:43 384

原创 Property 'items' not found on type com.bookstore.domain.ShoppingCart 一个错误

这段代码报了上面的异常:Property 'items' not found on type com.bookstore.domain.ShoppingCart 但是同样的EL表达式操作同一个类的字段就没问题:${sessionScope.ShoppingCart.bookNumber }${item.book.title }${item.book.price }$

2017-03-16 16:08:53 1702 1

原创 java.sql.SQLException: Cannot create com.bookstore.domain.TradeItem 异常

java.sql.SQLException: Cannot create com.bookstore.domain.TradeItem:报这个异常原因是没有给  TradeItem  类提供无参的构造器,事实上要提供无参和有参的两个构造器。

2017-03-15 13:03:16 1550 1

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除