You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jan Becker (JIRA)" <ji...@apache.org> on 2015/10/14 13:54:05 UTC

[jira] [Updated] (GROOVY-7628) NoClassDefFoundError when creating a javafx.concurrent.Task

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

Jan Becker updated GROOVY-7628:
-------------------------------
    Description: 
This code
{noformat}
def connectTask = {println "connected"} as javafx.concurrent.Task
connectTask.start()
{noformat}

yields this error
{noformat}
Exception thrown

java.lang.NoClassDefFoundError: groovy/lang/GroovyObject

	at ConsoleScript6.run(ConsoleScript6:1)

Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject

	... 1 more

{noformat}

Any idea what i am doing wrong, or have i discovered a bug?

  was:
This code
{noformat}
def connectTask = {println "connected"} as javafx.concurrent.Task
connectTask.start()
{noformat}

yields this error
{noformat}
Exception thrown

java.lang.NoClassDefFoundError: groovy/lang/GroovyObject

	at ConsoleScript6.run(ConsoleScript6:1)

Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject

	... 1 more

{noformat}

Any idea what i am doing wrong, or have i discovered a bug?

http://prntscr.com/8r6bzb


> NoClassDefFoundError when creating a javafx.concurrent.Task
> -----------------------------------------------------------
>
>                 Key: GROOVY-7628
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7628
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 2.4.3
>         Environment: Windows 7
> java version "1.8.0_60"
> Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
> Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
>            Reporter: Jan Becker
>            Priority: Minor
>         Attachments: screenshot-1.png
>
>
> This code
> {noformat}
> def connectTask = {println "connected"} as javafx.concurrent.Task
> connectTask.start()
> {noformat}
> yields this error
> {noformat}
> Exception thrown
> java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
> 	at ConsoleScript6.run(ConsoleScript6:1)
> Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject
> 	... 1 more
> {noformat}
> Any idea what i am doing wrong, or have i discovered a bug?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)