geosolutions-it/geostore

Can't run the run the application.

camerons2001 opened this issue · 0 comments

Hello there. I'm new to this project, want to contribute to, I read the documentation and followed guides and after building the project(mvn clean install) I'm getting error with this command 'mvn jetty:run'. This is the stack trace:

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ geostore-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [geostore-webapp] in [D:\My Projects\geostore\src\web\app\target\geostore]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\My Projects\geostore\src\web\app\src\main\webapp]
[INFO] Webapp assembled in [625 msecs]
[INFO] Building war: D:\My Projects\geostore\src\web\app\target\geostore.war
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ geostore-webapp >>>
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ geostore-webapp <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ geostore-webapp ---
[INFO] Building jar: D:\My Projects\geostore\src\web\app\target\geostore-sources.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ geostore-webapp ---
[INFO] Building jar: D:\My Projects\geostore\src\web\app\target\geostore-tests.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ geostore-webapp ---
[INFO] Installing D:\My Projects\geostore\src\web\app\target\geostore.war to C:\Users\camer.m2\repository\it\geosolutions\geostore\geostore-webapp\1.6-SNAPSHOT\geostore-webapp-1.6-SNA
PSHOT.war
[INFO] Installing D:\My Projects\geostore\src\web\app\pom.xml to C:\Users\camer.m2\repository\it\geosolutions\geostore\geostore-webapp\1.6-SNAPSHOT\geostore-webapp-1.6-SNAPSHOT.pom
[INFO] Installing D:\My Projects\geostore\src\web\app\target\geostore-sources.jar to C:\Users\camer.m2\repository\it\geosolutions\geostore\geostore-webapp\1.6-SNAPSHOT\geostore-webapp
-1.6-SNAPSHOT-sources.jar
[INFO] Installing D:\My Projects\geostore\src\web\app\target\geostore-tests.jar to C:\Users\camer.m2\repository\it\geosolutions\geostore\geostore-webapp\1.6-SNAPSHOT\geostore-webapp-1
.6-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for GeoStore - 0 Server Root 1.6-SNAPSHOT:
[INFO]
[INFO] GeoStore - 0 Server Root ........................... SUCCESS [ 1.062 s]
[INFO] GeoStore - Core .................................... SUCCESS [ 0.314 s]
[INFO] GeoStore - Core - Model ............................ SUCCESS [ 4.914 s]
[INFO] GeoStore - Core - Security ......................... SUCCESS [ 9.279 s]
[INFO] GeoStore - Core - Persistence ...................... SUCCESS [ 14.203 s]
[INFO] GeoStore - Core - Services API ..................... SUCCESS [ 3.430 s]
[INFO] GeoStore - Core - Services implementation .......... SUCCESS [ 10.940 s]
[INFO] GeoStore - Modules ................................. SUCCESS [ 0.110 s]
[INFO] GeoStore - Modules - REST root ..................... SUCCESS [ 0.118 s]
[INFO] GeoStore - Modules - REST API ...................... SUCCESS [ 4.700 s]
[INFO] GeoStore - Modules - REST services ................. SUCCESS [ 12.216 s]
[INFO] GeoStore - Modules - REST client ................... SUCCESS [01:08 min]
[INFO] GeoStore - Modules - REST EXTJS services ........... SUCCESS [ 16.683 s]
[INFO] GeoStore - Modules - REST services test ............ SUCCESS [ 7.142 s]
[INFO] GeoStore - Modules - REST auditing ................. SUCCESS [ 8.504 s]
[INFO] GeoStore - Web ..................................... SUCCESS [ 0.285 s]
[INFO] GeoStore - Webapp .................................. SUCCESS [ 19.662 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:02 min
[INFO] Finished at: 2020-07-06T19:06:33+05:00
[INFO] ------------------------------------------------------------------------

D:\My Projects\geostore\src>cd web

D:\My Projects\geostore\src\web>cd app

D:\My Projects\geostore\src\web\app>mvn jetty:run
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< it.geosolutions.geostore:geostore-webapp >--------------
[INFO] Building GeoStore - Webapp 1.6-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) > test-compile @ geostore-webapp >>>
Downloading from osgeo: https://repo.osgeo.org/repository/release/it/geosolutions/geostore/1.6-SNAPSHOT/maven-metadata.xml
Downloading from geosolutions: http://maven.geo-solutions.it/it/geosolutions/geostore/1.6-SNAPSHOT/maven-metadata.xml
Downloading from geosolutions: http://maven.geo-solutions.it/it/geosolutions/geostore/1.6-SNAPSHOT/geostore-1.6-SNAPSHOT.pom
Downloading from osgeo: https://repo.osgeo.org/repository/release/it/geosolutions/geostore/1.6-SNAPSHOT/geostore-1.6-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.157 s
[INFO] Finished at: 2020-07-06T19:09:59+05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geostore-webapp: Could not resolve dependencies for project it.geosolutions.geostore:geostore-webapp:war:1.6-SNAPSHOT: Failed to collect depen
dencies at it.geosolutions.geostore:geostore-persistence:jar:1.6-SNAPSHOT: Failed to read artifact descriptor for it.geosolutions.geostore:geostore-persistence:jar:1.6-SNAPSHOT: Could
not find artifact it.geosolutions:geostore:pom:1.6-SNAPSHOT in geosolutions (http://maven.geo-solutions.it) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException