`

Java compiler level does not match 问题解决

 
阅读更多
导入一个新的项目,可能会出现Java compiler level does not match  错误,这是因为eclipse和该项目的JDK编译版本不同导致的。


1,首先查看eclipse的jdk编译版本


2,搜索compile,设置编译出的文件使用的格式是JDK1.7


3,进入项目,把项目--prorerties--Java compile,把项目的编译版本设置为1.7。


4,最后,还是进入项目--properties--project Facets,将java 设置为1.7。






分享到:
评论

相关推荐

    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