• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






新月风云

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2013年10月30日

css 加载顺序 重复定义
摘要: 1、内联样式(inline style) > ID选择符 > 类选择符(class), 伪类(pseudo-class)和属*(attribute)选择符 > 类别(type),伪对象(pseudo-element)2、如果定义了重复的属性值,以最后定义的为准,如果应用了两个或多个样式名,里面不重复定义的 属性值就追加上去,重复的属性值就以最后一个为准。#cssTest{ background-color:red; text-indent:100px;}#cssTest{ background-color:green;}最后得到的是#cssTest{ backgroun... 阅读全文
posted @ 2013-10-30 21:21 新月风云 阅读(749) 评论(0) 推荐(0)
 
Spring JPA 不使用persistence.xml
摘要: 为了减少配置文件,可以按如下方式配置,则必加载 persistence.xml --> --> --> 阅读全文
posted @ 2013-10-30 16:57 新月风云 阅读(620) 评论(0) 推荐(0)
 
Spring JPA Not supported by BasicDataSource
摘要: 详细错误:Exception in thread "main" java.lang.UnsupportedOperationException: Not supported by BasicDataSource at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1062) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourc 阅读全文
posted @ 2013-10-30 16:35 新月风云 阅读(749) 评论(0) 推荐(0)
 
Spring JPA Could not autowire field
摘要: 报错信息如下Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: 阅读全文
posted @ 2013-10-30 15:47 新月风云 阅读(1424) 评论(0) 推荐(0)