Guest User

Untitled

a guest
May 20th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. def companies = Company.count()
  2.  
  3. def companies = Company.count()
  4.  
  5. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to locate constructor with Class parameter for class org.codehaus.groovy.grails.commons.DefaultGrailsControllerClass
  6.  
  7. class HomeController {
  8. def companies = Company.count()
  9.  
  10. def index = {
  11. render(view:"index")
  12. }
  13. }
  14.  
  15. class HomeController {
  16. def companies = 0
  17.  
  18. def index = {
  19. companies = Company.count()
  20. render(view:"index")
  21. }
  22. }
  23.  
  24. class HomeController {
  25. def companies = Company.count()
  26.  
  27. def index = {
  28. render(view:"index")
  29. }
  30. }
  31.  
  32. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to locate constructor with Class parameter for class org.codehaus.groovy.grails.commons.DefaultGrailsControllerClass
Add Comment
Please, Sign In to add comment