Groovy笔记-关于joda-time和excel-import插件适用的grails版本问题
2015-05-05 14:21
519 查看
1.joda-time
joda-time:1.5只适用于>2.3,即目前为止最新的2.4下可以.
相关依赖:
版本1.5:compile "org.jadira.usertype:usertype.jodatime:1.9"
其他版本joda-time(1.2/1.3/1.3.1/1.4):
compile("joda-time:joda-time-hibernate:1.3") {
excludes "joda-time", "hibernate"
}
2.excel-import
关于excel-import适用于何版本的grails,官网上是这么说的:
"Note: This was tested with Grails 1.3. stream (Tomcat 6
7), not tested with 2.* yet. It also currently has a dependency on Joda-Time plugin (1.2), though it should work with both Joda and java.util.Date. ."
很明显,只适用于grails1,grails2还不适用.
相关依赖:
mavenRepo "http://repo.grails.org/grails/libs-releases/"
mavenRepo "http://m2repo.spockframework.org/ext/"
PS:excel-import是依赖于joda-time的,所以要使用excel-import之前必须先安装joda-time,这也是为什么把他们两个放在一起讲解的原因.
joda-time:1.5只适用于>2.3,即目前为止最新的2.4下可以.
相关依赖:
版本1.5:compile "org.jadira.usertype:usertype.jodatime:1.9"
其他版本joda-time(1.2/1.3/1.3.1/1.4):
compile("joda-time:joda-time-hibernate:1.3") {
excludes "joda-time", "hibernate"
}
2.excel-import
关于excel-import适用于何版本的grails,官网上是这么说的:
"Note: This was tested with Grails 1.3. stream (Tomcat 6
7), not tested with 2.* yet. It also currently has a dependency on Joda-Time plugin (1.2), though it should work with both Joda and java.util.Date. ."
很明显,只适用于grails1,grails2还不适用.
相关依赖:
mavenRepo "http://repo.grails.org/grails/libs-releases/"
mavenRepo "http://m2repo.spockframework.org/ext/"
PS:excel-import是依赖于joda-time的,所以要使用excel-import之前必须先安装joda-time,这也是为什么把他们两个放在一起讲解的原因.
相关文章推荐
- Java Puzzlers笔记--Puzzle 2: Time for a change 关于浮点型的问题
- qt/embedded 安装笔记 关于 gcc g++ 的版本问题
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- 关于在Myeclipse8.0 或8.5版本中安装插件的问题
- 关于WinCE Release版本程序SetLocalTime失败问题
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- 关于m2eclipse插件在myeclipse 及其以后版本的问题及终极解决办法!
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- Grails笔记二:grails 2.4.3版本下generate-*失效问题解析
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题
- 升级Xcode7.2之后 VVDocumenter-插件不能使用(对其他版本升级后存在的问题也适用)
- 关于POI解析Excel文件(03和07版本不同)的问题
- php 关于变量是时间戳还是已经变成特定格式的时间的判断(舍弃strtotime false判断法 php版本会出问题)
- 关于MyEclipse的SVN插件(Subclipse)历史版本乱码的问题
- 关于Studio的版本、gradle版本和插件版本的问题
- Zephyr应用笔记:关于支持zephyr-v1.11.0版本mcuboot加密编译错误问题
- sql server 关于表中只增标识问题 C# 实现自动化打开和关闭可执行文件(或 关闭停止与系统交互的可执行文件) ajaxfileupload插件上传图片功能,用MVC和aspx做后台各写了一个案例 将小写阿拉伯数字转换成大写的汉字, C# WinForm 中英文实现, 国际化实现的简单方法 ASP.NET Core 2 学习笔记(六)ASP.NET Core 2 学习笔记(三)
- 关于Eclipse的SVN插件(Subclipse)历史版本乱码的问题