【问题标题】:in grails when I run I got this error在我运行时在 grails 中出现此错误
【发布时间】:2018-07-27 01:05:27
【问题描述】:
:: Before findByName ::
2018-02-16 12:08:28.544 ERROR --- [           main] o.h.p.access.spi.SetterMethodImpl        : HHH000123: IllegalArgumentException in class: com.iconn
ect.grails.mis.model.BaseReportCriteriaCommand, setter method of property: groupByList
2018-02-16 12:08:28.560 ERROR --- [           main] o.h.p.access.spi.SetterMethodImpl        : HHH000091: Expected type: java.util.ArrayList, actual v
alue: org.hibernate.collection.internal.PersistentList
2018-02-16 12:08:28.709 ERROR --- [           main] o.s.boot.SpringApplication               : Application startup failed
strong text

【问题讨论】:

    标签: grails


    【解决方案1】:

    将BaseReportCriteriaCommand中groupByList的类型从ArrayList更改为List。

    【讨论】:

      猜你喜欢
      • 2016-01-13
      • 1970-01-01
      • 2013-08-11
      • 2021-12-28
      • 1970-01-01
      • 1970-01-01
      • 2017-04-04
      • 1970-01-01
      • 2017-08-08
      相关资源
      最近更新 更多