Почему мое приложение Java Spring занимает более 5 минут для запуска?JAVA

Программисты JAVA общаются здесь
Anonymous
Почему мое приложение Java Spring занимает более 5 минут для запуска?

Сообщение Anonymous »

У меня есть несколько услуг Java Spring в моем репо. Вчера, внезапно, они начали запускаться 5 минут. Они останавливаются на прикреплении агентов: [] раздел (см. Ниже). Они в конечном итоге запускают, но сразу через некоторое время. < /P>
james@fedora:~/Documents/repos/services/oauth-service$ mvn spring-boot:run
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.harlyy:oauth-service >----------------------
[INFO] Building oauth-service 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot:3.3.10:run (default-cli) > test-compile @ oauth-service >>>
[INFO]
[INFO] --- checkstyle:3.6.0:check (default) @ oauth-service ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ oauth-service ---
[INFO] Copying 7 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ oauth-service ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 52 source files with javac [debug parameters target 21] to target/classes
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ oauth-service ---
[INFO] skip non existing resourceDirectory /home/james/Documents/repos/services/oauth-service/src/test/resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ oauth-service ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 8 source files with javac [debug parameters target 21] to target/test-classes
[INFO]
[INFO]

Подробнее здесь: https://stackoverflow.com/questions/796 ... to-startup

Вернуться в «JAVA»