Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:

No enum constant org.jetbrains.jps.model.java.LanguageLevel.JDK_11

在这里插入图片描述

Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException: No enum constant org.jetbrains.jps.model.java.LanguageLevel.JDK_11
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: No enum constant org.jetbrains.jps.model.java.LanguageLevel.JDK_11
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:394)
	at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:326)
	at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadFromDirectory(JpsProjectLoader.java:196)
	at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:96)
	at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:42)
	at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:50)
	at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:79)
	at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:280)
	at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:137)
	at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:235)
	at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
	·········

解决

打开项目右键:
Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:_第1张图片

Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:_第2张图片

无效的源发行版:9

lError:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:_第3张图片

解决

Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:_第4张图片

你可能感兴趣的:(Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException:)