Не работает сайт после запускается сервер

andrii.work2 years ago

Здравствуйте. Может кто-то помочь мне разобраться почему не открывается страница в браузере?
Я скачал traccar source с github как указано на сайте www.traccar.org/build. Скачал IntelliJ IDEA CE. Все настроил как в инструкции здесь www.traccar.org/build-in-intellij-idea. Но после запуска в IntelliJ IDEA CE в браузере вечная загрузка.

IntelliJ IDEA CE LOG:

14:25:46: Executing ':Main.main()'...

Starting Gradle Daemon...
Gradle Daemon started in 2 s 70 ms
> Task :extractIncludeProto UP-TO-DATE
> Task :extractProto UP-TO-DATE
> Task :generateProto UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE

> Task :Main.main()
2022-12-23 14:26:12  INFO: Operating system name: Mac OS X version: 12.6.2 architecture: x86_64
2022-12-23 14:26:12  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Amazon.com Inc. version: 18.0.2+9-FR
2022-12-23 14:26:12  INFO: Memory limit heap: 2048mb non-heap: 0mb
2022-12-23 14:26:12  INFO: Character encoding: UTF-8 charset: UTF-8
2022-12-23 14:26:12  INFO: Version: null
2022-12-23 14:26:12  INFO: Starting server...
2022-12-23 14:26:12  INFO: HikariPool-1 - Starting...
2022-12-23 14:26:13  INFO: HikariPool-1 - Added connection conn0: url=jdbc:h2:./target/database user=SA
2022-12-23 14:26:13  INFO: HikariPool-1 - Start completed.
2022-12-23 14:26:13  INFO: Set default schema name to PUBLIC
2022-12-23 14:26:13  INFO: Clearing database change log checksums
2022-12-23 14:26:19  INFO: Successfully acquired change log lock
2022-12-23 14:26:19  INFO: Successfully released change log lock
2022-12-23 14:26:19  INFO: Successfully acquired change log lock
2022-12-23 14:26:21  INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-12-23 14:26:21  INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-12-23 14:26:22  INFO: Successfully released change log lock
2022-12-23 14:26:27  INFO: jetty-10.0.12; built: 2022-09-14T01:54:40.076Z; git: 408d0139887e27a57b54ed52e2d92a36731a7e88; jvm 18.0.2+9-FR
2022-12-23 14:26:27  INFO: Started o.t.w.@3c770db4{/,null,AVAILABLE}
2022-12-23 14:26:27  INFO: Session workerName=node0
2022-12-23 14:26:27  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-12-23 14:26:33  INFO: Started o.e.j.s.ServletContextHandler@49d42faf{/,null,AVAILABLE}
2022-12-23 14:26:33  INFO: Started ServerConnector@60df7989{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-12-23 14:26:33  INFO: Started Server@4e245739{STARTING}[10.0.12,sto=0] @22677ms

Browser Safari Errors:
IMAGE
Full Screen Image

Java Version:

java -version
openjdk version "18.0.2" 2022-07-19
OpenJDK Runtime Environment Corretto-18.0.2.9.1 (build 18.0.2+9-FR)
OpenJDK 64-Bit Server VM Corretto-18.0.2.9.1 (build 18.0.2+9-FR, mixed mode, sharing)
Anton Tananaev2 years ago

You need to install web app dependencies using npm imstall.

andrii.work2 years ago

Thanks