i am migratinga grails 1.3 application to grails 2.4.3 now when i run the grails app from command line i am getting the error :

Error loading plugin manager: Unable to locate constructor with Class parameter for class org.codehaus.groovy.grails.commons.DefaultGrailsServiceClass (NOTE: St ack trace has been filtered. Use --verbose to see entire trace.) java.lang.RuntimeException: Unable to locate constructor with Class parameter fo r class org.codehaus.groovy.grails.commons.DefaultGrailsServiceClass

at runtime and the GrailsVm exsist with error

when i create the war for the app its getting created and viewing the grails jar in it i see the DefaultGrailsServiceClass with the constructor in it .

public DefaultGrailsServiceClass(Class<?> clazz)
  {
    super(clazz, "Service");

    Object tmpTransactional = getPropertyOrStaticPropertyOrFieldValue("transactional", Boolean.class);
    this.transactional = ((tmpTransactional == null) || (tmpTransactional.equals(Boolean.TRUE)));
  }

i am running the app with java 8.031 and the internal tomcat dependency is 7.0.55 that is also compatible with java 8 . Any directions how to resolve this issue?

1

There are 1 best solutions below

4
Jeff Scott Brown On

i am migratinga grails 1.3 application to grails 2.4.3

i am running the app with java 8.031

Java 8 is not supported with Grails 2.4.3. Grails 2.5 is the first version of Grails for which we support Java 8.