问题
I'm trying to set up a JavaEE project with Java 12 in Eclipse 2019-03 (4.11). I installed support for Java 12 and the following web tools:
If I set the compiler and jdk to 12, I get an error that it does not match the facet number which is 11. I don't have a way to choose 12:
I installed JBoss Tools too which support Java 12:
Why can't I choose java facet 12?
回答1:
Just like you had to patch JDT support for 12 onto 2019-03, a Java 12 Facet doesn't exist yet. We're looking into having one for 2019-06, pending resources.
来源:https://stackoverflow.com/questions/55774606/how-to-set-a-java-project-facet-to-12