Closed
Description
Task List
- Steps to reproduce provided
- Stacktrace (if present) provided
- Example that reproduces the problem uploaded to Github
- Full description of the issue provided (see below)
Steps to Reproduce
- Create a new Grails plugin. (
grails create-app example.myplugin --profile=plugin
. - Create a new service via command
grails create-service example.BookService
- Execute
./gradlew compileGroovy
.
Expected Behaviour
Project should compile successfully.
Actual Behaviour
> Task :compileGroovy FAILED
startup failed:
/private/tmp/plugin/grails-app/services/demo/BookService.groovy: 3: unable to resolve class grails.gorm.transactions.Transactional
@ line 3, column 1.
import grails.gorm.transactions.Transactional
^
1 error
Environment Information
- Operating System: macOS Mojave (Version 10.14.5)
- Grails Version: 4.0.0.RC2
- JDK Version: 1.8
- Container Version (If Applicable): N/A
Example Project
See https://travis-ci.org/grails-profiles-tests/plugin/builds/543070082