joergrech/KickstartWithBootstrap — Issue #3: No such property: TimeCategory (minor, suggested fix)
Author: bronoman
Created: 2012-02-14 16:24:20+00:00
State: open

### Environment
Win7 Home Premium
JDK 1.7.0_01
Grails 2.0.0
KickstartWithBootstrap Plugin 0.5.4

### Symptoms
When starting a new application (here called: boot3) and installing the KickstartWithBootstrap Plugin, the following errors are shown (homepage and console) when calling the homepage of the application:

### Console Output
home.index: [controller:home, action:index]
| Error 2012-02-15 00:11:17,720 ["http-bio-8080"-exec-2] ERROR errors.GrailsExceptionResolver - MissingPropertyException occurred when processing req
uest: [GET] /boot3/
No such property: TimeCategory for class: kickstart.KickstartFilters. Stacktrace follows:
Message: No such property: TimeCategory for class: kickstart.KickstartFilters
Line | Method
->> 16 | doCall in kickstart.KickstartFilters$_closure1_closure2_closure4$$ENOv49Kf
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run in java.lang.Thread

### Suggested Fix
(already tested, seems to work fine)
in file \grails-app\conf\kickstart.groovy
insert the following after line 1:
import groovy.time.*