Skip to content

org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile on project xxx:Fatal error compiling: java.lang.ExceptionInInitializerError: For input string: " " #337

@QiaoZhuTingChan

Description

@QiaoZhuTingChan

Affected version

3.11.0

Bug description

  • Problem Show:

    Image

  • Environment used
    Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
    Maven home: D:\Program Files\Java\maven\apache-maven-3.8.8
    Java version: 21.0.7, vendor: BellSoft, runtime: D:\Tools\Java\jdk\openjdk-21.0.7
    Default locale: zh_CN, platform encoding: UTF-8
    OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

  • Cause of the problem
    Originally, I used the command "mvn clean install" based on the above environment to compile the Java project successfully. However, due to a blue screen during the execution of the above command in idea, after the computer restarted, the above command continued to show this problem. How should this problem be troubleshooted and solved?
    I have tried to use new code, new jdk, and build a new maven local repository, but all failed. However, the strange thing is that I put the same configuration in my virtual machine Centos 7 environment, and the above command can be executed successfully (in the virtual machine, the maven local repository dependency built in window is used, and the corresponding jdk and maven are replaced with the versions supported by linux)
    I need your help, I don't want to solve it by reinstalling the window10 system,thinks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions