Введите описание изображения здесь
Я имею это в моем применении.
Код: Выделить всё
# Application properties that need to be
# embedded within the web application can be included here
server:
port: 8443
servlet:
context-path: /cas-management
ssl:
enabled: true
key-store: file:etc/cas/thekeystore
key-store-password: changeit
key-password: changeit
key-alias: cas
key-store-type: JKS
< /code>
и это в моем файле конфигурации Management.properties < /p>
mgmt.serverName=https://localhost:8443
mgmt.adminRoles[0]=ROLE_ADMIN
mgmt.userPropertiesFile=file:/etc/cas/config/users.json
logging.config=file:/etc/cas/config/log4j2-management.xml
< /code>
и в терминале это не дает мне никакой конкретной ошибки < /p>
PS D:\cas-management> ./gradlew clean bootRun
Configuration on demand is an incubating feature.
> Configure project :
Using AMAZON as the JVM vendor for the Java toolchain
Building CAS version 7.0.0-SNAPSHOT with application server -tomcat
> Task :bootRun
SLF4J(W): Class path contains multiple SLF4J providers.
SLF4J(W): Found provider [org.apache.logging.slf4j.SLF4JServiceProvider@1c53fd30]
SLF4J(W): Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@50cbc42f]
SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J(I): Actual provider is of type [org.apache.logging.slf4j.SLF4JServiceProvider@1c53fd30]
_________ _____ __ ___ __
/ ____/ | / ___/ / |/ /___ _____ ___ / /_
/ / / /| | \__ \ / /|_/ / __ `/ __ `__ \/ __/
/ /___/ ___ |___/ / / / / / /_/ / / / / / / /_
\____/_/ |_/____/ /_/ /_/\__, /_/ /_/ /_/\__/
/____/
CAS Management Version: 7.0.0-SNAPSHOT
CAS Management Commit Id: a1cfb3e81eddeb34b5e261ee3dac0ed4ecac511c
CAS Management Branch: 7.0.x
CAS Management Build Date/Time: 2025-03-12T19:31:20Z
CAS Version: 7.0.5.1
CAS Branch: 7.0.x
CAS Commit Id: 16c542a31c45123dddad04f9fc7dbe077f3718cd
CAS Build Date/Time: 2024-06-25T17:23:56.928545Z
Spring Boot Version: 3.2.7
Spring Version: 6.1.2
Java Home: C:\Users\Paulina Males\.jdks\corretto-21.0.6
Java Vendor: Amazon.com Inc.
Java Version: 21.0.6
Servlet Version: 6.0.0
JVM Free Memory: 139 MB
JVM Maximum Memory: 1 GB
JVM Total Memory: 204 MB
OS Architecture: amd64
OS Name: Windows 11
OS Version: 10.0
OS Date/Time: 2025-03-13T14:16:57.802861100
OS Temp Directory: C:\Users\PAULIN~1\AppData\Local\Temp\
------------------------------------------------------------
2025-03-13T14:16:57.876-05:00 INFO 23192 --- [ main] o.a.c.m.w.CasManagementWebApplication : Starting CasManagementWebApplication v7.0.0-SNAPSHOT using Java 21.0.6 with PID 23192 (C:\Users\Paulina Males\.gradle\caches\modules-2\files-2.1\org.apereo.cas\cas-mgmt-webapp-init\7.0.0-SNAPSHOT\6940a85b594f414003731f426130b7aa86027c82\cas-mgmt-webapp-init-7.0.0-SNAPSHOT.jar started by Paulina Males in D:\REFACTOR STUDIO\cas-management)
2025-03-13T14:16:57.876-05:00 INFO 23192 --- [ main] o.a.c.m.w.CasManagementWebApplication : No active profile set, falling back to 1 default profile: "default"
2025-03-13T14:17:00.170-05:00 INFO 23192 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2025-03-13T14:17:00.187-05:00 INFO 23192 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2025-03-13T14:17:00.235-05:00 INFO 23192 --- [ main] o.s.c.c.s.GenericScope : BeanFactory id=338e9e80-ce42-31d3-be40-2da3067e5bd6
2025-03-13T14:17:01.477-05:00 INFO 23192 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port 8443 (https)
2025-03-13T14:17:01.505-05:00 INFO 23192 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat]
2025-03-13T14:17:01.505-05:00 INFO 23192 --- [ main] o.a.c.c.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.25]
2025-03-13T14:17:01.551-05:00 INFO 23192 --- [ main] o.a.c.c.C.[.[.[/cas-management] : Initializing Spring embedded WebApplicationContext
2025-03-13T14:17:01.553-05:00 INFO 23192 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2648 ms
2025-03-13T14:17:02.812-05:00 INFO 23192 --- [ main] o.q.i.StdSchedulerFactory : Using default implementation for ThreadExecutor
2025-03-13T14:17:02.828-05:00 INFO 23192 --- [ main] o.q.c.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2025-03-13T14:17:02.828-05:00 INFO 23192 --- [ main] o.q.c.QuartzScheduler : Quartz Scheduler v.2.3.2 created.
2025-03-13T14:17:02.828-05:00 INFO 23192 --- [ main] o.q.s.RAMJobStore : RAMJobStore initialized.
2025-03-13T14:17:02.833-05:00 INFO 23192 --- [ main] o.q.c.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2025-03-13T14:17:02.833-05:00 INFO 23192 --- [ main] o.q.i.StdSchedulerFactory : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
2025-03-13T14:17:02.833-05:00 INFO 23192 --- [ main] o.q.i.StdSchedulerFactory : Quartz scheduler version: 2.3.2
2025-03-13T14:17:02.833-05:00 INFO 23192 --- [ main] o.q.c.QuartzScheduler : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@568fd3de
2025-03-13T14:17:02.949-05:00 INFO 23192 --- [ main] o.s.b.a.e.w.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator'
2025-03-13T14:17:03.250-05:00 INFO 23192 --- [ main] o.s.i.e.EventDrivenConsumer : Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2025-03-13T14:17:03.251-05:00 INFO 23192 --- [ main] o.s.i.c.PublishSubscribeChannel : Channel 'application.errorChannel' has 1 subscriber(s).
2025-03-13T14:17:03.251-05:00 INFO 23192 --- [ main] o.s.i.e.EventDrivenConsumer : started bean '_org.springframework.integration.errorLogger'
2025-03-13T14:17:03.443-05:00 INFO 23192 --- [ main] o.a.t.u.n.N.certificate : Connector [https-jsse-nio-8443], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [C:\Users\Paulina Males\.keystore] using alias [cas] with trust store [null]
2025-03-13T14:17:03.459-05:00 INFO 23192 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat started on port 8443 (https) with context path '/cas-management'
2025-03-13T14:17:03.475-05:00 INFO 23192 --- [ main] o.s.s.q.SchedulerFactoryBean : Starting Quartz Scheduler now
2025-03-13T14:17:03.475-05:00 INFO 23192 --- [ main] o.q.c.QuartzScheduler : Scheduler quartzScheduler_$_NON_CLUSTERED started.
2025-03-13T14:17:03.516-05:00 INFO 23192 --- [ main] o.a.c.c.CasCoreServicesConfiguration : Runtime memory is used as the persistence storage for retrieving and persisting service definitions. Changes that are made to service definitions during runtime WILL be LOST when the CAS server is restarted. Ideally for production, you should choose a storage option (JSON, JDBC, MongoDb, etc) to track service definitions.
2025-03-13T14:17:04.210-05:00 INFO 23192 --- [ main] o.a.c.m.w.CasManagementWebApplication : Started CasManagementWebApplication in 7.114 seconds (process running for 8.192)
2025-03-13T14:17:04.223-05:00 INFO 23192 --- [ main] o.a.c.s.m.AbstractServicesManager : Loaded [0] service(s) from [InMemoryServiceRegistry].
2025-03-13T14:18:50.183-05:00 INFO 23192 --- [nio-8443-exec-1] o.a.c.c.C.[.[.[/cas-management] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-03-13T14:18:50.184-05:00 INFO 23192 --- [nio-8443-exec-1] o.s.w.s.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2025-03-13T14:18:50.186-05:00 INFO 23192 --- [nio-8443-exec-1] o.s.w.s.DispatcherServlet : Completed initialization in 2 ms
88% EXECUTING [15m 39s]
> :bootRun
Подробнее здесь: https://stackoverflow.com/questions/795 ... -interface