×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Tagne Guylain Florian
Added: Oct 19, 2022 10:26 PM
Views: 8
Tags: no tags
  1. Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war (default-war) on project mavenproject1: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.3:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.3' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
  2. -----------------------------------------------------
  3. realm =    plugin>org.apache.maven.plugins:maven-war-plugin:2.3
  4. strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
  5. urls[0] = file:/C:/Users/guyla/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2.3/maven-war-plugin-2.3.jar
  6. urls[1] = file:/C:/Users/guyla/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
  7. urls[2] = file:/C:/Users/guyla/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
  8. urls[3] = file:/C:/Users/guyla/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
  9. urls[4] = file:/C:/Users/guyla/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
  10. urls[5] = file:/C:/Users/guyla/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
  11. urls[6] = file:/C:/Users/guyla/.m2/repository/org/codehaus/plexus/plexus-io/2.0.5/plexus-io-2.0.5.jar
  12. urls[7] = file:/C:/Users/guyla/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
  13. urls[8] = file:/C:/Users/guyla/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar
  14. urls[9] = file:/C:/Users/guyla/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
  15. urls[10] = file:/C:/Users/guyla/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar
  16. urls[11] = file:/C:/Users/guyla/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar
  17. urls[12] = file:/C:/Users/guyla/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
  18. urls[13] = file:/C:/Users/guyla/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar
  19. urls[14] = file:/C:/Users/guyla/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
  20. Number of foreign imports: 1
  21. import: Entry[import from realm ClassRealm[maven.api, parent: null]]
  22.  
  23. -----------------------------------------------------
  24. : ExceptionInInitializerError: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @750ed637
  25. -> [Help 1]
  26.  
  27. To see the full stack trace of the errors, re-run Maven with the -e switch.
  28. Re-run Maven using the -X switch to enable full debug logging.
  29.  
  30. For more information about the errors and possible solutions, please read the following articles: