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

Unknown compiler when using Eclipse #311

Open
tmonning opened this issue Jul 31, 2017 · 2 comments
Open

Unknown compiler when using Eclipse #311

tmonning opened this issue Jul 31, 2017 · 2 comments

Comments

@tmonning
Copy link

Hi,
I followed the configuration tutorial for setting up Eclipse and configured the *.shaded.jar as annotation compiler but I always get the following error:
Unknown compiler, only standard Java compiler and Eclipse ECJ compiler are supported

I'm using JDK 1.8.0u144 and Eclipse Neon 4.6

@doanduyhai
Copy link
Owner

Let me check

@doanduyhai
Copy link
Owner

Ok I see the problem. With Eclipse 4.6, the internal library for Eclipse Compiler has changed. Achilles test for Eclipse Compiler then fails:

        try {
            Class.forName("org.eclipse.jdt.internal.compiler.apt.model.TypeElementImpl");
            HAS_ECJ_CLASSES = true;
        } catch (ClassNotFoundException e) {
            HAS_ECJ_CLASSES = false;
        }

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

2 participants