TouK / excel-export

excel-export grails plugin
58 stars 32 forks source link

Compilation error: startup failed. Grails 2.1.5 #42

Open sebastian-h opened 8 years ago

sebastian-h commented 8 years ago

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!

jakubnabrdalik commented 8 years ago

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

vahidhedayati commented 8 years ago

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.

bitsnaps commented 7 years ago

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