Grails 2 hot restart error for service containing static inner class

I get the following error whenever I modify a service (while the grails application is running) that contains a static inner class from eclipse. How to resolve this?

ERROR loaded.CurrentLiveVersion - Unexpected exception whilst trying to call the static initializer on com.xySensorDataProcessorService$SensorProcessedFields 

SensorDataProcessorService, and the static inner class is SensorProcessedFields

+6
source share
1 answer

For those of you who are landing on this page right now, this was an old problem that was resolved. Tickets can be found here:

https://jira.grails.org/browse/GRAILS-9600

https://jira.grails.org/browse/GRAILS-8042

Graham Rocher comments that he was allowed in 2.1.3

http://grails.1312388.n4.nabble.com/2-1-2-loaded-CurrentLiveVersion-Unexpected-exception-whilst-td4638656.html

0
source

Source: https://habr.com/ru/post/908951/


All Articles