You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "rkrisztian (Jira)" <ji...@apache.org> on 2020/10/11 16:34:00 UTC

[jira] [Updated] (GROOVY-9776) ClassNotFoundException in test execution with Groovy >3.0.3

     [ https://issues.apache.org/jira/browse/GROOVY-9776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

rkrisztian updated GROOVY-9776:
-------------------------------
    Description: 
I've got this weird ClassNotFoundException with Groovy 3.0.5 and above when a test class tries to reuse an abstract class from the main sources:

https://github.com/rkrisztian/search/tree/task/improve_color_highlighting/search-app

This branch as you can see from the build log of TravisCI, reproduces the error. Which goes away if I downgrade Groovy to 3.0.3.

Could you please help me find out why?

Note: not urgent, it's my hobby project, and CodeNarc does not seem to fully support Groovy 3 either (https://github.com/CodeNarc/CodeNarc/issues/564), so I might just wait with Groovy 3 yet. But I'll keep the branch until the issue is fixed.

  was:
I've got this weird ClassNotFoundException with Groovy 3.0.5 and above when a test class tries to reuse an abstract class from the main sources:

https://github.com/rkrisztian/search/tree/task/improve_color_highlighting/search-app

This branch as you can see from the build log of TravisCI, reproduces the error. Which goes away if I downgrade Groovy to 3.0.3.

Could you please help me find out why?

Note: not urgent, it's my hobby project, and CodeNarc does not seem to fully support Groovy 3 either (#564), so I might just wait with Groovy 3 yet. But I'll keep the branch until the issue is fixed.


> ClassNotFoundException in test execution with Groovy >3.0.3
> -----------------------------------------------------------
>
>                 Key: GROOVY-9776
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9776
>             Project: Groovy
>          Issue Type: Documentation
>          Components: bytecode, Compiler
>    Affects Versions: 3.0.5, 3.0.6
>            Reporter: rkrisztian
>            Priority: Major
>
> I've got this weird ClassNotFoundException with Groovy 3.0.5 and above when a test class tries to reuse an abstract class from the main sources:
> https://github.com/rkrisztian/search/tree/task/improve_color_highlighting/search-app
> This branch as you can see from the build log of TravisCI, reproduces the error. Which goes away if I downgrade Groovy to 3.0.3.
> Could you please help me find out why?
> Note: not urgent, it's my hobby project, and CodeNarc does not seem to fully support Groovy 3 either (https://github.com/CodeNarc/CodeNarc/issues/564), so I might just wait with Groovy 3 yet. But I'll keep the branch until the issue is fixed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)