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 build under Java 14 #82

Closed
minborg opened this issue Sep 9, 2020 · 0 comments
Closed

Unable to build under Java 14 #82

minborg opened this issue Sep 9, 2020 · 0 comments
Assignees
Milestone

Comments

@minborg
Copy link
Contributor

minborg commented Sep 9, 2020

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project fieldgenerator-test: Compilation failure: Compilation failure: 
[ERROR] /Users/pemi/git/speedment/jpa-streamer/fieldgenerator/fieldgenerator-test/target/generated-sources/annotations/com/speedment/jpastreamer/fieldgenerator/test/Lombok3Bean$.java:[27,66] error: incompatible types: cannot infer type-variable(s) ENTITY
[ERROR]     (argument mismatch; invalid method reference
[ERROR]       getId() has private access in Lombok3Bean)
[ERROR]   where ENTITY is a type-variable:
[ERROR]     ENTITY extends Object declared in method <ENTITY>create(Class<ENTITY>,String,IntGetter<ENTITY>,boolean)
[ERROR] /Users/pemi/git/speedment/jpa-streamer/fieldgenerator/fieldgenerator-test/target/generated-sources/annotations/com/speedment/jpastreamer/fieldgenerator/test/Actor$.java:[39,87] error: incompatible types: cannot infer type-variable(s) ENTITY,V
[ERROR]     (argument mismatch; invalid method reference
[ERROR]       getFilms() has private access in Actor)
[ERROR]   where ENTITY,V are type-variables:
[ERROR]     ENTITY extends Object declared in method <ENTITY,V>create(Class<ENTITY>,String,ReferenceGetter<ENTITY,V>,boolean)
[ERROR]     V extends Object declared in method <ENTITY,V>create(Class<ENTITY>,String,ReferenceGetter<ENTITY,V>,boolean)
[ERROR] /Users/pemi/git/speedment/jpa-streamer/fieldgenerator/fieldgenerator-test/target/generated-sources/annotations/com/speedment/jpastreamer/fieldgenerator/test/Lombok2Bean$.java:[27,74] error: incompatible types: cannot infer type-variable(s) ENTITY
[ERROR]     (argument mismatch; invalid method reference
[ERROR]       getName() has private access in Lombok2Bean)
[ERROR]   where ENTITY is a type-variable:
[ERROR]     ENTITY extends Object declared in method <ENTITY>create(Class<ENTITY>,String,ReferenceGetter<ENTITY,String>,boolean)
[ERROR] /Users/pemi/git/speedment/jpa-streamer/fieldgenerator/fieldgenerator-test/target/generated-sources/annotations/com/speedment/jpastreamer/fieldgenerator/test/Lombok2Bean$.java:[39,8] error: invalid method reference
[ERROR]   cannot find symbol
[ERROR]     symbol:   method getPetName()
[ERROR]     location: class Lombok2Bean
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :fieldgenerator-test
@minborg minborg added this to the 0.1.7 milestone Sep 9, 2020
@minborg minborg modified the milestones: 0.1.7, 0.1.8 Sep 9, 2020
@julgus julgus closed this as completed Sep 10, 2020
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