excel-export icon indicating copy to clipboard operation
excel-export copied to clipboard

Compilation error: startup failed. Grails 2.1.5

Open sebastian-h opened this issue 9 years ago • 3 comments

After including compile :excel-export:0.2.1in BuildConfig.groovy i can not run the project anymore as startup fails due to 4 compilation errors. This is on an elderly Grails 2.1.5 project.

| Error Compilation error: startup failed: ...\plugins\excel-export-0.2.1\src\groovy\pl\touk\excel\export\XlsxExporter.groovy: 3: unable to resolve class groovy.transform.TypeChecked @ line 3, column 1. import groovy.transform.TypeChecked ^ ...\plugins\excel-export-0.2.1\src\groovy\pl\touk\excel\export\XlsxExporter.groovy: 17: unable to resolve class groovy.transform.TypeChecked , unable to find class for annotation @ line 17, column 1. @TypeChecked ^ ...\plugins\excel-export-0.2.1\src\groovy\pl\touk\excel\export\multisheet\AdditionalSheet.groovy: 3: unable to resolve class groovy.transform.TypeChecked @ line 3, column 1. import groovy.transform.TypeChecked ^ ...\plugins\excel-export-0.2.1\src\groovy\pl\touk\excel\export\multisheet\AdditionalSheet.groovy: 12: unable to resolve class groovy.transform.TypeChecked , unable to find class for annotation @ line 12, column 1. @TypeChecked ^ 4 errors

See also https://stackoverflow.com/questions/26840655/error-resolving-class-with-excel-report-plugin/26841774#26841774 where this problem is discussed. I would like to avoid making changes to the plugin locally. many thanks for all the hard work!

sebastian-h avatar Jan 22 '16 11:01 sebastian-h

You don't have to change the plugin locally. If you can provide a pull request, I'll be happy to merge it.

jakubnabrdalik avatar Jan 25 '16 12:01 jakubnabrdalik

Hi

Just wondering if there is any ETA on a release of 0.2.2 for Grails 2. We have a 2.0.1 grails app and facing the same issue.

vahidhedayati avatar Jan 28 '16 12:01 vahidhedayati

I have created a new plugin using following dependencies with Grails v2.4.4: runtime 'org.apache.xmlbeans:xmlbeans:2.6.0' compile 'org.apache.poi:poi:3.10.1' compile 'org.apache.poi:poi-ooxml:3.10.1' compile 'org.apache.poi:poi-ooxml-schemas:3.10.1' compile 'dom4j:dom4j:1.6.1' clean & rebuild and everything works fine, forked to a new repo here: https://github.com/bitsnaps/excel-export

bitsnaps avatar Aug 07 '17 23:08 bitsnaps