Announcement Announcement Module
Collapse
No announcement yet.
No signature of method: cocktail.SecUser.withTransaction() is applicable for argument Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Last edited by billfly; Jan 29th, 2013, 01:03 PM. Reason: adding attachment

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

    Comment

    Working...
    X