`

Java compiler level does not match 的解决方法

阅读更多

   有时我们再导入新的项目时,会出现报错信息:Java compiler level does not match,原因是myeclipse的jdk版本与导入项目的JDK版本不一致。
   解决方法: 修改导入项目的JDK版本与myeclipse的jdk版本一致(假设为1.6)。 


   1、右键项目名称,依次进入:properties-->java Compiler,设置为1.6,如下图所示。


   
 

  2、右键项目名称,依次进入:properties---Myeclipse---project Facets,设置为1.6,如下图所示。
 
   

 

  通过以上两步设置,一般即可解决问题。

 

  • 大小: 249.8 KB
  • 大小: 195.7 KB
分享到:
评论

相关推荐

    JavaVersionMismatch

    Java compiler level does not match the version of the installed Java project facet. Unknown Faceted Project Problem (Java Version Mismatch) 1、preferences > java > Installed JRES > 选择java version ...

    zookeeper:zookeeper原始码分析

    错误1:编译完成后,用Eclipse打开编译错误,显示Java compiler level does not match 和 '<>' operator is not allowed for source level below 1.7错误。 修改方法:右键项目--属性--勾选Enable project ...

    myeclipse中使用maven前常见错误及解决办法

    第三个常见的错误是“javac compiler level does not match the version of the installed Java project facet”。这个问题表明你的项目Facet版本与Java编译器版本不匹配。解决此问题,需要找到项目所在目录,在....

    acpi控制笔记本风扇转速

    _HID does not match the predefined PCI Root Bridge IDs, the _CID list (if present) is now obtained and also checked for an ID match. Implemented additional support for the PCI _ADR execution: up...

    VclZip pro v3.10.1

    If your application still does not run without the IDE, open up VCLZip's package, click on options and look at the Directories/Conditionals tab. If KPDEMO is defined, remove it and recompile the ...

    Bochs - The cross platform IA-32 (x86) emulator

    default options) to BX_CPU_LEVEL=6 with SSE2 enabled. - CPU - Implemented PCLMULQDQ AES instruction - Implemented X2APIC extensions / enable extended topology CPUID leaf (0xb), in order to enable...

Global site tag (gtag.js) - Google Analytics