Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project web-demo: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
分析
Maven和Java的版本非常新,但war插件版本不是。请尝试使用最新版本,根据website,最新版本为3.3.2