Alfresco Maven SDK - fails if module version string ends with “-SNAPSHOT”

后端 未结 5 1733
眼角桃花
眼角桃花 2021-01-14 04:05

So I created an amp project, both repo and share, and every time I try to build or run the project it fails with:

java.lang.NoClassDefFoundError: de/schlicht         


        
5条回答
  •  温柔的废话
    2021-01-14 04:55

    I had the same error.

    I had at one point run maven as root. I tried removing ~/.m2/repository/de/schlichterle/truezip. This did not help.

    I then removed the target directory, which had some files in it owned by the root user. I don't fully understand why this fixed it, but it did.

    After running maven again, the ~/.m2/repository/de/schlichterle/truezip directory still does not exist, but apparently it is not needed as everything is working fine.

提交回复
热议问题