Grails exception when starting within IntelliJ
When starting Grails from within IntelliJ, I get this exception:
I did a clean, and tried again. Same error. I tried again, but the same error. Then I did the same from the command line, and did work. So when starting Grails from within IntelliJ, I get this error every time.
I start it with this command, which is generated by IntelliJ:
"C:\Program Files\Java\jdk1.5.0_15\bin\java" -Xmx256M -Dgrails.home=D:\Download\Grails\grails-1.0.3 -Dbase.dir=D:\UserFiles\PersonalProjects\HengeloBierWebsite "-Dtools.jar=C:\Program Files\Java\jdk1.5.0_15\lib\tools.jar" -Dgroovy.starter.conf=D:\Download\Grails\grails-1.0.3/conf/groovy-starter.conf -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA 8.0M1\bin" -Dfile.encoding=windows-1252 -classpath "D:\Download\Groovy\groovy-1.6-beta-1\embeddable\groovy-all-1.6-beta-1.jar;D:\Download\Grails\grails-1.0.3\lib\commons-lang-2.1.jar;D:\Download\Grails\grails-1.0.3\lib\spring-binding-2.0-m1.jar;D:\Download\Grails\grails-1.0.3\dist\grails-cli-1.0.3.jar;D:\Download\Grails\grails-1.0.3\dist\grails-crud-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-plus-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\cglib-nodep-2.1_3.jar;D:\Download\Grails\grails-1.0.3\lib\ehcache-1.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\ant-trax.jar;D:\Download\Grails\grails-1.0.3\lib\xpp3_min-1.1.3.4.O.jar;D:\Download\Grails\grails-1.0.3\lib\jsp-api-2.0.jar;D:\Download\Grails\grails-1.0.3\lib\spring-2.5.5.jar;D:\Download\Grails\grails-1.0.3\dist\grails-spring-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\spring-webflow-2.0-m1.jar;D:\Download\Grails\grails-1.0.3\lib\commons-pool-1.2.jar;D:\Download\Grails\grails-1.0.3\dist\grails-core-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\dom4j-1.6.1.jar;D:\Download\Grails\grails-1.0.3\lib\ant-launcher.jar;D:\Download\Grails\grails-1.0.3\lib\ant-junit.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate3.jar;D:\Download\Grails\grails-1.0.3\lib\xercesImpl.jar;D:\Download\Grails\grails-1.0.3\lib\serializer.jar;D:\Download\Grails\grails-1.0.3\lib\commons-io-1.4.jar;D:\Download\Grails\grails-1.0.3\lib\ejb3-persistence.jar;D:\Download\Grails\grails-1.0.3\lib\jstl-2.4.jar;D:\Download\Grails\grails-1.0.3\lib\xstream-1.2.1.jar;D:\Download\Grails\grails-1.0.3\lib\commons-collections-3.2.jar;D:\Download\Grails\grails-1.0.3\lib\oscache-2.4.1.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate-annotations.jar;D:\Download\Grails\grails-1.0.3\lib\bsf-2.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\ognl-2.6.9.jar;D:\Download\Grails\grails-1.0.3\lib\svnkit.jar;D:\Download\Grails\grails-1.0.3\lib\ant.jar;D:\Download\Grails\grails-1.0.3\lib\standard-2.4.jar;D:\Download\Grails\grails-1.0.3\lib\log4j-1.2.15.jar;D:\Download\Grails\grails-1.0.3\lib\jdbc2_0-stdext.jar;D:\Download\Grails\grails-1.0.3\lib\start.jar;D:\Download\Grails\grails-1.0.3\dist\grails-web-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-naming-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate-commons-annotations.jar;D:\Download\Grails\grails-1.0.3\lib\commons-dbcp-1.2.1.jar;D:\Download\Grails\grails-1.0.3\lib\hsqldb-1.8.0.5.jar;D:\Download\Grails\grails-1.0.3\lib\jline-0.9.91.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-runtime-5.5.15.jar;D:\Download\Grails\grails-1.0.3\lib\commons-fileupload-1.1.1.jar;D:\Download\Grails\grails-1.0.3\lib\spring-test.jar;D:\Download\Grails\grails-1.0.3\lib\commons-validator-1.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\jaxen-1.1-beta-11.jar;D:\Download\Grails\grails-1.0.3\lib\gant-1.1.0_groovy-1.5.2.jar;D:\Download\Grails\grails-1.0.3\dist\grails-webflow-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\groovy-all-1.5.6.jar;D:\Download\Grails\grails-1.0.3\lib\commons-logging-1.1.jar;D:\Download\Grails\grails-1.0.3\lib\xalan.jar;D:\Download\Grails\grails-1.0.3\dist\grails-gorm-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\ant-nodeps.jar;D:\Download\Grails\grails-1.0.3\lib\commons-cli-1.0.jar;D:\Download\Grails\grails-1.0.3\lib\jta.jar;D:\Download\Grails\grails-1.0.3\lib\standard-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-util-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\oro-2.0.8.jar;D:\Download\Grails\grails-1.0.3\dist\grails-test-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\servlet-api-2.5-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\commons-beanutils-1.7.0.jar;D:\Download\Grails\grails-1.0.3\lib\junit-3.8.2.jar;D:\Download\Grails\grails-1.0.3\lib\commons-el-1.0.jar;D:\Download\Grails\grails-1.0.3\lib\spring-webmvc.jar;D:\Download\Grails\grails-1.0.3\lib\jstl-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\antlr-2.7.6.jar;D:\Download\Grails\grails-1.0.3\lib\sitemesh-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-compiler-5.5.15.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-compiler-jdt-5.5.15.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\sunpkcs11.jar;D:\UserFiles\PersonalProjects\HengeloBierWebsite\out\production\HengeloBierWebsite;C:\Program Files\JetBrains\IntelliJ IDEA 8.0M1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.groovy.tools.GroovyStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf D:\Download\Grails\grails-1.0.3/conf/groovy-starter.conf --classpath "D:\Download\Grails\grails-1.0.3\lib\groovy-all-1.5.6.jar;.;D:\Download\Grails\grails-1.0.3\lib\commons-lang-2.1.jar;D:\Download\Grails\grails-1.0.3\lib\spring-binding-2.0-m1.jar;D:\Download\Grails\grails-1.0.3\dist\grails-cli-1.0.3.jar;D:\Download\Grails\grails-1.0.3\dist\grails-crud-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-plus-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\cglib-nodep-2.1_3.jar;D:\Download\Grails\grails-1.0.3\lib\ehcache-1.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\ant-trax.jar;D:\Download\Grails\grails-1.0.3\lib\xpp3_min-1.1.3.4.O.jar;D:\Download\Grails\grails-1.0.3\lib\jsp-api-2.0.jar;D:\Download\Grails\grails-1.0.3\lib\spring-2.5.5.jar;D:\Download\Grails\grails-1.0.3\dist\grails-spring-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\spring-webflow-2.0-m1.jar;D:\Download\Grails\grails-1.0.3\lib\commons-pool-1.2.jar;D:\Download\Grails\grails-1.0.3\dist\grails-core-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\dom4j-1.6.1.jar;D:\Download\Grails\grails-1.0.3\lib\ant-launcher.jar;D:\Download\Grails\grails-1.0.3\lib\ant-junit.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate3.jar;D:\Download\Grails\grails-1.0.3\lib\xercesImpl.jar;D:\Download\Grails\grails-1.0.3\lib\serializer.jar;D:\Download\Grails\grails-1.0.3\lib\commons-io-1.4.jar;D:\Download\Grails\grails-1.0.3\lib\ejb3-persistence.jar;D:\Download\Grails\grails-1.0.3\lib\jstl-2.4.jar;D:\Download\Grails\grails-1.0.3\lib\xstream-1.2.1.jar;D:\Download\Grails\grails-1.0.3\lib\commons-collections-3.2.jar;D:\Download\Grails\grails-1.0.3\lib\oscache-2.4.1.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate-annotations.jar;D:\Download\Grails\grails-1.0.3\lib\bsf-2.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\ognl-2.6.9.jar;D:\Download\Grails\grails-1.0.3\lib\svnkit.jar;D:\Download\Grails\grails-1.0.3\lib\ant.jar;D:\Download\Grails\grails-1.0.3\lib\standard-2.4.jar;D:\Download\Grails\grails-1.0.3\lib\log4j-1.2.15.jar;D:\Download\Grails\grails-1.0.3\lib\jdbc2_0-stdext.jar;D:\Download\Grails\grails-1.0.3\lib\start.jar;D:\Download\Grails\grails-1.0.3\dist\grails-web-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-naming-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\hibernate-commons-annotations.jar;D:\Download\Grails\grails-1.0.3\lib\commons-dbcp-1.2.1.jar;D:\Download\Grails\grails-1.0.3\lib\hsqldb-1.8.0.5.jar;D:\Download\Grails\grails-1.0.3\lib\jline-0.9.91.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-runtime-5.5.15.jar;D:\Download\Grails\grails-1.0.3\lib\commons-fileupload-1.1.1.jar;D:\Download\Grails\grails-1.0.3\lib\spring-test.jar;D:\Download\Grails\grails-1.0.3\lib\commons-validator-1.3.0.jar;D:\Download\Grails\grails-1.0.3\lib\jaxen-1.1-beta-11.jar;D:\Download\Grails\grails-1.0.3\lib\gant-1.1.0_groovy-1.5.2.jar;D:\Download\Grails\grails-1.0.3\dist\grails-webflow-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\commons-logging-1.1.jar;D:\Download\Grails\grails-1.0.3\lib\xalan.jar;D:\Download\Grails\grails-1.0.3\dist\grails-gorm-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\ant-nodeps.jar;D:\Download\Grails\grails-1.0.3\lib\commons-cli-1.0.jar;D:\Download\Grails\grails-1.0.3\lib\jta.jar;D:\Download\Grails\grails-1.0.3\lib\standard-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\jetty-util-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\oro-2.0.8.jar;D:\Download\Grails\grails-1.0.3\dist\grails-test-1.0.3.jar;D:\Download\Grails\grails-1.0.3\lib\servlet-api-2.5-6.1.4.jar;D:\Download\Grails\grails-1.0.3\lib\commons-beanutils-1.7.0.jar;D:\Download\Grails\grails-1.0.3\lib\junit-3.8.2.jar;D:\Download\Grails\grails-1.0.3\lib\commons-el-1.0.jar;D:\Download\Grails\grails-1.0.3\lib\spring-webmvc.jar;D:\Download\Grails\grails-1.0.3\lib\jstl-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\antlr-2.7.6.jar;D:\Download\Grails\grails-1.0.3\lib\sitemesh-2.3.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-compiler-5.5.15.jar;D:\Download\Grails\grails-1.0.3\lib\jasper-compiler-jdt-5.5.15.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0_15\jre\lib\ext\sunpkcs11.jar;D:\UserFiles\PersonalProjects\HengeloBierWebsite\out\production\HengeloBierWebsite" run-app
errors.GrailsExceptionResolver groovy.lang.MissingMethodException: No signature of method: static guestbook.Entry.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: {["action":"list", "controller":"guestbook", "max":10]}
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: static guestbook.Entry.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: {["action":"list", "controller":"guestbook", "max":10]}
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:92)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at groovy.lang.Closure.call(Closure.java:292)
at groovy.lang.Closure.call(Closure.java:287)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleAction(SimpleGrailsControllerHelper.java:503)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.executeAction(SimpleGrailsControllerHelper.java:394)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:233)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:154)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleRequest(SimpleGrailsController.java:88)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet.doDispatch(GrailsDispatcherServlet.java:260)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)
at org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter.doFilterInternal(GrailsReloadServletFilter.java:112)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:202)
at org.codehaus.groovy.grails.web.util.WebUtils.forwardRequestForUrlMappingInfo(WebUtils.java:189)
at org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFilterInternal(UrlMappingsFilter.java:117)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.parsePage(GrailsPageFilter.java:123)
at org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.doFilter(GrailsPageFilter.java:86)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:65)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:295)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: groovy.lang.MissingMethodException: No signature of method: static guestbook.Entry.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: {["action":"list", "controller":"guestbook", "max":10]}
at guestbook.GuestbookController$_closure2.doCall(GuestbookController.groovy:12)
at guestbook.GuestbookController$_closure2.doCall(GuestbookController.groovy)
请先登录再写评论。
I am using Intellij IDEA 7.0.4 with the latest JetGroovy plugin (1.6.18593) and I having what may be the same problem.
I also get a missing method exception for one of Grails domain-class methods - mine is User.findByName. Everything works fine when running from the command line with just "grails run-app", but not within Intellij.
Anyone have a clue on how to resolve this?
FYI information from Support confirms a classpath related bug effecting Grails and a fix is expected to be released this evening.
Fixed and uploaded in 1.6.18808
I'm using 2.0... is it fixed there too?
Yes it is, but you have to wait for next EAP, because of major changes in API it's not compatible with last one (8733). Sorry for inconvenience.
"you have to wait for next EAP" - what does that TLA mean in English?
Was considering switching from Eclipse to IDEA because of supposed better Groovy/Grails support. One hour into my 28 day evaluation, not impressed to find that IDEA can't actually run Grails applications. :(
I am still seeing this exception. IJ 7.0.4, Plugin build 1.6.18844, Mac OS X 10.5.4.
Thanks,
-dpj
It's a bit (okay: really...) annoyant that the current status of the Grails plugin is not up to Jetbrains normal standards, but I'd suggest to give it a little more time, and you won't be disappointed. I've used the plugin for more than 6 months now, and it's much better than the competion out there. The Jetbrains folks really put a lot of effort in it, and when it's working correctly, you don't feel the difference between normal Java support and support for a dynamic language like Groovy. And that's a big compliment! So, just give the Jetbrains guys some time, and everything will work out just fine! ;)
Well, I'll manage, but I have to give a Grails presentation to 50 Java Developers in two weeks, and I want to use IntelliJ for doing that (It's partially a live demo). So it would be nice if in that timeframe a new Grails plugin is available. (Ofcourse I can revert back to 7.0.4, but I currently have only 8M1 installed, and I'd rather move forward than backward ;))
Same thing here, but running a Linux box.
I've tried to clean all generated files, but the issue is still here for me.
Erik,
Thanks for kind words. As it seems to me, I fixed bug with numerous Grails exceptions, related to dirty classpath. Last build of JetGroovy 1.6 is already uploaded to our plugin repository. Also, fixed version of JetGroovy 2.0 for IDEA 8 will be available in several days with next EAP.
Ilya
Hi Ilya,
That's great! Thanks for the quick reply, I really appreciate it!
Wow this thread has been open a while. Is this a problem that comes and goes with every other release of JetGroovy?
I am using IntelliJ 7.0.4 with JetGroovy 1.6.18899 on Mac OS X 10.5.4. It just started happing to me after I upgraded to 1.6.18899 this afternoon.
How do I revert back? Just uninstall the plugin and then re-install the older version?
Thanks - Richard
OK, this is not fun now. After reverting back (new install of IntelliJ 7.0.4, new install of JetGroovy) the problem still exists. So I reverted my Grails project back to one from Aug 26 that was working - the problem still exists. I've run "grails clean" numerous times, have checked and re-checked with the IntelliJ/JetGroovy project settings and it still gets the same thing.
The problem only occurs on a run-app in IntelliJ, If I run from the command line its fine.
Help?
The problem is still in dirty classpath during grails application start. It's completely our bug. Please, try last plugin version (1.6.19053.).
Ilya
In the past (based on advice in this forum) I've found that it is sometimes helpful or necessary to delete the IDEA cache. I'd try this in your situation where you've reverted to something that used to work and it's no longer working. There are a number of cache directories located under HOME/.IntelliJIdea70\system.
Ilya - thank you. This release of JetGroovy seems to have fixed the problem for me. - Richard
Brad, thanks for the tip. I did not need it this time, but will remember it for next time (nopefully "!Not"). - R
It is now working for me as well. Thanks!