Files
brapi-java/run.out.log
2026-05-21 16:54:21 +08:00

115 lines
9.8 KiB
Plaintext

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.brapi:brapi-Java-TestServer >-------------------
[INFO] Building testBrapiImpl 0.1.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot:3.4.0:run (default-cli) > test-compile @ brapi-Java-TestServer >>>
Downloading from spring-releases: https://repo.spring.io/libs-release/com/fasterxml/jackson/core/jackson-databind/maven-metadata.xml
Downloading from spring-milestone: https://repo.spring.io/libs-milestone/com/fasterxml/jackson/core/jackson-databind/maven-metadata.xml
[WARNING] Could not transfer metadata com.fasterxml.jackson.core:jackson-databind/maven-metadata.xml from/to spring-releases (https://repo.spring.io/libs-release): status code: 401, reason phrase: (401)
[WARNING] Could not transfer metadata com.fasterxml.jackson.core:jackson-databind/maven-metadata.xml from/to spring-milestone (https://repo.spring.io/libs-milestone): status code: 401, reason phrase: (401)
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ brapi-Java-TestServer ---
[INFO] Copying 61 resources from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ brapi-Java-TestServer ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ brapi-Java-TestServer ---
[INFO] skip non existing resourceDirectory D:\maimaiproject\brapi-java\src\test\resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ brapi-Java-TestServer ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] <<< spring-boot:3.4.0:run (default-cli) < test-compile @ brapi-Java-TestServer <<<
[INFO]
[INFO]
[INFO] --- spring-boot:3.4.0:run (default-cli) @ brapi-Java-TestServer ---
[INFO] Attaching agents: []
SLF4J(W): Class path contains multiple SLF4J providers.
SLF4J(W): Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@7a46a697]
SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@5f205aa]
SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J(I): Actual provider is of type [ch.qos.logback.classic.spi.LogbackServiceProvider@7a46a697]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.4.0)
2026-05-20T09:32:17.142+08:00 INFO 13344 --- [ main] o.b.t.BrAPITestServer.BrapiTestServer : Starting BrapiTestServer using Java 21.0.11 with PID 13344 (D:\maimaiproject\brapi-java\target\classes started by 61612 in D:\maimaiproject\brapi-java)
2026-05-20T09:32:17.146+08:00 INFO 13344 --- [ main] o.b.t.BrAPITestServer.BrapiTestServer : No active profile set, falling back to 1 default profile: "default"
2026-05-20T09:32:17.925+08:00 INFO 13344 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-20T09:32:18.083+08:00 INFO 13344 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 144 ms. Found 44 JPA repository interfaces.
2026-05-20T09:32:19.113+08:00 INFO 13344 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
2026-05-20T09:32:19.125+08:00 INFO 13344 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2026-05-20T09:32:19.133+08:00 INFO 13344 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.33]
2026-05-20T09:32:19.199+08:00 INFO 13344 --- [ main] o.a.c.c.C.[.[localhost].[/brapi/v2] : Initializing Spring embedded WebApplicationContext
2026-05-20T09:32:19.199+08:00 INFO 13344 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2010 ms
2026-05-20T09:32:19.505+08:00 INFO 13344 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2026-05-20T09:32:20.088+08:00 INFO 13344 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@12567179
2026-05-20T09:32:20.091+08:00 INFO 13344 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2026-05-20T09:32:20.125+08:00 INFO 13344 --- [ main] o.f.c.i.resource.ResourceNameValidator : 2 SQL migrations were detected but not run because they did not follow the filename convention.
2026-05-20T09:32:20.125+08:00 INFO 13344 --- [ main] o.f.c.i.resource.ResourceNameValidator : Set 'validateMigrationNaming' to true to fail fast and see a list of the invalid file names.
2026-05-20T09:32:20.131+08:00 INFO 13344 --- [ main] org.flywaydb.core.FlywayExecutor : Database: jdbc:postgresql://localhost:5432/postgres (PostgreSQL 16.13)
2026-05-20T09:32:20.748+08:00 INFO 13344 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 28 migrations (execution time 00:00.400s)
2026-05-20T09:32:21.056+08:00 INFO 13344 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "public": 001
2026-05-20T09:32:21.082+08:00 INFO 13344 --- [ main] o.f.core.internal.command.DbMigrate : Schema "public" is up to date. No migration necessary.
2026-05-20T09:32:21.273+08:00 INFO 13344 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-20T09:32:21.338+08:00 INFO 13344 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.2.Final
2026-05-20T09:32:21.369+08:00 INFO 13344 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-20T09:32:21.673+08:00 INFO 13344 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-20T09:32:22.006+08:00 INFO 13344 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
Database driver: undefined/unknown
Database version: 16.13
Autocommit mode: undefined/unknown
Isolation level: undefined/unknown
Minimum pool size: undefined/unknown
Maximum pool size: undefined/unknown
2026-05-20T09:32:24.449+08:00 INFO 13344 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-20T09:32:24.739+08:00 INFO 13344 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-20T09:32:25.306+08:00 INFO 13344 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used.
2026-05-20T09:32:27.257+08:00 WARN 13344 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2026-05-20T09:32:27.383+08:00 INFO 13344 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [public/index.html]
2026-05-20T09:32:28.170+08:00 WARN 13344 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'
2026-05-20T09:32:28.188+08:00 INFO 13344 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2026-05-20T09:32:28.189+08:00 INFO 13344 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2026-05-20T09:32:28.194+08:00 INFO 13344 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2026-05-20T09:32:28.210+08:00 INFO 13344 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2026-05-20T09:32:28.230+08:00 ERROR 13344 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8081 was already in use.
Action:
Identify and stop the process that's listening on port 8081 or configure this application to listen on another port.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.891 s
[INFO] Finished at: 2026-05-20T09:32:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.4.0:run (default-cli) on project brapi-Java-TestServer: Process terminated with exit code: 1 -> [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/MojoExecutionException