technipelago / gr8crm-demo-app

Grails demo application that uses GR8 CRM plugins to create a simple Contact Management / To-Do application
4 stars 4 forks source link

Does not work with java 6 and java 8 #2

Closed aberbenni closed 9 years ago

aberbenni commented 9 years ago

With java 6 I have a: UnsupportedClassVersionError: com/google/zxing/qrcode/QRCodeWriter

With java 8: Cannot invoke method getAt() on null object (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) java.lang.NullPointerException: Cannot invoke method getAt() on null object at grails.util.BuildSettings.configureDependencyManager(BuildSettings.groovy:1259) (This is a Grails 2.2.x problem)

I think this should be upgraded to grails 2.3.x or more recent.

goeh commented 9 years ago

The demo application is now compatible with Grails 2.4.4.

GR8 CRM plugins with version number 2.4.0 and higher are compatible with Grails 2.4.4. The following plugins has been upgraded:

All plugins are compiled with JDK7. The demo application runs fine with Java 7 or Java 8.

aberbenni commented 9 years ago

GR8 CRM plugins with version number 2.4.0 are no more compatible with grails < 2.4.x (eg: 2.2.x and 2.3.x) Here is an exception I have: CrmSecurityService.groovy: 26: unable to resolve class grails.compiler.GrailsCompileStatic

Is there a version compatible with grails 2.3.x?

goeh commented 9 years ago

I'm sorry but I don't have time or resources to do a 2.3 version also. There are too many changes between Grails version 2.2, 2.3 and 2.4. GR8 CRM plugin versions 2.0.x are compatible with Grails 2.2.x and GR8 CRM plugin versions 2.4.x are compatible with Grails 2.4.x.

If someone want to do Grails 2.3 versions I welcome contributions. Maybe branch from master (Grails 2.4) is easier, but I'm not sure. The grails-2.2.x branch contains the Grails 2.2.4 compatible version.