简体   繁体   English

我尝试在 Ubuntu 20.04 的 eclipse 中创建一个新项目,但它给了我这个错误 构建期间发生错误

[英]I tried creating a new project in eclipse in Ubuntu 20.04 but it gives me this error Errors occurred during the build

Errors occurred during the build.构建过程中发生错误。 Errors running builder 'Java Builder' on project 'egg'.在项目“egg”上运行构建器“Java Builder”时出错。 For input string: "H" under radix 16:对于输入字符串:基数 16 下的“H”:

日食错误

It seems that old Eclipse versions have a bug where they incorrectly parse java version information.似乎旧的 Eclipse 版本存在错误解析 java 版本信息的错误。 Java 16 is "G", java 17 is "H" and they try to parse this as an hexadecimal character (0-9 AF) so it fails. Java 16 是“G”,java 17 是“H”,他们试图将其解析为十六进制字符(0-9 AF),所以它失败了。

Try launching eclipse with java 8 or, better, updating Eclipse to the last version (ie download Eclipse from their website directly). Try launching eclipse with java 8 or, better, updating Eclipse to the last version (ie download Eclipse from their website directly).

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Eclipse 中构建期间发生错误 - Errors occurred during the build in Eclipse java - 当我创建一个新项目时,Eclipse 给了我一个错误 - java - Eclipse gives me an error when i create a new project 如何在Eclipse中调试“构建期间发生错误”? - How can I debug “Errors occurred during the build” in Eclipse? 当我尝试向 Eclispe 中的项目添加外部 jar 时发生“启动层初始化期间出错” - "Error occurred during initialization of boot layer" happened when I tried to add a external jar to the project in Eclispe 在Java EE Eclipse中创建新项目时出错 - Error during creating a new project in Java EE Eclipse 在 Ubuntu java -version 中,VM 初始化期间出现错误 - In Ubuntu java -version gives Error occurred during initialization of VM 创建项目时发生错误-Eclipse - An error occurred while creating project - Eclipse 在“检索原型:”期间发生内部错误。 Java 新建 Maven 项目时的堆空间 - An internal error occurred during: "Retrieving archetypes:". Java heap space when creating new Maven project Eclipse 202003 构建项目期间 javaIO 错误 - Eclipse 202003 javaIO error during build project Eclipse:构建期间发生错误。 运行构建器“Java Builder”时出错 - Eclipse: Errors occurred during the build. Errors running builder 'Java Builder'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM