当 运行ning 和 Web 浏览器不是 运行 时,Spring Boot 应用程序卡在 spring boot 徽标(本地)

SpringBoot application stuck at springboot logo when running and web browser not run (LOCAL)

我有 spring 启动应用程序,当我尝试 运行 该应用程序时,它只是停留在 Spring 启动徽标,之后没有任何事情发生,例如错误或错误。

this view when I running

and this view of local running port 8440

(对不起,我之前输入了错误的图片)和网络浏览器中的这个错误

所以如果我遇到这个错误,我是否在我的计算机上启用 TLS 1.2 (windows 10)?

此代码来自 logback.xml

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n
            </Pattern>
        </layout>
    </appender>

    <appender name="ROLLING-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>/data/logs/spv/system.log</file>
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} [%thread] - %msg%n
            </Pattern>
        </encoder>
        <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
            <fileNamePattern>/data/logs/spv/system.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
            <maxFileSize>100MB</maxFileSize>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>
    
    <appender name="BATCH-ROLLING-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>/data/logs/spv/batch.log</file>
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n
            </Pattern>
        </encoder>
        <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
            <fileNamePattern>/data/logs/spv/batch.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
            <maxFileSize>100MB</maxFileSize>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>
    
    <appender name="SQL-ROLLING-FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>/data/logs/spv/sql.log</file>
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n
            </Pattern>
        </encoder>
        <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
            <fileNamePattern>/data/logs/spv/sql.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
            <maxFileSize>100MB</maxFileSize>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>

    <logger name="org.springframework.web" level="error" additivity="false">
        <!-- <appender-ref ref="STDOUT" /> -->
        <appender-ref ref="ROLLING-FILE" />
    </logger>

    <logger name="com.overo.batch" level="debug" additivity="false">
        <appender-ref ref="BATCH-ROLLING-FILE" />
    </logger>
    
    <logger name="com.overo.dao" level="debug" additivity="false">
        <appender-ref ref="SQL-ROLLING-FILE" />
    </logger>
    
    <logger name="com.overo" level="debug" additivity="false">
        <appender-ref ref="ROLLING-FILE" />
    </logger>

    <root level="error">
        <appender-ref ref="STDOUT" />
        <appender-ref ref="ROLLING-FILE" />
    </root>

</configuration>

猜猜我该如何调试这个问题?

您必须在浏览器中输入正确的URL:

https://localhost:8440

这就是浏览器的抱怨