Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start fails with mojo war #60

Open
stefan-overkamp opened this issue Apr 26, 2024 · 0 comments
Open

npm start fails with mojo war #60

stefan-overkamp opened this issue Apr 26, 2024 · 0 comments

Comments

@stefan-overkamp
Copy link

[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
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant