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

Unable to run on android: #155

Open
akoidan opened this issue Dec 18, 2017 · 0 comments
Open

Unable to run on android: #155

akoidan opened this issue Dec 18, 2017 · 0 comments

Comments

@akoidan
Copy link

akoidan commented Dec 18, 2017

I have the following configuration with lombok:
app/build.gradle

dependencies {
    compileOnly "org.projectlombok:lombok:1.16.16"
    annotationProcessor "org.projectlombok:lombok:1.16.16"
    //...

This works like a magic, now I want to use extra features from lombok-pg so I replaced the configuration above with:

dependencies {
    compileOnly 'com.github.peichhorn:lombok-pg:0.11.3'
    annotationProcessor "com.github.peichhorn:lombok-pg:0.11.3"
    //...

If I type: ./gradlew installDebug or ./gradlew test I get

 warning: Can't initialize javac processor due to (most likely) a class loader problem: java.lang.NoClassDefFoundError: com/sun/tools/javac/code/TypeTags

And errors that indicate that `lombok-pg doesn't generate methods:

error: cannot find symbol
            myData.setBody(response);
                         ^
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

1 participant