Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error: startup failed. Grails 2.1.5 #42

Open
sebastian-h opened this issue Jan 22, 2016 · 3 comments
Open

Compilation error: startup failed. Grails 2.1.5 #42

sebastian-h opened this issue Jan 22, 2016 · 3 comments

Comments

@sebastian-h
Copy link

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
Copy link
Collaborator

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

@vahidhedayati
Copy link

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
Copy link

bitsnaps commented Aug 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants