Search:

Type: Posts; User: jcroley; Keyword(s):

Search: Search took 0.01 seconds.

  1. Adding a new domain class causing compile error

    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
  2. Replies
    2
    Views
    441

    Thanks Burt. That was the fix!!

    Thanks Burt. That was the fix!!
  3. Replies
    2
    Views
    441

    Error after any change to a Domain class

    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...
  4. Replies
    15
    Views
    3,007

    Okay. I ran a little experiment. I had a test...

    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....
  5. Replies
    15
    Views
    3,007

    I removed the 'target' directory and rebuilt the...

    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...
  6. Replies
    15
    Views
    3,007

    I've changed the code in my controller 3 times....

    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:
  7. Replies
    15
    Views
    3,007

    I'm seeing lines like that for all of my other...

    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.
  8. Replies
    15
    Views
    3,007

    Thanks! I've got the Config.groovy logging...

    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...
  9. Replies
    15
    Views
    3,007

    I changed the name of the domain and controller...

    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?
  10. Replies
    15
    Views
    3,007

    I'm using version 1.3.7 and I haven't had any...

    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
  11. Replies
    15
    Views
    3,007

    I've also noticed that the controller does not...

    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...
  12. Replies
    15
    Views
    3,007

    I first created the domain class using the grails...

    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...
  13. Replies
    15
    Views
    3,007

    Controller not finding domain class

    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...
  14. Replies
    1
    Views
    581

    Where is data stored?

    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...
  15. Replies
    6
    Views
    2,342

    Thanks Burt! That fixed my compile problem....

    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:
    ...
  16. Replies
    6
    Views
    2,342

    dataSource { pooled = true ...

    dataSource {
    pooled = true
    driverClassName = "org.hsqldb.jdbcDriver"
    username = "sa"
    password = ""
    }
    hibernate {
    cache.use_second_level_cache = true
    ...
  17. Replies
    6
    Views
    2,342

    Burt, Thanks for your quick reply. In the...

    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...
  18. Replies
    6
    Views
    2,342

    Massive error on grails run-app

    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...
Results 1 to 18 of 18