I have created a new domain object in an existing Grails 1.3.7 project.
package com.xfitlog
class Implement {
String name
String description
String abbreviation
Type: Posts; User: jcroley; Keyword(s):
I have created a new domain object in an existing Grails 1.3.7 project.
package com.xfitlog
class Implement {
String name
String description
String abbreviation
Thanks Burt. That was the fix!!
I've been experiencing an unusual problem with a pre-existing grails project. Any time I add anything new to any domain class the project crashes and errors out. i don't have any experience with...
Okay. I ran a little experiment. I had a test project on the same machine. I added a 'ProgramType' domain object and controller to that project and set 'def scaffold = true'. Everything worked fine....
I removed the 'target' directory and rebuilt the project. Resulted in the same error.
I tried to create a more complex domain object before 'ProgramType'. That is when I first noticed the error. I...
I've changed the code in my controller 3 times. Each time I get a different error message.
If I use this line to get the scaffolding:
static scaffold = ProgramType
I get this error:
I'm seeing lines like that for all of my other domain classes but nothing for 'ProgramType'. It almost seems like hibernate isn't seeing it at all.
Thanks!
I've got the Config.groovy logging code set and I've restarted the app. The debug spit out a ton of stuff but I don't see anything that mentions 'ProgramType'.
What do I need to look...
I changed the name of the domain and controller to 'ProgType' and got the same error.
Can you tell me where the logging configuration file is?
I'm using version 1.3.7 and I haven't had any problems with it up until I tried to create this new domain class. All of these steps are through the Windows Command Prompt and Notepad++.
Thanks
I've also noticed that the controller does not appear on the Available Controllers list after the project builds. If I make any change to the controller file then save it I will get the following...
I first created the domain class using the grails create-domain-class command in the windows command prompt. I then opened up the .groovy file that was created and edited it. After that I created the...
I have been attempting to add some new functionality to an existing grails application. I started by adding a simple domain class through the console:
package com.xfitlog
class ProgramType...
I know this sounds like a complete newb question but I am a complete newb so bear with me!:D
I recently tried to import legacy data into a dev project. What I found out is that a little knowledge...
Thanks Burt! That fixed my compile problem. Unfortunately I lost all the data in my database. Good thing this was only a dev project!
When I opened the devDb.script the only thing in it was:
...
dataSource {
pooled = true
driverClassName = "org.hsqldb.jdbcDriver"
username = "sa"
password = ""
}
hibernate {
cache.use_second_level_cache = true
...
Burt, Thanks for your quick reply.
In the DataSource.groovy the username was set to 'sa' I changed it to 'SA' but still got the same error.
I also have a connection to the database through...
Hello all. I'm new to grails and I have been playing with a dev project on my local machine. After some unsuccessful and apparently ill advised attempts to import data to my project's HSQLDB I got...