Grails

generate-xxx task finds multiple ApplicationBootStrap.groovy files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.4.2
  • Fix Version/s: 0.6
  • Component/s: Scaffolding
  • Labels:
    None
  • Environment:
    Windows XP, Java 6

Description

I'm creating a very simple CRUD app but am having problems.

When I run a generate-xxx target, Grails finds multiple ApplicationBootStrap.groovy files. These files do exist in GRAILS_HOME/samples/** so I thought since GRAILS_HOME was in my classpath it might be picking them up there. But if I remove GRAILS_HOME then Grails chokes because it can't find GrailsApplicationFactoryBean. I read in a forum about someone who had the same problem and fixed it by removing '.' from the classpath, but that does't work in my case since I only have GRAILS_HOME in my classpath

With Java 5 and Java 1.4, I get an "Error starting Sun's native2ascii:" message.

Activity

Hide
Graeme Rocher added a comment -

fixed by pre-compilation

Show
Graeme Rocher added a comment - fixed by pre-compilation

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: