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

Usage in grails 3.3 #54

Open
goedef opened this issue Sep 18, 2017 · 0 comments
Open

Usage in grails 3.3 #54

goedef opened this issue Sep 18, 2017 · 0 comments

Comments

@goedef
Copy link

goedef commented Sep 18, 2017

!! I found the issue. There was an older version of POI on the classpath!!

I use this plugin in almost all my applications. I upgraded to grails 3.3 and the plugin does not seem to work. Is the plugin 3.3. ready?

Grails 3.3 is not auto injecting log. Is that the issue?

2017-09-18 20:24:59,710 [http-nio-8090-exec-1] ERROR org.grails.web.errors.GrailsExceptionResolver - NoSuchMethodError occurred when processing request: [GET] /prestotype/marketing/downloadExcel
org.apache.poi.util.POILogger.log(ILjava/lang/Object;)V. Stacktrace follows:
java.lang.NoSuchMethodError: org.apache.poi.util.POILogger.log(ILjava/lang/Object;)V
at org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:420)
at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1414)
at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:179)
at pl.touk.excel.export.abilities.FileManipulationAbility.save(FileManipulationAbility.groovy:8)
at prestotype.MarketingController$__tt__downloadExcel_closure8.doCall(MarketingController.groovy:58)
at prestotype.MarketingController.$tt__downloadExcel(MarketingController.groovy:54)
at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
... 37 common frames omitted

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

1 participant