D:\app\java\jdk21\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64075,suspend=y,server=n -javaagent:C:\Users\kunshen\AppData\Local\JetBrains\IntelliJIdea2024.1\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "D:\kunshen\Documents\Java\idea\untitled1\out\production\test1;D:\kunshen\Documents\Java\idea\untitled1\test1\lib\mysql-connector-j-8.0.33.jar;D:\kunshen\Documents\Java\idea\untitled1\test1\lib\mysql-connector-j-9.3.0.jar;D:\kunshen\Documents\Java\idea\untitled1\IThiema\lib\mysql-connector-java-5.1.37-bin.jar;D:\app\IDEA\IntelliJ IDEA 2024.1\lib\idea_rt.jar" com.javashiyan.l12.t.Test2 已连接到地址为 ''127.0.0.1:64075',传输: '套接字'' 的目标虚拟机 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 表创建成功或已存在 Exception in thread "main" java.sql.SQLSyntaxErrorException: Unknown column '工号' in 'field list' at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) at com.javashiyan.l12.t.Test2.add(Test2.java:32) at com.javashiyan.l12.t.Test2.main(Test2.java:19) 已与地址为 ''127.0.0.1:64075',传输: '套接字'' 的目标虚拟机断开连接

时间: 2025-08-08 21:28:03 浏览: 7
<think>好的,用户遇到了Java程序中的SQLSyntaxErrorException,具体是Unknowncolumn '工号' in'fieldlist'。首先,我需要确定这个问题的根本原因。根据用户提供的信息,错误是由于数据库表中不存在名为'工号'的列,而程序中可能引用了这个列名。这可能是因为实体类中的字段名与数据库表的列名不一致导致的。接下来,我需要考虑可能的原因。根据之前的引用内容,JPA默认会将驼峰命名的字段转换为下划线格式。例如,实体类中的字段'assignedDate'会被转换为'assigned_date'。如果数据库中的列名是'assingedDate',就会出现不匹配的情况。类似地,用户的问题中提到的'工号'可能对应实体类中的某个字段,但数据库中实际列名可能不同,比如是'gonghao'或者使用其他命名方式。 解决方案方面,首先应该检查实体类的字段名与数据库表的列名是否一致。如果实体类使用了驼峰命名,而数据库列名是下划线格式,可能需要调整JPA的命名策略,或者在实体类中使用@Column注解显式指定列名。另外,用户可能需要配置JPA不自动转换命名策略,或者在数据库中添加对应的列。还需要考虑其他可能性,例如SQL语句中直接使用了'工号'作为列名,而数据库实际列名是其他名称。这时候需要检查SQL语句是否正确,或者是否使用了别名。此外,数据库表结构是否与程序预期的结构一致,是否有迁移脚本未正确执行,或者缓存导致的问题。最后,应该建议用户逐步排查,从检查实体类与数据库的映射关系开始,确认命名策略,必要时使用注解或配置调整,同时确保数据库表结构正确更新。可能还需要重启应用或清理缓存,确保变更生效。</think>### 解决方案:Java SQLSyntaxErrorException Unknown column '工号' in 'field list' #### **1. 问题分析** 当程序抛出`Unknown column '工号' in 'field list'`异常时,说明**数据库表中不存在名为“工号”的列**,但程序试图通过SQL语句访问该列。常见原因包括: 1. **实体类字段与数据库列名未正确映射**(如驼峰命名未转为下划线格式,或显式指定列名错误)[^1] 2. **数据库表结构未同步更新**(如新增字段未执行DDL语句) 3. **SQL语句直接硬编码了列名**(如手动编写JPQL或Native Query时列名拼写错误) --- #### **2. 解决步骤** ##### **2.1 检查实体类与数据库列名映射** - **情况1:实体类字段使用驼峰命名** - JPA默认会将`employeeId`转为`employee_id`,若数据库中列名为`工号`(需UTF8编码支持),则会导致不匹配。 - **解决方案**:在实体类字段上通过`@Column`显式指定列名: ```java @Column(name = "工号") // 或数据库实际列名如"work_id" private String employeeId; ``` - **情况2:禁用JPA自动命名策略** - 在`application.yml`中配置保留字段原名(不转为下划线): ```yaml spring: jpa: hibernate: naming: physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl ``` ##### **2.2 验证数据库表结构** - **执行SQL命令检查表结构**: ```sql DESC 表名; -- 查看是否包含“工号”列 ``` - **若列缺失**,需执行DDL语句添加列: ```sql ALTER TABLE 表名 ADD COLUMN 工号 VARCHAR(20); -- 根据实际类型调整 ``` ##### **2.3 检查SQL语句中的列名** - **若使用Native Query**: ```java @Query(value = "SELECT 工号 FROM employees", nativeQuery = true) List<String> findEmployeeIds(); ``` - 确保SQL中的`工号`与数据库列名完全一致(包括大小写,MySQL默认不区分)。 ##### **2.4 清理Hibernate缓存** - 修改实体类或数据库后,重启应用以避免缓存导致的映射错误。 --- #### **3. 扩展场景** - **多语言环境下的列名问题**:若数据库列名使用英文(如`work_id`),而代码中误用中文,需统一命名规范。 - **动态列名处理**:通过JPA的`@DynamicInsert`和`@DynamicUpdate`注解避免更新未修改字段。 ---
阅读全文

相关推荐

"C:\Program Files\Java\jdk-24\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61751,suspend=y,server=n "-javaagent:C:\Users\Administrator\AppData\Local\JetBrains\IntelliJIdea2025.1\captureAgent\debugger-agent.jar=file:///C:/Users/ADMINI~1/AppData/Local/Temp/capture14899634229481848082.props" -agentpath:C:\Users\Administrator\AppData\Local\Temp\idea_libasyncProfiler_dll_temp_folder2447\libasyncProfiler.dll=version,jfr,event=wall,interval=10ms,cstack=no,file=C:\Users\Administrator\IdeaSnapshots\AdminApplication_2025_07_21_192401.jfr,dbghelppath=C:\Users\Administrator\AppData\Local\Temp\idea_dbghelp_dll_temp_folder1\dbghelp.dll,log=C:\Users\Administrator\AppData\Local\Temp\AdminApplication_2025_07_21_192401.jfr.log.txt,logLevel=DEBUG -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dkotlinx.coroutines.debug.enable.flows.stack.trace=true -Dkotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace=true -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 @C:\Users\Administrator\AppData\Local\Temp\idea_arg_file1628039558 net.lab1024.sa.admin.AdminApplication 已连接到地址为 ''127.0.0.1:61751',传输: '套接字'' 的目标虚拟机 错误: 找不到或无法加载主类 net.lab1024.sa.admin.AdminApplication 原因: java.lang.ClassNotFoundException: net.lab1024.sa.admin.AdminApplication 已与地址为 ''127.0.0.1:61751',传输: '套接字'' 的目标虚拟机断开连接 进程已结束,退出代码为 1

D:\Soft\jdk\jdk1.8.0_91\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:4774,suspend=y,server=n -javaagent:C:\Users\毕浩瀚\AppData\Local\JetBrains\IdeaIC2024.1\captureAgent\debugger-agent.jar=file:/C:/Users/%E6%AF%95%E6%B5%A9%E7%80%9A/AppData/Local/Temp/capture8.props -Dfile.encoding=UTF-8 -classpath C:\Users\毕浩瀚\AppData\Local\Temp\classpath1213671524.jar com.oo.dpwp.DrawingApplication 已连接到地址为 ''127.0.0.1:4774',传输: '套接字'' 的目标虚拟机 忽略HTTPS请求的SSL证书 10:23:12.746 [main] DEBUG org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - Application failed to start due to an exception org.springframework.cloud.commons.ConfigDataMissingEnvironmentPostProcessor$ImportException: No spring.config.import set at org.springframework.cloud.commons.ConfigDataMissingEnvironmentPostProcessor.postProcessEnvironment(ConfigDataMissingEnvironmentPostProcessor.java:82) at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEnvironmentPreparedEvent(EnvironmentPostProcessorApplicationListener.java:102) at org.springframework.boot.env.EnvironmentPostProcessorApplicationListener.onApplicationEvent(EnvironmentPostProcessorApplicationListener.java:87) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:133) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) at java.util.ArrayL

E:\Java\jdk17\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53773,suspend=y,server=n -javaagent:C:\Users\ASUS\AppData\Local\JetBrains\IntelliJIdea2025.1\captureAgent\debugger-agent.jar=file:///C:/Users/ASUS/AppData/Local/Temp/capture11973249012523137182.props -agentpath:C:\Users\ASUS\AppData\Local\Temp\idea_libasyncProfiler_dll_temp_folder\libasyncProfiler.dll=version,jfr,event=wall,interval=10ms,cstack=no,file=C:\Users\ASUS\IdeaSnapshots\GatewayApplication_2025_07_09_222909.jfr,dbghelppath=C:\Users\ASUS\AppData\Local\Temp\idea_dbghelp_dll_temp_folder\dbghelp.dll,log=C:\Users\ASUS\AppData\Local\Temp\GatewayApplication_2025_07_09_222909.jfr.log.txt,logLevel=DEBUG -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dkotlinx.coroutines.debug.enable.flows.stack.trace=true -Dkotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace=true -Dfile.encoding=UTF-8 @C:\Users\ASUS\AppData\Local\Temp\idea_arg_file880317398 com.gateway.Application 已连接到地址为 ''127.0.0.1:53773',传输: '套接字'' 的目标虚拟机 SLF4J: Class path contains multiple SLF4J providers. SLF4J: Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@4566e5bd] SLF4J: Found provider [org.slf4j.simple.SimpleServiceProvider@1ed4004b] SLF4J: See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual provider is of type [ch.qos.logback.classic.spi.LogbackServiceProvider@4566e5bd] 错误: 找不到或无法加载主类 com.gateway.Application 原因: java.lang.ClassNotFoundException: com.gateway.Application 已与地址为 ''127.0.0.1:53773',传输: '套接字'' 的目标虚拟机断开连接 进程已结束,退出代码为 1

D:\Java\jdk-1.8\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51386,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -javaagent:D:\Java\Idea\ideaIU-2023.2.win\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/lenovo/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath C:\Users\lenovo\AppData\Local\Temp\classpath857402285.jar bpa.BasServiceApplication Connected to the target VM, address: '127.0.0.1:51386', transport: 'socket' SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/Java/Maven/apache-maven-repository/org/slf4j/slf4j-nop/1.7.36/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/Java/Maven/apache-maven-repository/org/slf4j/slf4j-jdk14/1.7.36/slf4j-jdk14-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/Java/Maven/apache-maven-repository/ch/qos/logback/logback-classic/1.2.12/logback-classic-1.2.12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory] Exception in thread "main" java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.helpers.NOPLoggerFactory loaded from file:/D:/Java/Maven/apache-maven-repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.helpers.NOPLoggerFactory at org.springframework.util.Assert.instanceCheckFailed(Assert.java:702) at org.springframework.util.Assert

D:\UseApp\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63995,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\UseApp\ideaIU-2020.1.1\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/LEGION/AppData/Local/Temp/capture9.props -Dfile.encoding=UTF-8 -classpath C:\Users\LEGION\AppData\Local\Temp\classpath902594147.jar com.bonc.activityGenerate.ActivityGenerateApplication Connected to the target VM, address: '127.0.0.1:63995', transport: 'socket' 2025-06-10 22:43:55.088 DEBUG 49400 --- [ main] c.a.n.client.env.SearchableProperties : properties search order:PROPERTIES->JVM->ENV 2025-06-10 22:43:55.386 INFO 49400 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2025-06-10 22:43:55.386 INFO 49400 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.11) 2025-06-10 22:43:57.279 INFO 49400 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to get current node abilities... 2025-06-10 22:43:57.281 INFO 49400 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to initialize current node abilities, support modes: [SDK_CLIENT] 2025-06-10 22:43:57.282 INFO 49400 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Initialize current abilities finish... 2025-06-10 22:43:57.283 INFO 49400 --- [ main] c.a.n.c.a.d.NacosAbilityManagerHolder : [AbilityControlManager] Successfully initialize AbilityControlManager 2025-06-10 22:43:57.372 WARN 49400 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service] & group[DEFAULT_GROUP] 2025-06-10 22:43:57.378 WARN 49400 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service.yml] & group[DEFAULT_GROUP] 2025-06-10 22:43:57.560 INFO 49400 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource@1562251195 {name='bootstrapProperties-redisson-service-prod.yml,DEFAULT_GROUP', properties={spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER, spring.http.multipart.enabled=true, spring.http.multipart.max-file-size=-1, spring.http.multipart.max-request-size=-1, spring.datasource.dynamic.primary=tri, spring.datasource.dynamic.strict=false, spring.datasource.dynamic.datasource.tri.driver-class-name=com.mysql.jdbc.Driver, spring.datasource.dynamic.datasource.tri.url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, spring.datasource.dynamic.datasource.tri.username=e_sdiri, spring.datasource.dynamic.datasource.tri.password=uHF4CiXAMR5pe3AL, spring.datasource.dynamic.datasource.tri.type=com.zaxxer.hikari.HikariDataSource, spring.datasource.dynamic.datasource.tri.hikari.maximum-pool-size=40, spring.datasource.dynamic.datasource.tri.hikari.minimum-idle=1, spring.datasource.dynamic.datasource.tri.hikari.idle-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.connection-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.max-lifetime=1800000, spring.datasource.dynamic.datasource.tri.hikari.pool-name=MyAppPool, tri.activityServerUrl=http://172.16.50.140:30913, tri.activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, tri.AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, tri.standardServerUrl=http://10.135.139.99:30753, tri.yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, tri.llmServerUrl=http://10.218.27.125:30871, tri.llmModelName=Qwen2.5-32B-Instruct, logging.config=classpath:logback-spring.xml, feign.httpclient.max-connections-per-route=200, feign.httpclient.max-connections=1000, feign.circuitbreaker.enabled=true, feign.client.config.default.connect-timeout=300000, feign.client.config.default.read-timeout=300000, server.port=31963, server.servlet.context-path=/act, login.skipUrls[0]=/user/login, login.skipUrls[1]=/user/getLoginCode, login.skipUrls[2]=/user/register, login.skipUrls[3]=/task/logWebsocket, login.skipUrls[4]=/server/**/api/chat, login.skipUrls[5]=/wsApiChat, login.skipUrls[6]=/server/serverDesc/**, login.skipUrls[7]=/server/openServerList, login.skipUrls[8]=/server/aiCloudPhone/**, login.skipUrls[9]=/open/jiKe/**, login.skipUrls[10]=/**/*.html, login.skipUrls[11]=/**/*.js, login.skipUrls[12]=/**/*.css, login.skipUrls[13]=/**/*.icon, login.skipUrls[14]=/**/*.gif, login.skipUrls[15]=/**/*.jpg, login.skipUrls[16]=/**/*.png, login.skipUrls[17]=/chat/**, login.skipUrls[18]=/swagger-resources/**, login.skipUrls[19]=/v2/}}, BootstrapPropertySource@787298292 {name='bootstrapProperties-redisson-service.yml,DEFAULT_GROUP', properties={}}, BootstrapPropertySource@163015520 {name='bootstrapProperties-redisson-service,DEFAULT_GROUP', properties={}}] _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.4.1 Disconnected from the target VM, address: '127.0.0.1:63995', transport: 'socket' Process finished with exit code 0 项目启动失败,没有多余的日志,根据日志知道Nacos已经连接成功,为什么会启动失败呢?

D:\Soft\jdk\jdk1.8.0_91\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54237,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dhxl.spring.invoke.port=33334 -javaagent:C:\Users\毕浩瀚\AppData\Local\JetBrains\IntelliJIdea2022.2\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath C:\Users\毕浩瀚\AppData\Local\Temp\classpath1910860709.jar com.oo.dpwp.DrawingApplication 已连接到目标 VM, 地址: ''127.0.0.1:54237',传输: '套接字'' 忽略HTTPS请求的SSL证书 LOGBACK: No context given for org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender[null] LOGBACK: No context given for org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender[null] . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.3.2.RELEASE) 2025-03-11 09:12:09,102 [INFO] [main] c.alibaba.nacos.client.config.impl.LocalConfigInfoProcessor [LocalConfigInfoProcessor.java : 195] [] [] LOCAL_SNAPSHOT_PATH:C:\Users\毕浩瀚\nacos\config 2025-03-11 09:12:09,122 [INFO] [main] com.alibaba.nacos.client.config.impl.Limiter [Limiter.java : 53] [] [] limitTime:5.0 2025-03-11 09:12:09,151 [INFO] [main] com.alibaba.nacos.client.config.utils.JVMUtil [JVMUtil.java : 47] [] [] isMultiInstance:false 2025-03-11 09:12:09,179 [WARN] [main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] [] [] Ignore the empty nacos configuration and get it based on dataId[oo-dpwp-atom-base-auth-svc] & group[DEFAULT_GROUP] 2025-03-11 09:12:09,189 [WARN] [main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] [] [] Ignore the e

D:\UseApp\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:65209,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\UseApp\ideaIU-2020.1.1\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/LEGION/AppData/Local/Temp/capture11.props -Dfile.encoding=UTF-8 -classpath C:\Users\LEGION\AppData\Local\Temp\classpath1154393012.jar com.bonc.activityGenerate.ActivityGenerateApplication Connected to the target VM, address: '127.0.0.1:65209', transport: 'socket' 2025-06-10 23:00:43.106 DEBUG 16796 --- [ main] c.a.n.client.env.SearchableProperties : properties search order:PROPERTIES->JVM->ENV 2025-06-10 23:00:43.230 DEBUG 16796 --- [ main] o.s.boot.SpringApplication : Loading source class org.springframework.cloud.bootstrap.BootstrapImportSelectorConfiguration 2025-06-10 23:00:43.253 DEBUG 16796 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4da855dd 2025-06-10 23:00:43.549 INFO 16796 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2025-06-10 23:00:43.549 INFO 16796 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. 2025-06-10 23:00:43.903 DEBUG 16796 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase -2147483647 2025-06-10 23:00:43.903 DEBUG 16796 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Successfully started bean 'springBootLoggingLifecycle' 2025-06-10 23:00:43.907 DEBUG 16796 --- [ main] ConditionEvaluationReportLoggingListener : ============================ CONDITIONS EVALUATION REPORT ============================ Positive matches: ----------------- ConfigurationPropertiesRebinderAutoConfiguration matched: - @ConditionalOnBean (types: org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor; SearchStrategy: all) found bean 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor' (OnBeanCondition) ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesBeans matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesBeans; SearchStrategy: current) did not find any beans (OnBeanCondition) ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesRebinder matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder; SearchStrategy: current) did not find any beans (OnBeanCondition) EncryptionBootstrapConfiguration matched: - @ConditionalOnClass found required class 'org.springframework.security.crypto.encrypt.TextEncryptor' (OnClassCondition) EncryptionBootstrapConfiguration#keyProperties matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.bootstrap.encrypt.KeyProperties; SearchStrategy: all) did not find any beans (OnBeanCondition) NacosConfigBootstrapConfiguration matched: - @ConditionalOnProperty (spring.cloud.nacos.config.enabled) matched (OnPropertyCondition) NacosConfigBootstrapConfiguration#nacosConfigManager matched: - @ConditionalOnMissingBean (types: com.alibaba.cloud.nacos.NacosConfigManager; SearchStrategy: all) did not find any beans (OnBeanCondition) NacosConfigBootstrapConfiguration#nacosConfigProperties matched: - @ConditionalOnMissingBean (types: com.alibaba.cloud.nacos.NacosConfigProperties; SearchStrategy: all) did not find any beans (OnBeanCondition) PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer matched: - @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) did not find any beans (OnBeanCondition) Negative matches: ----------------- EncryptionBootstrapConfiguration.RsaEncryptionConfiguration: Did not match: - Keystore nor key found in Environment (EncryptionBootstrapConfiguration.KeyCondition) Matched: - @ConditionalOnClass found required class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition) EncryptionBootstrapConfiguration.VanillaEncryptionConfiguration: Did not match: - @ConditionalOnMissingClass found unwanted class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition) NacosConfigBootstrapConfiguration#smartConfigurationPropertiesRebinder: Did not match: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder; SearchStrategy: current) found beans of type 'org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder' configurationPropertiesRebinder (OnBeanCondition) NacosDiscoveryClientConfigServiceBootstrapConfiguration: Did not match: - @ConditionalOnClass did not find required class 'org.springframework.cloud.config.client.ConfigServicePropertySourceLocator' (OnClassCondition) Exclusions: ----------- None Unconditional classes: ---------------------- None . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.11) 2025-06-10 23:00:46.022 INFO 16796 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to get current node abilities... 2025-06-10 23:00:46.024 INFO 16796 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to initialize current node abilities, support modes: [SDK_CLIENT] 2025-06-10 23:00:46.024 INFO 16796 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Initialize current abilities finish... 2025-06-10 23:00:46.025 INFO 16796 --- [ main] c.a.n.c.a.d.NacosAbilityManagerHolder : [AbilityControlManager] Successfully initialize AbilityControlManager 2025-06-10 23:00:46.145 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loading from YAML: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:00:46.151 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Merging document (no matchers set): {spring={mvc={pathmatch={matching-strategy=ANT_PATH_MATCHER}}, http={multipart={enabled=true, max-file-size=-1, max-request-size=-1}}, datasource={dynamic={primary=tri, strict=false, datasource={tri={driver-class-name=com.mysql.jdbc.Driver, url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, username=e_sdiri, password=uHF4CiXAMR5pe3AL, type=com.zaxxer.hikari.HikariDataSource, hikari={maximum-pool-size=40, minimum-idle=1, idle-timeout=30000, connection-timeout=30000, max-lifetime=1800000, pool-name=MyAppPool}}}}}}, tri={activityServerUrl=http://172.16.50.140:30913, activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, standardServerUrl=http://10.135.139.99:30753, yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, llmServerUrl=http://10.218.27.125:30871, llmModelName=Qwen2.5-32B-Instruct}, logging={config=classpath:logback-spring.xml}, feign={httpclient={max-connections-per-route=200, max-connections=1000}, circuitbreaker={enabled=true}, client={config={default={connect-timeout=300000, read-timeout=300000}}}}, server={port=31963, servlet={context-path=/act}}, login={skipUrls=[/user/login, /user/getLoginCode, /user/register, /task/logWebsocket, /server/**/api/chat, /wsApiChat, /server/serverDesc/**, /server/openServerList, /server/aiCloudPhone/**, /open/jiKe/**, /**/*.html, /**/*.js, /**/*.css, /**/*.icon, /**/*.gif, /**/*.jpg, /**/*.png, /chat/**, /swagger-resources/**, /v2/]}} 2025-06-10 23:00:46.151 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loaded 1 document from YAML resource: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:00:46.163 WARN 16796 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service] & group[DEFAULT_GROUP] 2025-06-10 23:00:46.172 WARN 16796 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service.yml] & group[DEFAULT_GROUP] 2025-06-10 23:00:46.334 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loading from YAML: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:00:46.339 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Merging document (no matchers set): {spring={mvc={pathmatch={matching-strategy=ANT_PATH_MATCHER}}, http={multipart={enabled=true, max-file-size=-1, max-request-size=-1}}, datasource={dynamic={primary=tri, strict=false, datasource={tri={driver-class-name=com.mysql.jdbc.Driver, url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, username=e_sdiri, password=uHF4CiXAMR5pe3AL, type=com.zaxxer.hikari.HikariDataSource, hikari={maximum-pool-size=40, minimum-idle=1, idle-timeout=30000, connection-timeout=30000, max-lifetime=1800000, pool-name=MyAppPool}}}}}}, tri={activityServerUrl=http://172.16.50.140:30913, activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, standardServerUrl=http://10.135.139.99:30753, yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, llmServerUrl=http://10.218.27.125:30871, llmModelName=Qwen2.5-32B-Instruct}, logging={config=classpath:logback-spring.xml}, feign={httpclient={max-connections-per-route=200, max-connections=1000}, circuitbreaker={enabled=true}, client={config={default={connect-timeout=300000, read-timeout=300000}}}}, server={port=31963, servlet={context-path=/act}}, login={skipUrls=[/user/login, /user/getLoginCode, /user/register, /task/logWebsocket, /server/**/api/chat, /wsApiChat, /server/serverDesc/**, /server/openServerList, /server/aiCloudPhone/**, /open/jiKe/**, /**/*.html, /**/*.js, /**/*.css, /**/*.icon, /**/*.gif, /**/*.jpg, /**/*.png, /chat/**, /swagger-resources/**, /v2/]}} 2025-06-10 23:00:46.339 DEBUG 16796 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loaded 1 document from YAML resource: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:00:46.341 INFO 16796 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource@1176254217 {name='bootstrapProperties-redisson-service-prod.yml,DEFAULT_GROUP', properties={spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER, spring.http.multipart.enabled=true, spring.http.multipart.max-file-size=-1, spring.http.multipart.max-request-size=-1, spring.datasource.dynamic.primary=tri, spring.datasource.dynamic.strict=false, spring.datasource.dynamic.datasource.tri.driver-class-name=com.mysql.jdbc.Driver, spring.datasource.dynamic.datasource.tri.url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, spring.datasource.dynamic.datasource.tri.username=e_sdiri, spring.datasource.dynamic.datasource.tri.password=uHF4CiXAMR5pe3AL, spring.datasource.dynamic.datasource.tri.type=com.zaxxer.hikari.HikariDataSource, spring.datasource.dynamic.datasource.tri.hikari.maximum-pool-size=40, spring.datasource.dynamic.datasource.tri.hikari.minimum-idle=1, spring.datasource.dynamic.datasource.tri.hikari.idle-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.connection-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.max-lifetime=1800000, spring.datasource.dynamic.datasource.tri.hikari.pool-name=MyAppPool, tri.activityServerUrl=http://172.16.50.140:30913, tri.activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, tri.AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, tri.standardServerUrl=http://10.135.139.99:30753, tri.yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, tri.llmServerUrl=http://10.218.27.125:30871, tri.llmModelName=Qwen2.5-32B-Instruct, logging.config=classpath:logback-spring.xml, feign.httpclient.max-connections-per-route=200, feign.httpclient.max-connections=1000, feign.circuitbreaker.enabled=true, feign.client.config.default.connect-timeout=300000, feign.client.config.default.read-timeout=300000, server.port=31963, server.servlet.context-path=/act, login.skipUrls[0]=/user/login, login.skipUrls[1]=/user/getLoginCode, login.skipUrls[2]=/user/register, login.skipUrls[3]=/task/logWebsocket, login.skipUrls[4]=/server/**/api/chat, login.skipUrls[5]=/wsApiChat, login.skipUrls[6]=/server/serverDesc/**, login.skipUrls[7]=/server/openServerList, login.skipUrls[8]=/server/aiCloudPhone/**, login.skipUrls[9]=/open/jiKe/**, login.skipUrls[10]=/**/*.html, login.skipUrls[11]=/**/*.js, login.skipUrls[12]=/**/*.css, login.skipUrls[13]=/**/*.icon, login.skipUrls[14]=/**/*.gif, login.skipUrls[15]=/**/*.jpg, login.skipUrls[16]=/**/*.png, login.skipUrls[17]=/chat/**, login.skipUrls[18]=/swagger-resources/**, login.skipUrls[19]=/v2/}}, BootstrapPropertySource@132372445 {name='bootstrapProperties-redisson-service.yml,DEFAULT_GROUP', properties={}}, BootstrapPropertySource@1063494931 {name='bootstrapProperties-redisson-service,DEFAULT_GROUP', properties={}}] _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.4.1 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'nacosLoadBalancer' defined in class path resource [com/alibaba/cloud/nacos/loadbalancer/NacosLoadBalancerClientConfiguration.class]: Unsatisfied dependency expressed through method 'nacosLoadBalancer' parameter 2; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.alibaba.cloud.nacos.NacosDiscoveryProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) at com.bonc.activityGenerate.ActivityGenerateApplication.main(ActivityGenerateApplication.java:40) Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.alibaba.cloud.nacos.NacosDiscoveryProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1357) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 19 more Disconnected from the target VM, address: '127.0.0.1:65209', transport: 'socket' Process finished with exit code 0 项目启动失败的原因是什么?怎么解决?

"C:\Program Files\Java\jdk-19\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57476,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -javaagent:C:\Users\liushuo\AppData\Local\JetBrains\IntelliJIdea2024.2\captureAgent\debugger-agent.jar -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "C:\Users\liushuo\Desktop\jiandan\demo\target\classes;D:\apache-maven-3.6.3\conf\org\mybatis\spring\boot\mybatis-spring-boot-starter\3.0.4\mybatis-spring-boot-starter-3.0.4.jar;D:\apache-maven-3.6.3\conf\org\springframework\boot\spring-boot-starter-jdbc\3.4.4\spring-boot-starter-jdbc-3.4.4.jar;D:\apache-maven-3.6.3\conf\com\zaxxer\HikariCP\5.1.0\HikariCP-5.1.0.jar;D:\apache-maven-3.6.3\conf\org\slf4j\slf4j-api\2.0.17\slf4j-api-2.0.17.jar;D:\apache-maven-3.6.3\conf\org\springframework\spring-jdbc\6.2.5\spring-jdbc-6.2.5.jar;D:\apache-maven-3.6.3\conf\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\3.0.4\mybatis-spring-boot-autoconfigure-3.0.4.jar;D:\apache-maven-3.6.3\conf\org\mybatis\mybatis\3.5.17\mybatis-3.5.17.jar;D:\apache-maven-3.6.3\conf\org\mybatis\mybatis-spring\3.0.4\mybatis-spring-3.0.4.jar;D:\apache-maven-3.6.3\conf\com\mysql\mysql-connector-j\9.1.0\mysql-connector-j-9.1.0.jar;D:\apache-maven-3.6.3\conf\org\projectlombok\lombok\1.18.36\lombok-1.18.36.jar;D:\apache-maven-3.6.3\conf\org\springframework\boot\spring-boot-starter\3.4.4\spring-boot-starter-3.4.4.jar;D:\apache-maven-3.6.3\conf\org\springframework\boot\spring-boot\3.4.4\spring-boot-3.4.4.jar;D:\apache-maven-3.6.3\conf\org\springframework\spring-context\6.2.5\spring-context-6.2.5.jar;D:\apache-maven-3.6.3\conf\org\springframework\boot\spring-boo

D:\UseApp\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54608,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\UseApp\ideaIU-2020.1.1\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/LEGION/AppData/Local/Temp/capture33456.props -Dfile.encoding=UTF-8 -classpath C:\Users\LEGION\AppData\Local\Temp\classpath247044529.jar com.bonc.activityGenerate.ActivityGenerateApplication Connected to the target VM, address: '127.0.0.1:54608', transport: 'socket' 2025-06-10 23:03:33.680 DEBUG 49132 --- [ main] c.a.n.client.env.SearchableProperties : properties search order:PROPERTIES->JVM->ENV 2025-06-10 23:03:33.800 DEBUG 49132 --- [ main] o.s.boot.SpringApplication : Loading source class org.springframework.cloud.bootstrap.BootstrapImportSelectorConfiguration 2025-06-10 23:03:33.819 DEBUG 49132 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@770d0ea6 2025-06-10 23:03:34.126 INFO 49132 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2025-06-10 23:03:34.126 INFO 49132 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. 2025-06-10 23:03:34.628 DEBUG 49132 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase -2147483647 2025-06-10 23:03:34.628 DEBUG 49132 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Successfully started bean 'springBootLoggingLifecycle' 2025-06-10 23:03:34.633 DEBUG 49132 --- [ main] ConditionEvaluationReportLoggingListener : ============================ CONDITIONS EVALUATION REPORT ============================ Positive matches: ----------------- ConfigurationPropertiesRebinderAutoConfiguration matched: - @ConditionalOnBean (types: org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor; SearchStrategy: all) found bean 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor' (OnBeanCondition) ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesBeans matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesBeans; SearchStrategy: current) did not find any beans (OnBeanCondition) ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesRebinder matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder; SearchStrategy: current) did not find any beans (OnBeanCondition) EncryptionBootstrapConfiguration matched: - @ConditionalOnClass found required class 'org.springframework.security.crypto.encrypt.TextEncryptor' (OnClassCondition) EncryptionBootstrapConfiguration#keyProperties matched: - @ConditionalOnMissingBean (types: org.springframework.cloud.bootstrap.encrypt.KeyProperties; SearchStrategy: all) did not find any beans (OnBeanCondition) NacosConfigBootstrapConfiguration matched: - @ConditionalOnProperty (spring.cloud.nacos.config.enabled) matched (OnPropertyCondition) NacosConfigBootstrapConfiguration#nacosConfigManager matched: - @ConditionalOnMissingBean (types: com.alibaba.cloud.nacos.NacosConfigManager; SearchStrategy: all) did not find any beans (OnBeanCondition) NacosConfigBootstrapConfiguration#nacosConfigProperties matched: - @ConditionalOnMissingBean (types: com.alibaba.cloud.nacos.NacosConfigProperties; SearchStrategy: all) did not find any beans (OnBeanCondition) PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer matched: - @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) did not find any beans (OnBeanCondition) Negative matches: ----------------- EncryptionBootstrapConfiguration.RsaEncryptionConfiguration: Did not match: - Keystore nor key found in Environment (EncryptionBootstrapConfiguration.KeyCondition) Matched: - @ConditionalOnClass found required class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition) EncryptionBootstrapConfiguration.VanillaEncryptionConfiguration: Did not match: - @ConditionalOnMissingClass found unwanted class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition) NacosConfigBootstrapConfiguration#smartConfigurationPropertiesRebinder: Did not match: - @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder; SearchStrategy: current) found beans of type 'org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder' configurationPropertiesRebinder (OnBeanCondition) NacosDiscoveryClientConfigServiceBootstrapConfiguration: Did not match: - @ConditionalOnClass did not find required class 'org.springframework.cloud.config.client.ConfigServicePropertySourceLocator' (OnClassCondition) Exclusions: ----------- None Unconditional classes: ---------------------- None . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.11) 2025-06-10 23:03:36.949 INFO 49132 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to get current node abilities... 2025-06-10 23:03:36.950 INFO 49132 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Ready to initialize current node abilities, support modes: [SDK_CLIENT] 2025-06-10 23:03:36.951 INFO 49132 --- [ main] c.a.n.c.a.AbstractAbilityControlManager : Initialize current abilities finish... 2025-06-10 23:03:36.951 INFO 49132 --- [ main] c.a.n.c.a.d.NacosAbilityManagerHolder : [AbilityControlManager] Successfully initialize AbilityControlManager 2025-06-10 23:03:37.148 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loading from YAML: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:03:37.150 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Merging document (no matchers set): {spring={mvc={pathmatch={matching-strategy=ANT_PATH_MATCHER}}, http={multipart={enabled=true, max-file-size=-1, max-request-size=-1}}, datasource={dynamic={primary=tri, strict=false, datasource={tri={driver-class-name=com.mysql.jdbc.Driver, url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, username=e_sdiri, password=uHF4CiXAMR5pe3AL, type=com.zaxxer.hikari.HikariDataSource, hikari={maximum-pool-size=40, minimum-idle=1, idle-timeout=30000, connection-timeout=30000, max-lifetime=1800000, pool-name=MyAppPool}}}}}}, tri={activityServerUrl=http://172.16.50.140:30913, activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, standardServerUrl=http://10.135.139.99:30753, yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, llmServerUrl=http://10.218.27.125:30871, llmModelName=Qwen2.5-32B-Instruct}, logging={config=classpath:logback-spring.xml}, feign={httpclient={max-connections-per-route=200, max-connections=1000}, circuitbreaker={enabled=true}, client={config={default={connect-timeout=300000, read-timeout=300000}}}}, server={port=31963, servlet={context-path=/act}}, login={skipUrls=[/user/login, /user/getLoginCode, /user/register, /task/logWebsocket, /server/**/api/chat, /wsApiChat, /server/serverDesc/**, /server/openServerList, /server/aiCloudPhone/**, /open/jiKe/**, /**/*.html, /**/*.js, /**/*.css, /**/*.icon, /**/*.gif, /**/*.jpg, /**/*.png, /chat/**, /swagger-resources/**, /v2/]}} 2025-06-10 23:03:37.150 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loaded 1 document from YAML resource: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:03:37.177 WARN 49132 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service] & group[DEFAULT_GROUP] 2025-06-10 23:03:37.183 WARN 49132 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[redisson-service.yml] & group[DEFAULT_GROUP] 2025-06-10 23:03:37.253 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loading from YAML: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:03:37.261 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Merging document (no matchers set): {spring={mvc={pathmatch={matching-strategy=ANT_PATH_MATCHER}}, http={multipart={enabled=true, max-file-size=-1, max-request-size=-1}}, datasource={dynamic={primary=tri, strict=false, datasource={tri={driver-class-name=com.mysql.jdbc.Driver, url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, username=e_sdiri, password=uHF4CiXAMR5pe3AL, type=com.zaxxer.hikari.HikariDataSource, hikari={maximum-pool-size=40, minimum-idle=1, idle-timeout=30000, connection-timeout=30000, max-lifetime=1800000, pool-name=MyAppPool}}}}}}, tri={activityServerUrl=http://172.16.50.140:30913, activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, standardServerUrl=http://10.135.139.99:30753, yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, llmServerUrl=http://10.218.27.125:30871, llmModelName=Qwen2.5-32B-Instruct}, logging={config=classpath:logback-spring.xml}, feign={httpclient={max-connections-per-route=200, max-connections=1000}, circuitbreaker={enabled=true}, client={config={default={connect-timeout=300000, read-timeout=300000}}}}, server={port=31963, servlet={context-path=/act}}, login={skipUrls=[/user/login, /user/getLoginCode, /user/register, /task/logWebsocket, /server/**/api/chat, /wsApiChat, /server/serverDesc/**, /server/openServerList, /server/aiCloudPhone/**, /open/jiKe/**, /**/*.html, /**/*.js, /**/*.css, /**/*.icon, /**/*.gif, /**/*.jpg, /**/*.png, /chat/**, /swagger-resources/**, /v2/]}} 2025-06-10 23:03:37.261 DEBUG 49132 --- [ main] o.s.boot.env.OriginTrackedYamlLoader : Loaded 1 document from YAML resource: Byte array resource [redisson-service-prod.yml] 2025-06-10 23:03:37.262 INFO 49132 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource@58791184 {name='bootstrapProperties-redisson-service-prod.yml,DEFAULT_GROUP', properties={spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER, spring.http.multipart.enabled=true, spring.http.multipart.max-file-size=-1, spring.http.multipart.max-request-size=-1, spring.datasource.dynamic.primary=tri, spring.datasource.dynamic.strict=false, spring.datasource.dynamic.datasource.tri.driver-class-name=com.mysql.jdbc.Driver, spring.datasource.dynamic.datasource.tri.url=jdbc:mysql://172.16.50.128:8921/sdiri_db?useSSL=false&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai, spring.datasource.dynamic.datasource.tri.username=e_sdiri, spring.datasource.dynamic.datasource.tri.password=uHF4CiXAMR5pe3AL, spring.datasource.dynamic.datasource.tri.type=com.zaxxer.hikari.HikariDataSource, spring.datasource.dynamic.datasource.tri.hikari.maximum-pool-size=40, spring.datasource.dynamic.datasource.tri.hikari.minimum-idle=1, spring.datasource.dynamic.datasource.tri.hikari.idle-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.connection-timeout=30000, spring.datasource.dynamic.datasource.tri.hikari.max-lifetime=1800000, spring.datasource.dynamic.datasource.tri.hikari.pool-name=MyAppPool, tri.activityServerUrl=http://172.16.50.140:30913, tri.activityEditUrl=http://172.16.50.140:30913/bloc-web/#/activity/edit/index/, tri.AIGCGenerateImgServerUrl=http://172.16.20.29:30804/sd-api, tri.standardServerUrl=http://10.135.139.99:30753, tri.yunXiActivityDescUrl=/anlikuHtml/caselibrary.html#/caseIndexSSO, tri.llmServerUrl=http://10.218.27.125:30871, tri.llmModelName=Qwen2.5-32B-Instruct, logging.config=classpath:logback-spring.xml, feign.httpclient.max-connections-per-route=200, feign.httpclient.max-connections=1000, feign.circuitbreaker.enabled=true, feign.client.config.default.connect-timeout=300000, feign.client.config.default.read-timeout=300000, server.port=31963, server.servlet.context-path=/act, login.skipUrls[0]=/user/login, login.skipUrls[1]=/user/getLoginCode, login.skipUrls[2]=/user/register, login.skipUrls[3]=/task/logWebsocket, login.skipUrls[4]=/server/**/api/chat, login.skipUrls[5]=/wsApiChat, login.skipUrls[6]=/server/serverDesc/**, login.skipUrls[7]=/server/openServerList, login.skipUrls[8]=/server/aiCloudPhone/**, login.skipUrls[9]=/open/jiKe/**, login.skipUrls[10]=/**/*.html, login.skipUrls[11]=/**/*.js, login.skipUrls[12]=/**/*.css, login.skipUrls[13]=/**/*.icon, login.skipUrls[14]=/**/*.gif, login.skipUrls[15]=/**/*.jpg, login.skipUrls[16]=/**/*.png, login.skipUrls[17]=/chat/**, login.skipUrls[18]=/swagger-resources/**, login.skipUrls[19]=/v2/}}, BootstrapPropertySource@619621481 {name='bootstrapProperties-redisson-service.yml,DEFAULT_GROUP', properties={}}, BootstrapPropertySource@408132785 {name='bootstrapProperties-redisson-service,DEFAULT_GROUP', properties={}}] _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.4.1 项目启动卡到这里不动了怎么解决?

src\main\resources\bootstrap.yml 文件中有以下配置,已知src\main\resources\logback-spring.xml这个文件是有的。 logging: config: classpath:logback-spring.xml 项目启动报错如下,什么原因导致的?怎么解决? D:\UseApp\jdk1.8.0_101\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61252,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:D:\UseApp\ideaIU-2020.1.1\plugins\java\lib\rt\debugger-agent.jar=file:/C:/Users/LEGION/AppData/Local/Temp/capture9.props -Dfile.encoding=UTF-8 -classpath C:\Users\LEGION\AppData\Local\Temp\classpath840501587.jar com.bonc.activityGenerate.ActivityGenerateApplication Connected to the target VM, address: '127.0.0.1:61252', transport: 'socket' Logging system failed to initialize using configuration from 'classpath:logback-spring.xml' java.io.FileNotFoundException: class path resource [logback-spring.xml] cannot be resolved to URL because it does not exist at org.springframework.util.ResourceUtils.getURL(ResourceUtils.java:137) at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:165) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:132) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:332) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:246) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:223) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:195) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:114) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:77) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) at com.bonc.activityGenerate.ActivityGenerateApplication.main(ActivityGenerateApplication.java:40) java.lang.IllegalStateException: java.lang.IllegalStateException: Could not initialize Logback logging from classpath:logback-spring.xml at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:344) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:246) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:223) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:195) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:114) at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:77) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:85) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:66) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:65) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:301) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) at com.bonc.activityGenerate.ActivityGenerateApplication.main(ActivityGenerateApplication.java:40) Caused by: java.lang.IllegalStateException: Could not initialize Logback logging from classpath:logback-spring.xml at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:168) at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:132) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:332) ... 34 more Caused by: java.io.FileNotFoundException: class path resource [logback-spring.xml] cannot be resolved to URL because it does not exist at org.springframework.util.ResourceUtils.getURL(ResourceUtils.java:137) at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:165) ... 38 more Disconnected from the target VM, address: '127.0.0.1:61252', transport: 'socket' Process finished with exit code 0

"C:\Program Files\Java\jdk-11\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:8833,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -javaagent:C:\Users\zwcddn\AppData\Local\JetBrains\IntelliJIdea2024.2\captureAgent\debugger-agent.jar=file:/C:/Users/zwcddn/AppData/Local/Temp/capture.props -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dfile.encoding=UTF-8 -classpath "E:\IdeaProjects\vertical-server\zwly-manage-admin\target\classes;E:\tools\maven\repository\org\springframework\boot\spring-boot-devtools\2.5.15\spring-boot-devtools-2.5.15.jar;E:\tools\maven\repository\org\springframework\boot\spring-boot\2.5.15\spring-boot-2.5.15.jar;E:\tools\maven\repository\org\springframework\spring-core\5.3.33\spring-core-5.3.33.jar;E:\tools\maven\repository\org\springframework\spring-jcl\5.3.33\spring-jcl-5.3.33.jar;E:\tools\maven\repository\org\springframework\spring-context\5.3.33\spring-context-5.3.33.jar;E:\tools\maven\repository\org\springframework\spring-beans\5.3.33\spring-beans-5.3.33.jar;E:\tools\maven\repository\org\springframework\spring-expression\5.3.33\spring-expression-5.3.33.jar;E:\tools\maven\repository\org\springframework\boot\spring-boot-autoconfigure\2.5.15\spring-boot-autoconfigure-2.5.15.jar;E:\tools\maven\repository\org\apache\poi\poi-ooxml\5.2.3\poi-ooxml-5.2.3.jar;E:\tools\maven\repository\org\apache\poi\poi\5.2.3\poi-5.2.3.jar;E:\tools\maven\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;E:\tools\maven\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;E:\tools\maven\repository\com\zaxxer\SparseBitSet\1.2\SparseBitSet-1.2.jar;E:\tools\maven\repository\org\apache\poi\poi-ooxml-lite\5.2.3\poi-ooxml-lite-5.2.3.jar;E:\tools\maven

"C:\Program Files\Java\jdk1.8.0_144\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:55261,suspend=y,server=n -agentpath:C:\Users\Administrator\AppData\Local\Temp\idea_libasyncProfiler_dll_temp_folder33251\libasyncProfiler.dll=version,jfr,event=wall,interval=10ms,cstack=no,file=C:\Users\Administrator\IdeaSnapshots\Sample_2025_04_01_152041.jfr,dbghelppath=C:\Users\Administrator\AppData\Local\Temp\idea_dbghelp_dll_temp_folder81873\dbghelp.dll,log=C:\Users\Administrator\AppData\Local\Temp\Sample_2025_04_01_152041.jfr.log.txt,logLevel=DEBUG -javaagent:C:\Users\Administrator\AppData\Local\JetBrains\IntelliJIdea2024.3\captureAgent\debugger-agent.jar -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dkotlinx.coroutines.debug.enable.flows.stack.trace=true -Dkotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_144\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_144\jre\lib\jfxswt.jar;C:\Program Files\Java\

最新推荐

recommend-type

2014年直流电压电流采样仪生产方案:电路板、BOM单、STM单片机程序及应用 核心版

2014年设计的一款直流电压电流采样仪的整套产品生产方案。该产品已量产1000余套,适用于电力、电子、通信等领域。文中涵盖了硬件和软件两大部分的内容。硬件方面,包括电路板设计、BOM单、外围器件清单以及外壳设计;软件方面,则涉及STM单片机程序和配套的上位机电脑软件。该采样仪的最大测量范围为1000V/100A,具备高精度、高稳定性的特点,能记录并存储8组电压电流数据,并带有触发模式用于实时监测和故障诊断。 适合人群:从事电力、电子、通信领域的工程师和技术人员,尤其是对直流电压电流采样仪有需求的研发人员。 使用场景及目标:①帮助工程师和技术人员了解直流电压电流采样仪的整体设计方案;②提供详细的硬件和软件资料,便于实际生产和应用;③适用于需要高精度、高稳定性的电压电流测量场合。 其他说明:该产品已经成功量产并获得市场好评,文中提供的方案对于相关领域的项目开发具有重要参考价值。
recommend-type

springboot基于安卓的旅游景点导览APP的设计与实现论文

springboot旅游景点导览APP的设计与实现
recommend-type

Python程序TXLWizard生成TXL文件及转换工具介绍

### 知识点详细说明: #### 1. 图形旋转与TXL向导 图形旋转是图形学领域的一个基本操作,用于改变图形的方向。在本上下文中,TXL向导(TXLWizard)是由Esteban Marin编写的Python程序,它实现了特定的图形旋转功能,主要用于电子束光刻掩模的生成。光刻掩模是半导体制造过程中非常关键的一个环节,它确定了在硅片上沉积材料的精确位置。TXL向导通过生成特定格式的TXL文件来辅助这一过程。 #### 2. TXL文件格式与用途 TXL文件格式是一种基于文本的文件格式,它设计得易于使用,并且可以通过各种脚本语言如Python和Matlab生成。这种格式通常用于电子束光刻中,因为它的文本形式使得它可以通过编程快速创建复杂的掩模设计。TXL文件格式支持引用对象和复制对象数组(如SREF和AREF),这些特性可以用于优化电子束光刻设备的性能。 #### 3. TXLWizard的特性与优势 - **结构化的Python脚本:** TXLWizard 使用结构良好的脚本来创建遮罩,这有助于开发者创建清晰、易于维护的代码。 - **灵活的Python脚本:** 作为Python程序,TXLWizard 可以利用Python语言的灵活性和强大的库集合来编写复杂的掩模生成逻辑。 - **可读性和可重用性:** 生成的掩码代码易于阅读,开发者可以轻松地重用和修改以适应不同的需求。 - **自动标签生成:** TXLWizard 还包括自动为图形对象生成标签的功能,这在管理复杂图形时非常有用。 #### 4. TXL转换器的功能 - **查看.TXL文件:** TXL转换器(TXLConverter)允许用户将TXL文件转换成HTML或SVG格式,这样用户就可以使用任何现代浏览器或矢量图形应用程序来查看文件。 - **缩放和平移:** 转换后的文件支持缩放和平移功能,这使得用户在图形界面中更容易查看细节和整体结构。 - **快速转换:** TXL转换器还提供快速的文件转换功能,以实现有效的蒙版开发工作流程。 #### 5. 应用场景与技术参考 TXLWizard的应用场景主要集中在电子束光刻技术中,特别是用于设计和制作半导体器件时所需的掩模。TXLWizard作为一个向导,不仅提供了生成TXL文件的基础框架,还提供了一种方式来优化掩模设计,提高光刻过程的效率和精度。对于需要进行光刻掩模设计的工程师和研究人员来说,TXLWizard提供了一种有效的方法来实现他们的设计目标。 #### 6. 系统开源特性 标签“系统开源”表明TXLWizard遵循开放源代码的原则,这意味着源代码对所有人开放,允许用户自由地查看、修改和分发软件。开源项目通常拥有活跃的社区,社区成员可以合作改进软件,添加新功能,或帮助解决遇到的问题。这种开放性促进了技术创新,并允许用户根据自己的需求定制软件。 #### 7. 压缩包子文件的文件名称列表 文件名称列表中的“txlwizard-master”可能指的是TXLWizard项目的主版本库或主分支。这个名称表明了这是项目源代码的中心点,其他开发者会从这个主分支拉取代码进行合作开发或部署。以“-master”结尾通常是版本控制系统中表示主要开发线路的常见约定,例如Git中的master(现在更常被称为main)分支。 通过这些知识点的详细解释,我们可以看到TXLWizard不仅是一个用于生成TXL文件的工具,它还整合了一系列的功能,使得电子束光刻掩模的设计工作更为高效和直观。同时,作为一个开源项目,它能够借助社区的力量不断进步,为用户带来更多的便利和创新。
recommend-type

【创新图生成:扣子平台的技术前沿与创新思维】:引领图像生成技术的新潮流

# 1. 扣子平台的图像生成技术概述 在当今数字化时代,图像生成技术正成为推动技术创新和社会变革的关键力量。扣子平台正是这一技术革新的代表。本章将对扣子平台的图像生成技术进行一个全面概述,探究它如何将理论技术转化为实际应用,并带来显著的社会影响。 扣子平台运用了先进的图像生成技术,将现实世界和数字空间无缝融合,打造了沉浸式的视觉体验。其技术的核心是通过高度复杂的算法模型,快速生成高质
recommend-type

海康威视机器视觉工程师考核

<think>好的,我现在需要帮助用户了解海康威视机器视觉工程师的考核内容和要求。根据用户提供的引用资料,特别是引用[1]和[2],里面提到了考核素材包分为初级和中级,涵盖理论、算法、应用案例等。首先,我要整理这些信息,确保结构清晰,符合用户要求的格式。 接下来,我需要确认素材包的具体内容,比如初级和中级的不同点。引用[2]提到初级包含基础理论、算法实现和实际案例,中级则增加复杂算法和项目分析。这部分需要分点说明,方便用户理解层次。 另外,用户可能想知道如何准备考核,比如下载素材、学习顺序、模拟考核等,引用[2]中有使用说明和注意事项,这部分也要涵盖进去。同时要注意提醒用户考核窗口已关闭,
recommend-type

Linux环境下Docker Hub公共容器映像检测工具集

在给出的知识点中,我们需要详细解释有关Docker Hub、公共容器映像、容器编排器以及如何与这些工具交互的详细信息。同时,我们会涵盖Linux系统下的相关操作和工具使用,以及如何在ECS和Kubernetes等容器编排工具中运用这些检测工具。 ### Docker Hub 和公共容器映像 Docker Hub是Docker公司提供的一项服务,它允许用户存储、管理以及分享Docker镜像。Docker镜像可以视为应用程序或服务的“快照”,包含了运行特定软件所需的所有必要文件和配置。公共容器映像指的是那些被标记为公开可见的Docker镜像,任何用户都可以拉取并使用这些镜像。 ### 静态和动态标识工具 静态和动态标识工具在Docker Hub上用于识别和分析公共容器映像。静态标识通常指的是在不运行镜像的情况下分析镜像的元数据和内容,例如检查Dockerfile中的指令、环境变量、端口映射等。动态标识则需要在容器运行时对容器的行为和性能进行监控和分析,如资源使用率、网络通信等。 ### 容器编排器与Docker映像 容器编排器是用于自动化容器部署、管理和扩展的工具。在Docker环境中,容器编排器能够自动化地启动、停止以及管理容器的生命周期。常见的容器编排器包括ECS和Kubernetes。 - **ECS (Elastic Container Service)**:是由亚马逊提供的容器编排服务,支持Docker容器,并提供了一种简单的方式来运行、停止以及管理容器化应用程序。 - **Kubernetes**:是一个开源平台,用于自动化容器化应用程序的部署、扩展和操作。它已经成为容器编排领域的事实标准。 ### 如何使用静态和动态标识工具 要使用这些静态和动态标识工具,首先需要获取并安装它们。从给定信息中了解到,可以通过克隆仓库或下载压缩包并解压到本地系统中。之后,根据需要针对不同的容器编排环境(如Dockerfile、ECS、Kubernetes)编写配置,以集成和使用这些检测工具。 ### Dockerfile中的工具使用 在Dockerfile中使用工具意味着将检测工具的指令嵌入到构建过程中。这可能包括安装检测工具的命令、运行容器扫描的步骤,以及将扫描结果集成到镜像构建流程中,确保只有通过安全和合规检查的容器镜像才能被构建和部署。 ### ECS与Kubernetes中的工具集成 在ECS或Kubernetes环境中,工具的集成可能涉及到创建特定的配置文件、定义服务和部署策略,以及编写脚本或控制器来自动执行检测任务。这样可以在容器编排的过程中实现实时监控,确保容器编排器只使用符合预期的、安全的容器镜像。 ### Linux系统下的操作 在Linux系统下操作这些工具,用户可能需要具备一定的系统管理和配置能力。这包括使用Linux命令行工具、管理文件系统权限、配置网络以及安装和配置软件包等。 ### 总结 综上所述,Docker Hub上的静态和动态标识工具提供了一种方法来检测和分析公共容器映像,确保这些镜像的安全性和可靠性。这些工具在Linux开发环境中尤为重要,因为它们帮助开发人员和运维人员确保他们的容器映像满足安全要求。通过在Dockerfile、ECS和Kubernetes中正确使用这些工具,可以提高应用程序的安全性,减少由于使用不安全的容器镜像带来的风险。此外,掌握Linux系统下的操作技能,可以更好地管理和维护这些工具,确保它们能够有效地发挥作用。
recommend-type

【扣子平台图像艺术探究:理论与实践的完美结合】:深入学习图像生成的艺术

# 1. 图像艺术的理论基础 艺术领域的每一个流派和技巧都有其理论基础。在图像艺术中,理论基础不仅是对艺术表现形式的认知,也是掌握艺术创作内在逻辑的关键。深入理解图像艺术的理论基础,能够帮助艺术家们在创作过程中更加明确地表达自己的艺术意图,以及更好地与观众沟通。 图像艺术的理论
recommend-type

增广路定理的证明

<think>嗯,用户想查找增广路定理的证明,关于图论和网络流算法的。我得先理解增广路定理是什么,然后找到相关的证明方法。根据之前的引用,尤其是引用5提到最大流最小割定理,里面有三个等价条件,其中第二个是残余网络中没有增广路径时,流就是最大流。这可能和增广路定理相关,也就是当残余网络中没有增广路时,当前流就是最大流,这可能就是增广路定理的内容。 首先,我需要明确增广路定理的陈述。根据引用5,增广路定理可能指的是:一个流是最大流当且仅当残余网络中不存在增广路径。这个定理的证明需要用到最大流最小割定理,也就是第三个条件,即最大流的流量等于最小割的容量。 证明的步骤可能需要分为两个方向:必要性(
recommend-type

Pulse:基于SwiftUI的Apple平台高效日志记录与网络监控

从给定文件信息中,我们可以提取出以下IT知识点进行详细阐述: **Pulse概览:** Pulse是一个专门针对Apple平台(如iOS、iPadOS、macOS等)的功能强大的日志记录系统。其设计目的是为了简化开发者在这些平台上调试网络请求和应用日志的过程。Pulse的核心特色是它使用SwiftUI来构建,这有助于开发者利用现代Swift语言的声明式UI优势来快速开发和维护。 **SwiftUI框架:** SwiftUI是一种声明式框架,由苹果公司推出,用于构建用户界面。与传统的UIKit相比,SwiftUI使用更加简洁的代码来描述界面和界面元素,它允许开发者以声明的方式定义视图和界面布局。SwiftUI支持跨平台,这意味着同一套代码可以在不同的Apple设备上运行,大大提高了开发效率和复用性。Pulse选择使用SwiftUI构建,显示了其对现代化、高效率开发的支持。 **Network Inspector功能:** Pulse具备Network Inspector功能,这个功能使得开发者能够在开发iOS应用时,直接从应用内记录和检查网络请求和日志。这种内嵌式的网络诊断能力非常有助于快速定位网络请求中的问题,如不正确的URL、不返回预期响应等。与传统的需要外部工具来抓包和分析的方式相比,这样的内嵌式工具大大减少了调试的复杂性。 **日志记录和隐私保护:** Pulse强调日志是本地记录的,并保证不会离开设备。这种做法对隐私保护至关重要,尤其是考虑到当前数据保护法规如GDPR等的严格要求。因此,Pulse的设计在帮助开发者进行问题诊断的同时,也确保了用户数据的安全性。 **集成和框架支持:** Pulse不仅仅是一个工具,它更是一个框架。它能够记录来自URLSession的事件,这意味着它可以与任何使用URLSession进行网络通信的应用或框架配合使用,包括但不限于Apple官方的网络库。此外,Pulse与使用它的框架(例如Alamofire)也能够良好配合,Alamofire是一个流行的网络请求库,广泛应用于Swift开发中。Pulse提供了一个PulseUI视图组件,开发者可以将其集成到自己的应用中,从而展示网络请求和其他事件。 **跨平台体验:** 开发者不仅可以在iOS应用中使用Pulse Console记录日志,还可以在macOS上通过Pulse应用程序查看和共享这些日志。这种跨平台的能力意味着开发者可以在不同的设备上进行日志分析,增强了开发和调试的灵活性。 **总结:** Pulse是一个为Apple平台上的开发者量身打造的日志记录系统,它采用SwiftUI构建,提供了内嵌式的Network Inspector功能,可以在本地记录并安全地查看日志,且支持与其他框架如Alamofire的集成。它不仅提升了调试的便捷性和效率,同时也顾及到了用户的隐私保护。Pulse的跨平台查看能力也是其一大亮点,使得开发者能够在一个统一的环境中处理iOS和macOS上的日志数据。对于使用Swift开发Apple应用的开发者而言,Pulse无疑是一个强大的调试辅助工具。
recommend-type

【深入扣子平台:图像生成机制全揭秘】:掌握背后技术,提升图像生成效率

# 1. 图像生成技术概述 图像生成技术是一门融合了计算机视觉、机器学习、图形学等多个领域知识的前沿技术。它通过算法模拟生成人工图像,广泛应用于艺术创作、游戏设计、医学影像等领域。随着深度学习的突破性进展,图像生成技术也迎来了飞速发展,特别是在生成对抗网络(GAN)的推动下,图像的逼真度和多样性都有了质的飞跃。 本章将对图像生成技术的概念、发展历史进行简要介绍,并分析其在社会中的