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

后端 未结 5 1752
眼角桃花
眼角桃花 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:43

    You need to add TrueZIP Maven Plugin dependency and its drivers into your pom.xml file, e.g.

    ...
      
        
          org.codehaus.mojo
          truezip-maven-plugin
          1.2
        
        
          de.schlichtherle.truezip
          truezip-driver-file
          7.7.9
        
        
          de.schlichtherle.truezip
           truezip-kernel
          7.7.9
        
        
          de.schlichtherle.truezip
          truezip-driver-zip
          7.7.9
        
      
    ...
    

    For further debugging, try adding -X flag for your mvn command.

提交回复
热议问题