Grails 圣杯清洗后,我可以';t运行应用程序

Grails 圣杯清洗后,我可以';t运行应用程序,grails,groovy,Grails,Groovy,我做了一个grails clean之后,当我通过grails run app运行时,应用程序永远不会启动,下面的内容会重复显示(永远持续,卡在某种循环中) 我在WindowsXP上运行Grails1.0.4和Java1.6 Grails不知何故陷入了一个无效的配置中。你知道怎么恢复吗 [groovyc] Compiling 3 source files to C:\Documents and Settings\Steve\.grails\1.0.4\projects\myproject\cl

我做了一个
grails clean
之后,当我通过
grails run app
运行时,应用程序永远不会启动,下面的内容会重复显示(永远持续,卡在某种循环中)

我在WindowsXP上运行Grails1.0.4和Java1.6

Grails不知何故陷入了一个无效的配置中。你知道怎么恢复吗

  [groovyc] Compiling 3 source files to C:\Documents and Settings\Steve\.grails\1.0.4\projects\myproject\classes
    [javac] Compiling 3 source files to C:\Documents and Settings\Steve\.grails\1.0.4\projects\myproject\classes
2008-12-28 10:40:27.549:/myproject:INFO:  Destroying Spring FrameworkServlet 'grails'
[6688] spring.GrailsWebApplicationContext Closing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1c3c6d8: display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1c3c6d8]; startup date [Sun Dec 28 10:40:23 PST 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext@93912f
2008-12-28 10:40:27.549:/myproject:INFO:  Shutting down log4j
  [groovyc] Compiling 3 source files to C:\Documents and Settings\Steve\.grails\1.0.4\projects\myproject\classes
    [javac] Compiling 3 source files to C:\Documents and Settings\Steve\.grails\1.0.4\projects\myproject\classes
2008-12-28 10:40:27.877::INFO:  jetty-6.1.12
2008-12-28 10:40:27.892::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
2008-12-28 10:40:27.970:/myproject:INFO:  Set web app root system property: 'myproject-development-0.1' = [C:\dev\myproject\web-app]
2008-12-28 10:40:27.970:/myproject:INFO:  Initializing log4j from [file:C:\Documents and Settings\Steve/.grails/1.0.4/projects/myproject/resources/log4j.properties]
2008-12-28 10:40:27.970:/myproject:INFO:  Initializing Spring root WebApplicationContext
[7297] spring.GrailsWebApplicationContext Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1ada1e0: display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1ada1e0]; startup date [Sun Dec 28 10:40:27 PST 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext@18b24cb
[7297] spring.GrailsWebApplicationContext Bean factory for application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1ada1e0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1cf6930
2008-12-28 10:40:27.299:/myproject:INFO:  Initializing Spring FrameworkServlet 'grails'
2008-12-28 10:40:27.314::INFO:  Started SelectChannelConnector@0.0.0.0:8080

好的,我找到了。我有一个完全被注释掉的.java文件。就Java而言,这是100%合法的,但显然Grails无法处理它。Grails必须假设任何.java都有相应的.class文件。由于该文件不包含Java代码,因此没有生成相应的类文件


跟进:这已在2.0-M2中修复,请参见

好的,我找到了。我有一个完全被注释掉的.java文件。就Java而言,这是100%合法的,但显然Grails无法处理它。Grails必须假设任何.java都有相应的.class文件。由于该文件不包含Java代码,因此没有生成相应的类文件


跟进:这已在2.0-M2中修复,请参见

我认为在其中添加jira()可能会很好(如果不存在),我认为在其中添加jira()可能会很好(如果不存在)