Maven surefire could not find ForkedBooter class

后端 未结 20 2692
盖世英雄少女心
盖世英雄少女心 2020-11-28 19:21

Recently coming to a new project, I\'m trying to compile our source code. Everything worked fine yesterday, but today is another story.

Every time I\'m running

20条回答
  •  星月不相逢
    2020-11-28 19:30

    I uninstalled the JDK that comes in the repositories:

    $ sudo apt purge openjdk-8-jdk
    
    $ sudo apt autoremove
    

    Then I deleted the JAVA_HOME environment variable. Mine was set in my .bashrc.

    Then I reinstalled it through SDKMAN:

    $ sdk install java 8.0.181-zulu
    

    From their site:

    SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates.

    To see other versions of the JDK to install, use:

    $ sdk list java
    

提交回复
热议问题