Groovy笔记-关于joda-time和excel-import插件适用的grails版本问
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") { 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/" PS:excel-import是依赖于joda-time的,所以要使用excel-import之前必须先安装joda-time,这也是为什么把他们两个放在一起讲解的原因. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |