You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
After including compile
:excel-export:0.2.1
inBuildConfig.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!
The text was updated successfully, but these errors were encountered: