Results 1 to 2 of 2

Thread: No signature of method: cocktail.SecUser.withTransaction() is applicable for argument

  1. #1
    Join Date
    Dec 2012
    Posts
    3

    Default No signature of method: cocktail.SecUser.withTransaction() is applicable for argument

    | Error 2013-01-29 11:07:52,854 [http-bio-8080-exec-4] ERROR [/cocktail].[default] - Servlet.service() for servlet [default] in context with path [/cocktail] threw exception
    Message: No signature of method: cocktail.SecUser.withTransaction() is applicable for argument types: () values: []
    Possible solutions: withTransaction(groovy.lang.Closure), withTransaction(org.springframework.transaction.Tr ansactionDefinition, groovy.lang.Closure), withNewTransaction(groovy.lang.Closure)
    Line | Method
    ->> 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
    Attached Files Attached Files
    Last edited by billfly; Jan 29th, 2013 at 12:03 PM. Reason: adding attachment

  2. #2
    Join Date
    Dec 2012
    Posts
    3

    Default

    Problem resolved. The problem was the datasource line in the domain classes did not match the datasource name in the DataSource.groovy.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •