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

Grails 3.0.2 Reloading of Java classes doesn't work #9047

Closed
olavgg opened this issue Jun 24, 2015 · 0 comments
Closed

Grails 3.0.2 Reloading of Java classes doesn't work #9047

olavgg opened this issue Jun 24, 2015 · 0 comments

Comments

@olavgg
Copy link

olavgg commented Jun 24, 2015

When I save a regular Java class with modifications I get the following error:

Spring Loaded: Cannot reload new version of com.example.Bar
 Reason: Interfaces changed from [] to [groovy/lang/GroovyObject]

This happen also if I just change the method body.

Java class example:

public class Bar {

    public static long sum(long a, long b){
        long sum = a + b;
        return sum;
    }
}

This happen on both Linux and OSX. JDK 7 and 8 and OpenJDK

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

No branches or pull requests

2 participants