Maven clean command: java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList

Denisa Todorut :

When executing the clean maven command, the following error occurs:

Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs (findbugs) on Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList.

I have version 2.6 for Apache Maven. Do you have any idea how can I solve this problem?

Todorut Daliana :

I solved it in this way:

  • I deleted the .m2 and Apache Maven files
  • I installed Apache Maven 2.5
  • I created the .m2 folder and I added the setings.xml file to this folder

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=36596&siteId=1