You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to compile alfresco-community-share project. I tried on 2 machines, using different tags. I tried to follow CONTRIBUTING.md but it seems to be outdated.
It only worked while using Java from ORACLE (proprietary one)
mvn clean package output:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.6:war (default-war) on project share: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.6:war failed: Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
[ERROR] ---- Debugging information ----
[ERROR] message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
[ERROR] cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
[ERROR] cause-message : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
[ERROR] class : org.apache.maven.plugin.war.util.WebappStructure
[ERROR] required-type : org.apache.maven.plugin.war.util.WebappStructure
[ERROR] converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
[ERROR] path : /webapp-structure
[ERROR] version : null
[ERROR] -------------------------------
I am unable to compile alfresco-community-share project. I tried on 2 machines, using different tags. I tried to follow CONTRIBUTING.md but it seems to be outdated.
It only worked while using Java from ORACLE (proprietary one)
mvn clean package
output:mvn -v
output:I've found many similar threads ( 1, 2, 3, 4 )
Specifying
2.6
maven-war-plugin version does not seem to workThe text was updated successfully, but these errors were encountered: