maven 3.5 error when execute run.bat in alfresco maven projet

Showing results for 
Search instead for 
Did you mean: 
Member II

maven 3.5 error when execute run.bat in alfresco maven projet

following this tutorial of jpotts. i have the following problem runing the run.bat file.

[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3
.0.0:run (default-cli) on project someco-mvn-tutorial-repo: Unable to execute mo
jo: java.lang.reflect.InvocationTargetException: Invalid plugin descriptor for o
rg.apache.tomcat.maven:tomcat7-maven-plugin:2.2 (C:\Users\wt.m2\repository\org
apache\tomcat\maven\tomcat7-maven-plugin\2.2\tomcat7-maven-plugin-2.2.jar), Plug
in's descriptor contains the wrong group ID: org.apache.axis2, Plugin's descript
or contains the wrong artifact ID: axis2-ant-plugin, Plugin's descriptor contain
s the wrong version: 1.4 -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1]
java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsLockController$1Sy
at de.schlichtherle.truezip.fs.FsLockController.sync(FsLockController.ja
at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingC
at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.sync(FsF
at de.schlichtherle.truezip.fs.FsManager.sync(
at de.schlichtherle.truezip.fs.FsDefaultManager.sync(FsDefaultManager.ja
at de.schlichtherle.truezip.fs.FsSyncShutdownHook$
Caused by: java.lang.ClassNotFoundException: de.schlichtherle.truezip.fs.FsLockC
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCl
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
... 7 more

  • Maven 3.5
  • alfresco-platform-jar-archetype version with SDK 3.0.0-beta-5. Also not working with SDK 3.0.0


1 Reply
Senior Member II

Re: maven 3.5 error when execute run.bat in alfresco maven projet

It seems like you have some corrupted jar which is causing this issue.Try to remove .m2 directory or rename it and download fresh dependencies.