You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/01/19 19:56:39 UTC
[jira] [Comment Edited] (GROOVY-7732) NioGroovyMethods compiled for
java 7 in non-indy groovy
[ https://issues.apache.org/jira/browse/GROOVY-7732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107162#comment-15107162 ]
Pascal Schumacher edited comment on GROOVY-7732 at 1/19/16 6:55 PM:
--------------------------------------------------------------------
The classloading of groovy is pretty complicated because of all the "magic" groovy does.
I do not know which parts of groovy jasper reports / you require, but as a workaround you could use the groovy dependency and any modules required (if any) instead of using groovy-all.
Edit: I guess if groovy is used just of some scripting in reports, the groovy dependency without any modules should suffice.
was (Author: pascalschumacher):
The classloading of groovy is pretty complicated because of all the "magic" groovy does.
I do not know which parts of groovy jasper reports / you require, but as a workaround you could use the groovy dependency and any modules required (if any) instead of using groovy-all.
> NioGroovyMethods compiled for java 7 in non-indy groovy
> -------------------------------------------------------
>
> Key: GROOVY-7732
> URL: https://issues.apache.org/jira/browse/GROOVY-7732
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime
> Affects Versions: 2.4.5
> Environment: jdk 1.6u45
> groovy-all-2.3.x.jar or groovy-all-2.4.x.jar
> Reporter: Rafael Gonçalves Sampaio
> Priority: Minor
> Labels: groovy-all
>
> As per docs non-indy versions of groovy requires jvm 1.6, but this error is being issued when running a jasper report compiled with groovy versions above 2.2.2. using java 6. Report is still shown but lots of verbose in log.
> java.lang.UnsupportedClassVersionError: org/codehaus/groovy/runtime/NioGroovyMethods : Unsupported major.minor version 51.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)