Maven error - java.lang.NoClassDefFoundError: org/slf4j/helpers/MarkerIgnoringBase

后端 未结 11 2128
孤街浪徒
孤街浪徒 2021-01-01 23:10

Getting up and running with Maven.

Trying to build a project I\'ve inherited. I\'ve resolved majority of the issues but am now seeing a weird error:

         


        
11条回答
  •  感动是毒
    2021-01-01 23:31

    I had the same problem, I'm using MAC-OS

    this command wasnt working:

    mvn -PautoInstallPackage install
    

    then I had to go to this folder

    /usr/local/apache-maven/apache-maven-3.3.3/
    

    and then i download the 3.0 version and put those files inside ...

    and is working !!!!!!!!!!!!!

    so I put the folder apache-maven-3.0.5 but I changed the name to apache-maven-3.3.3, then I closed the terminal, re-opened it and put

    export PATH=$PATH:/usr/local/apache-maven/apache-maven-3.3.3/bin
    

    and voila !!!!!!!!!!! is working !!

    NOW I CAN USE

    mvn -PautoInstallPackage install
    

    TO UPLOAD MY PROJECTS TO AEM CRX/DE

提交回复
热议问题