Build from Source is successful, but the homepage has been waiting

tsengel3 years ago
3:09:56 下午: Executing task 'Main.main() --scan'...

> Task :extractIncludeProto
> Task :extractProto
> Task :generateProto
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE

> Task :Main.main()
2022-04-03 15:10:12  INFO: HikariPool-1 - Starting...
2022-04-03 15:10:12  INFO: HikariPool-1 - Added connection conn0: url=jdbc:h2:./target/database user=SA
2022-04-03 15:10:12  INFO: HikariPool-1 - Start completed.
2022-04-03 15:10:13  INFO: Set default schema name to PUBLIC
2022-04-03 15:10:13  INFO: Clearing database change log checksums
2022-04-03 15:10:13  INFO: Successfully acquired change log lock
2022-04-03 15:10:14  INFO: Successfully released change log lock
2022-04-03 15:10:14  INFO: Successfully acquired change log lock
2022-04-03 15:10:14  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-04-03 15:10:14  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-04-03 15:10:15  INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-04-03 15:10:15  INFO: Reading from PUBLIC.DATABASECHANGELOG
2022-04-03 15:10:15  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-04-03 15:10:15  INFO: Successfully released change log lock
2022-04-03 15:10:17  INFO: Operating system name: Mac OS X version: 12.2.1 architecture: x86_64
2022-04-03 15:10:17  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 11.0.13+8
2022-04-03 15:10:17  INFO: Memory limit heap: 4096mb non-heap: 0mb
2022-04-03 15:10:17  INFO: Character encoding: UTF-8 charset: UTF-8
2022-04-03 15:10:17  INFO: Version: null
2022-04-03 15:10:17  INFO: Starting server...
2022-04-03 15:10:17  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.13+8
2022-04-03 15:10:18  INFO: Started o.t.w.@251a90ce{/,null,AVAILABLE}
2022-04-03 15:10:18  INFO: Session workerName=node0
2022-04-03 15:10:18  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2022-04-03 15:10:19  INFO: Started o.e.j.s.ServletContextHandler@4fdac2a7{/,null,AVAILABLE}
2022-04-03 15:10:19  INFO: Started ServerConnector@328d044f{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2022-04-03 15:10:19  INFO: Started Server@4be490da{STARTING}[10.0.7,sto=0] @8018ms
Anton Tananaev3 years ago

Have you compiled the web app as well?

tsengel3 years ago

Yes,build and rebuild several times,logs like that:

11:39:00 下午: Executing tasks ':testClasses :classes'...

Starting Gradle Daemon...
Gradle Daemon started in 2 s 451 ms
> Task :extractIncludeProto UP-TO-DATE
> Task :extractProto UP-TO-DATE
> Task :generateProto UP-TO-DATE
> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :processResources UP-TO-DATE
> Task :classes
> Task :extractIncludeTestProto UP-TO-DATE
> Task :extractTestProto UP-TO-DATE
> Task :generateTestProto NO-SOURCE

> Task :compileTestJava
Note: /Users/mengyunsheng/IdeaProjects/traccar/src/test/java/org/traccar/handler/ComputedAttributesTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/mengyunsheng/IdeaProjects/traccar/src/test/java/org/traccar/helper/ServletHelperTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :processTestResources NO-SOURCE
> Task :testClasses

BUILD SUCCESSFUL in 55s
8 actionable tasks: 2 executed, 6 up-to-date
11:39:56 下午: Tasks execution finished ':testClasses :classes'.
tsengel3 years ago
admin@sodon traccar % ./gradlew assemble
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details

> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL in 48s
7 actionable tasks: 3 executed, 4 up-to-date
Anton Tananaev3 years ago

That's building the backend, not the web app.

tsengel3 years ago

Yes, you are right!
I forgot to compile the webapp, it works now. thank you a lot.

tsengel3 years ago