Skip to content

npm start fails with mojo war #60

@stefan-overkamp

Description

@stefan-overkamp

[backend] [INFO] --- war:2.1.1:war (default-war) @ mapstore-web ---
[backend] [WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
com.google.inject.ProvisionException: Unable to provision, see the following errors:
[backend]
[backend] 1) [Guice/ErrorInjectingConstructor]: ExceptionInInitializerError: Cannot access defaults field of Properties
[backend] at WarMojo.(WarMojo.java:48)
[backend] while locating WarMojo
...
[backend] [INFO] MapStoreExtension - Root Project 1.0-SNAPSHOT ...... SUCCESS [ 0.275 s]
[backend] [INFO] Template project to create MapStore extensions - WAR 1.0-SNAPSHOT FAILURE [ 5.099 s]
[backend] [INFO] MapStore 2 - Backend Services 1.7-SNAPSHOT ......... SKIPPED
[backend] [INFO] ------------------------------------------------------------------------
[backend] [INFO] BUILD FAILURE
[backend] [INFO] ------------------------------------------------------------------------
[backend] [INFO] Total time: 5.583 s
[backend] [INFO] Finished at: 2024-04-26T13:43:30+02:00
[backend] [INFO] ------------------------------------------------------------------------
[backend] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project mapstore-web: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: Unable to load the mojo 'war' in the plugin 'org.apache.maven.plugins:maven-war-plugin:2.1.1' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Cannot access defaults field of Properties
[backend] [ERROR] -----------------------------------------------------
[backend] [ERROR] realm = plugin>org.apache.maven.plugins:maven-war-plugin:2.1.1
[backend] [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions