I know I must be missing something basic here, but with a fresh grails
1.1 project I installed autobase, and tried to run create-migration,
but I get the following error:
Error executing script CreateMigration: startup failed,
CreateMigration: 2: unable to resolve class
liquibase.dsl.properties.LbdslProperties
It looks like it can't find the import. Is 1.1 supported? Do I need
some sort of props file already created? I didn't find any info about
this on the wiki.
Thanks in advance,
Jeff Ellis
Complete transcript:
---------------------------
jeff@obiwan:~/projects/abtest$ grails install-plugin autobase
jeff@obiwan:~/projects/abtest$ grails install-plugin autobase
Welcome to Grails 1.1 -
http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/local/home/jeff/tools/grails
Base Directory: /usr/local/home/jeff/projects/abtest
Running script /usr/local/home/jeff/tools/grails/scripts/
InstallPlugin.groovy
Environment set to development
Reading remote plugin list ...
Reading remote plugin list ...
[copy] Copying 1 file to /usr/local/home/jeff/.grails/1.1/
projects/abtest/plugins
Installing plug-in autobase-0.8.3
[mkdir] Created dir: /usr/local/home/jeff/.grails/1.1/projects/
abtest/plugins/autobase-0.8.3
[unzip] Expanding: /usr/local/home/jeff/.grails/1.1/plugins/grails-
autobase-0.8.3.zip into /usr/local/home/jeff/.grails/1.1/projects/
abtest/plugins/autobase-0.8.3
Executing autobase-0.8.3 plugin post-install script ...
[mkdir] Created dir: /usr/local/home/jeff/projects/abtest/
migrations
[copy] Copying 1 file to /usr/local/home/jeff/projects/abtest/
migrations
[copy] Copying /usr/local/home/jeff/.grails/1.1/projects/abtest/
plugins/autobase-0.8.3/src/templates/artifacts/
DatabaseChangeLog.groovy to /usr/local/home/jeff/projects/abtest/
migrations/changelog.groovy
Plugin autobase-0.8.3 installed
Plug-in provides the following new scripts:
------------------------------------------
grails create-groovy-migration
grails events
grails create-migration
grails convert-xml-changelog
Found events script in plugin autobase
jeff@obiwan:~/projects/abtest$ grails create-migration abtest1
Welcome to Grails 1.1 -
http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/local/home/jeff/tools/grails
Base Directory: /usr/local/home/jeff/projects/abtest
Running script /usr/local/home/jeff/.grails/1.1/projects/abtest/
plugins/autobase-0.8.3/scripts/CreateMigration.groovy
Error executing script CreateMigration: startup failed,
CreateMigration: 2: unable to resolve class
liquibase.dsl.properties.LbdslProperties
@ line 2, column 1.
1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed, CreateMigration: 2: unable to resolve class
liquibase.dsl.properties.LbdslProperties
@ line 2, column 1.
1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors
(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits
(CompilationUnit.java:816)
at org.codehaus.groovy.control.CompilationUnit.compile
(CompilationUnit.java:466)
at org.codehaus.groovy.control.CompilationUnit.compile
(CompilationUnit.java:445)
at gant.Gant.compileScript(Gant.groovy:506)
at gant.Gant.this$2$compileScript(Gant.groovy)
at gant.Gant$_closure1.doCall(Gant.groovy:121)
at gant.Gant$_closure1.call(Gant.groovy)
at gant.Gant.loadScript(Gant.groovy:250)
at gant.Gant$loadScript.callCurrent(Unknown Source)
at gant.Gant.loadScript(Gant.groovy:233)