when try use
grails s2-quickstart com.kanabang secuser secrole
it show following in console.
error | error occurred running grails cli: failed parse template script (your template may contain error or trying use expressions not supported): startup failed: gstringtemplatescript1.groovy: -1: unable resolve class org.springframework.beans.factory.annotation.autowired @ line -1, column -1. 1 error
cannot create bean.
my dependencies
dependencies { compile "org.springframework.boot:spring-boot-starter-logging" compile "org.springframework.boot:spring-boot-starter-actuator" compile "org.springframework.boot:spring-boot-autoconfigure" compile "org.springframework.boot:spring-boot-starter-tomcat" compile "org.grails:grails-dependencies" compile "org.grails:grails-web-boot" compile "org.grails.plugins:hibernate" compile "org.grails.plugins:cache" compile "org.hibernate:hibernate-ehcache" compile "org.grails.plugins:scaffolding" compile 'org.grails.plugins:spring-security-core:3.0.3' runtime "org.grails.plugins:asset-pipeline" testcompile "org.grails:grails-plugin-testing" testcompile "org.grails.plugins:geb" // note: recommended update more robust driver (chrome, firefox etc.) testruntime 'org.seleniumhq.selenium:selenium-htmlunit-driver:2.44.0' console "org.grails:grails-console" }
is bug or wrong config.?
note that:i using intellij 15.
after testing.
i try use mingw64 build application.
it create domain classes.
before doing this. need add grails_home in path.
i thank key point.
Comments
Post a Comment