Hi, I am new in Java, I am trying to build through source code but when I run it is not loading login page and keep showing spinner. No error in logs
2022-02-24 15:17:53 INFO: HikariPool-1 - Starting...
2022-02-24 15:17:54 INFO: HikariPool-1 - Added connection conn0: url=jdbc:h2:./target/database user=SA
2022-02-24 15:17:54 INFO: HikariPool-1 - Start completed.
2022-02-24 15:17:55 INFO: Set default schema name to PUBLIC
2022-02-24 15:17:55 INFO: Clearing database change log checksums
2022-02-24 15:17:55 INFO: Successfully acquired change log lock
2022-02-24 15:17:55 INFO: Successfully released change log lock
2022-02-24 15:17:55 INFO: Successfully acquired change log lock
2022-02-24 15:17:55 INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-02-24 15:17:56 INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-02-24 15:17:57 INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-02-24 15:17:57 INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-02-24 15:17:57 INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-02-24 15:17:57 INFO: Successfully released change log lock
2022-02-24 15:17:59 INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2022-02-24 15:17:59 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Azul Systems, Inc. version: 15.0.6+5-MTS
2022-02-24 15:17:59 INFO: Memory limit heap: 1990mb non-heap: 0mb
2022-02-24 15:17:59 INFO: Character encoding: windows-1252 charset: windows-1252
2022-02-24 15:17:59 INFO: Version: null
2022-02-24 15:17:59 INFO: Starting server...
2022-02-24 15:18:00 WARN: Port disabled due to conflict - Address already in use: bind - BindException (...)
2022-02-24 15:18:00 INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 15.0.6+5-MTS
2022-02-24 15:18:00 INFO: Started o.t.w.@2e56b4d{/,null,AVAILABLE}
2022-02-24 15:18:00 INFO: Session workerName=node0
2022-02-24 15:18:01 WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-02-24 15:18:02 INFO: Started o.e.j.s.ServletContextHandler@4cb4c4cc{/,null,AVAILABLE}
2022-02-24 15:18:02 INFO: Started ServerConnector@5fbdc49b{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-02-24 15:18:02 INFO: Started Server@160e99e0{STARTING}[10.0.7,sto=0] @9558ms
In browser debugg mode it is showing "Failed to load resources for all JS and CSS files".
Have you installed JS dependencies?
Getting below error on running npm install
66 error code ELIFECYCLE
67 error errno 1
68 error traccar-web@ postinstall: `/bin/bash -c 'mkdir -p web/lib/{ol,ol-layerswitcher,proj4,extjs} && cp node_modules/openlayers-dist/{ol.js,ol.css} web/lib/ol/ && cp node_modules/ol-layerswitcher/dist/{ol-layerswitcher.js,ol-layerswitcher.css} web/lib/ol-layerswitcher/ && cp node_modules/proj4/dist/proj4.js web/lib/proj4/ && cp node_modules/extjs-gpl/build/ext-all.js web/lib/extjs/ && mkdir -p web/lib/extjs/classic && cp -r node_modules/extjs-gpl/build/classic/locale web/lib/extjs/classic/locale && cp -r node_modules/extjs-gpl/build/classic/theme-triton web/lib/extjs/classic/theme-triton && mkdir -p web/lib/extjs/packages/charts && cp -r node_modules/extjs-gpl/build/packages/charts/classic web/lib/extjs/packages/charts/classic'`
68 error Exit status 1
69 error Failed at the traccar-web@ postinstall script.
69 error This is probably not a problem with npm. There is likely additional logging output above.
70 verbose exit [ 1, true ]
Do you have bash available? Have you checked the script?
Thanks Anton, bash was the issue, now resolved.
Hello, I'm from Peru, could you help me run BASH on windows 10, I have the same problems that you had at the beginning
WARN: JAXBContext implementation could not be found. WADL feature is disabled.
This warning is expected and literally everyone has it.
Hi, I am new in Java, I am trying to build through source code but when I run it is not loading login page and keep showing spinner. No error in logs
In browser debugg mode it is showing "Failed to load resources for all JS and CSS files".