修复配置文件中引号格式并禁用微信自动配置
Some checks failed
aagro-ui-admin CI / build (14.x) (push) Has been cancelled
aagro-ui-admin CI / build (16.x) (push) Has been cancelled
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled

This commit is contained in:
2025-10-04 18:25:38 +08:00
parent 593dfe9cf8
commit f8822370ff
2 changed files with 274 additions and 2 deletions

View File

@@ -0,0 +1,261 @@
2025-10-04 18:21:33.850 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.5.Final
2025-10-04 18:21:33.858 [main] INFO cn.aagro.pp.server.AagroServerApplication:55 - Starting AagroServerApplication using Java 25 on aiotagrodeMacBook-Pro.local with PID 93999 (/Users/aiotagro/vue/aiotagro/aagro-server/target/classes started by aiotagro in /Users/aiotagro/vue/aiotagro/aagro-server)
2025-10-04 18:21:33.859 [main] INFO cn.aagro.pp.server.AagroServerApplication:638 - The following 1 profile is active: "remote"
2025-10-04 18:21:34.449 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:141 - MPJ SqlSessionFactory bean definition: sqlSessionFactory factoryBeanName: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration factoryMethodName: sqlSessionFactory source: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.sqlSessionFactory(javax.sql.DataSource)
2025-10-04 18:21:34.562 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration' of type [com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration$$EnhancerBySpringCGLIB$$62cbc1d4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.567 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'mzt.log.record-com.mzt.logapi.starter.configuration.LogRecordProperties' of type [com.mzt.logapi.starter.configuration.LogRecordProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.579 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'logRecordPerformanceMonitor' of type [com.mzt.logapi.service.impl.DefaultLogRecordPerformanceMonitor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.666 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration' of type [cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.668 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'dataPermissionAnnotationAdvisor' of type [cn.aagro.pp.framework.datapermission.core.aop.DataPermissionAnnotationAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.678 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration' of type [cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:21:34.820 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 48080 (http)
2025-10-04 18:21:34.824 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-48080"]
2025-10-04 18:21:34.825 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2025-10-04 18:21:34.825 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.83]
2025-10-04 18:21:34.885 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2025-10-04 18:21:34.885 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:292 - Root WebApplicationContext: initialization completed in 1008 ms
2025-10-04 18:21:35.394 [main] INFO com.alibaba.druid.pool.DruidDataSource:865 - {dataSource-1,master} inited
2025-10-04 18:21:35.396 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [slave] success
2025-10-04 18:21:35.396 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [master] success
2025-10-04 18:21:35.396 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:241 - dynamic-datasource initial loaded [2] datasource,primary datasource named [master]
2025-10-04 18:21:36.450 [main] INFO org.redisson.Version:43 - Redisson 3.51.0
2025-10-04 18:21:36.519 [main] WARN i.n.resolver.dns.DnsServerAddressStreamProviders:70 - Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'
2025-10-04 18:21:36.704 [redisson-netty-1-6] INFO org.redisson.connection.ConnectionsHolder:132 - 1 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:21:38.046 [redisson-netty-1-19] INFO org.redisson.connection.ConnectionsHolder:132 - 24 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:21:38.628 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:599 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminAuthServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialUserServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialClientServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
2025-10-04 18:21:38.634 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:215 - dynamic-datasource start closing ....
2025-10-04 18:21:38.635 [main] INFO com.alibaba.druid.pool.DruidDataSource:2083 - {dataSource-0} closing ...
2025-10-04 18:21:38.635 [main] INFO c.b.d.d.destroyer.DefaultDataSourceDestroyer:98 - dynamic-datasource close the datasource named [slave] success,
2025-10-04 18:21:38.635 [main] INFO com.alibaba.druid.pool.DruidDataSource:2083 - {dataSource-1} closing ...
2025-10-04 18:21:38.637 [main] INFO com.alibaba.druid.pool.DruidDataSource:2156 - {dataSource-1} closed
2025-10-04 18:21:38.637 [main] INFO c.b.d.d.destroyer.DefaultDataSourceDestroyer:98 - dynamic-datasource close the datasource named [master] success,
2025-10-04 18:21:38.637 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:219 - dynamic-datasource all closed success,bye
2025-10-04 18:21:38.638 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat]
2025-10-04 18:21:38.649 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-10-04 18:21:38.656 [main] ERROR org.springframework.boot.SpringApplication:818 - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminAuthServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialUserServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialClientServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289)
at cn.aagro.pp.server.AagroServerApplication.main(AagroServerApplication.java:24)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminAuthServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialUserServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialClientServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:548)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:524)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:677)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
... 17 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialUserServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialClientServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:548)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:524)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:677)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
... 33 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socialClientServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:548)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:524)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:677)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
... 49 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wxMpService' defined in class path resource [com/binarywang/spring/starter/wxjava/mp/config/WxMpServiceAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:646)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:626)
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:336)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeanByName(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:554)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:524)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:677)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
... 65 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.chanjar.weixin.mp.api.WxMpService]: Factory method 'wxMpService' threw exception; nested exception is me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:641)
... 81 common frames omitted
Caused by: me.chanjar.weixin.common.error.WxRuntimeException: appid不能设置为null
at me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl.setWxMpConfigStorage(BaseWxMpServiceImpl.java:537)
at com.binarywang.spring.starter.wxjava.mp.config.WxMpServiceAutoConfiguration.wxMpService(WxMpServiceAutoConfiguration.java:43)
at com.binarywang.spring.starter.wxjava.mp.config.WxMpServiceAutoConfiguration$$EnhancerBySpringCGLIB$$3dc65900.CGLIB$wxMpService$0(<generated>)
at com.binarywang.spring.starter.wxjava.mp.config.WxMpServiceAutoConfiguration$$EnhancerBySpringCGLIB$$3dc65900$$FastClassBySpringCGLIB$$3c7c29a2.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at com.binarywang.spring.starter.wxjava.mp.config.WxMpServiceAutoConfiguration$$EnhancerBySpringCGLIB$$3dc65900.wxMpService(<generated>)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 82 common frames omitted
2025-10-04 18:22:59.710 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.5.Final
2025-10-04 18:22:59.717 [main] INFO cn.aagro.pp.server.AagroServerApplication:55 - Starting AagroServerApplication using Java 25 on aiotagrodeMacBook-Pro.local with PID 94511 (/Users/aiotagro/vue/aiotagro/aagro-server/target/classes started by aiotagro in /Users/aiotagro/vue/aiotagro/aagro-server)
2025-10-04 18:22:59.718 [main] INFO cn.aagro.pp.server.AagroServerApplication:638 - The following 1 profile is active: "remote"
2025-10-04 18:23:00.391 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:141 - MPJ SqlSessionFactory bean definition: sqlSessionFactory factoryBeanName: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration factoryMethodName: sqlSessionFactory source: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.sqlSessionFactory(javax.sql.DataSource)
2025-10-04 18:23:00.526 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration' of type [com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration$$EnhancerBySpringCGLIB$$d39c9aaa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.531 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'mzt.log.record-com.mzt.logapi.starter.configuration.LogRecordProperties' of type [com.mzt.logapi.starter.configuration.LogRecordProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.536 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'logRecordPerformanceMonitor' of type [com.mzt.logapi.service.impl.DefaultLogRecordPerformanceMonitor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.638 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration' of type [cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.640 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'dataPermissionAnnotationAdvisor' of type [cn.aagro.pp.framework.datapermission.core.aop.DataPermissionAnnotationAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.650 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration' of type [cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:23:00.798 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 48080 (http)
2025-10-04 18:23:00.801 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-48080"]
2025-10-04 18:23:00.802 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2025-10-04 18:23:00.802 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.83]
2025-10-04 18:23:00.857 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2025-10-04 18:23:00.857 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:292 - Root WebApplicationContext: initialization completed in 1122 ms
2025-10-04 18:23:01.423 [main] INFO com.alibaba.druid.pool.DruidDataSource:865 - {dataSource-1,master} inited
2025-10-04 18:23:01.426 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [slave] success
2025-10-04 18:23:01.427 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [master] success
2025-10-04 18:23:01.427 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:241 - dynamic-datasource initial loaded [2] datasource,primary datasource named [master]
2025-10-04 18:23:02.477 [main] INFO org.redisson.Version:43 - Redisson 3.51.0
2025-10-04 18:23:02.541 [main] WARN i.n.resolver.dns.DnsServerAddressStreamProviders:70 - Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'
2025-10-04 18:23:02.717 [redisson-netty-1-6] INFO org.redisson.connection.ConnectionsHolder:132 - 1 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:23:04.064 [redisson-netty-1-19] INFO org.redisson.connection.ConnectionsHolder:132 - 24 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:23:04.771 [main] INFO c.a.c.config.AjCaptchaServiceAutoConfiguration:33 - 自定义配置项:
AjCaptchaProperties{type=BLOCKPUZZLE, jigsaw='classpath:images/jigsaw', picClick='classpath:images/pic-click', waterMark='芋道源码', waterFont='WenQuanZhengHei.ttf', fontType='WenQuanZhengHei.ttf', slipOffset='5', aesStatus=true, interferenceOptions='0', cacheNumber='1000', timingClear='180', cacheType=redis, reqFrequencyLimitEnable=false, reqGetLockLimit=5, reqGetLockSeconds=10, reqGetMinuteLimit=30, reqCheckMinuteLimit=60, reqVerifyMinuteLimit=60}
2025-10-04 18:23:04.779 [main] INFO com.anji.captcha.util.ImageUtils:71 - 自定义resource底图:[SLIDING_BLOCK=[Ljava.lang.String;@3e3a7482, ORIGINAL=[Ljava.lang.String;@61cbd0c0, PIC_CLICK=[Ljava.lang.String;@613d4fa6]
2025-10-04 18:23:04.779 [main] INFO c.anji.captcha.service.impl.CaptchaServiceFactory:52 - supported-captchaCache-service:[redis, local]
2025-10-04 18:23:04.782 [main] INFO c.anji.captcha.service.impl.CaptchaServiceFactory:57 - supported-captchaTypes-service:[clickWord, default, blockPuzzle, pictureWord]
2025-10-04 18:23:04.782 [main] INFO c.a.c.service.impl.BlockPuzzleCaptchaServiceImpl:80 - --->>>初始化验证码底图<<<---blockPuzzle
2025-10-04 18:23:05.715 [main] INFO c.a.p.f.quartz.config.AagroQuartzAutoConfiguration:23 - [定时任务 - 已禁用][参考 https://doc.iocoder.cn/job/ 开启]
2025-10-04 18:23:06.110 [main] INFO o.s.security.web.DefaultSecurityFilterChain:55 - Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4a8afff2, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1d4cf8ea, org.springframework.security.web.context.SecurityContextPersistenceFilter@6aa09c35, org.springframework.security.web.header.HeaderWriterFilter@ed37e52, org.springframework.web.filter.CorsFilter@4f8d98d4, org.springframework.security.web.authentication.logout.LogoutFilter@72c9576a, cn.aagro.pp.framework.security.core.filter.TokenAuthenticationFilter@17f216cc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@39088acb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@70dd4172, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2094869b, org.springframework.security.web.session.SessionManagementFilter@1492c9d, org.springframework.security.web.access.ExceptionTranslationFilter@44ee788f, org.springframework.security.web.access.intercept.AuthorizationFilter@705448e7]
2025-10-04 18:23:06.135 [main] INFO cn.aagro.pp.framework.dict.core.DictFrameworkUtils:44 - [init][初始化 DictFrameworkUtils 成功]
2025-10-04 18:23:06.350 [main] INFO c.b.m.e.spring.MybatisPlusApplicationContextAware:43 - Register ApplicationContext instances org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8
2025-10-04 18:23:06.355 [main] INFO com.fhs.common.spring.SpringContextUtil:38 - ------SpringContextUtil setApplicationContext-------
2025-10-04 18:23:06.578 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-48080"]
2025-10-04 18:23:06.581 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:599 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 48080 is already in use
2025-10-04 18:23:06.591 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:215 - dynamic-datasource start closing ....
2025-10-04 18:23:06.592 [main] INFO com.alibaba.druid.pool.DruidDataSource:2083 - {dataSource-0} closing ...
2025-10-04 18:23:06.592 [main] INFO c.b.d.d.destroyer.DefaultDataSourceDestroyer:98 - dynamic-datasource close the datasource named [slave] success,
2025-10-04 18:23:06.592 [main] INFO com.alibaba.druid.pool.DruidDataSource:2083 - {dataSource-1} closing ...
2025-10-04 18:23:06.595 [main] INFO com.alibaba.druid.pool.DruidDataSource:2156 - {dataSource-1} closed
2025-10-04 18:23:06.595 [main] INFO c.b.d.d.destroyer.DefaultDataSourceDestroyer:98 - dynamic-datasource close the datasource named [master] success,
2025-10-04 18:23:06.595 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:219 - dynamic-datasource all closed success,bye
2025-10-04 18:23:06.596 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Pausing ProtocolHandler ["http-nio-48080"]
2025-10-04 18:23:06.596 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat]
2025-10-04 18:23:06.603 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Stopping ProtocolHandler ["http-nio-48080"]
2025-10-04 18:23:06.603 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Destroying ProtocolHandler ["http-nio-48080"]
2025-10-04 18:23:06.607 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-10-04 18:23:06.614 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 48080 was already in use.
Action:
Identify and stop the process that's listening on port 48080 or configure this application to listen on another port.
2025-10-04 18:24:25.314 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.5.Final
2025-10-04 18:24:25.322 [main] INFO cn.aagro.pp.server.AagroServerApplication:55 - Starting AagroServerApplication using Java 25 on aiotagrodeMacBook-Pro.local with PID 95057 (/Users/aiotagro/vue/aiotagro/aagro-server/target/classes started by aiotagro in /Users/aiotagro/vue/aiotagro/aagro-server)
2025-10-04 18:24:25.322 [main] INFO cn.aagro.pp.server.AagroServerApplication:638 - The following 1 profile is active: "remote"
2025-10-04 18:24:25.885 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:141 - MPJ SqlSessionFactory bean definition: sqlSessionFactory factoryBeanName: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration factoryMethodName: sqlSessionFactory source: com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.sqlSessionFactory(javax.sql.DataSource)
2025-10-04 18:24:25.993 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration' of type [com.mzt.logapi.starter.configuration.LogRecordProxyAutoConfiguration$$EnhancerBySpringCGLIB$$8438b239] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:25.997 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'mzt.log.record-com.mzt.logapi.starter.configuration.LogRecordProperties' of type [com.mzt.logapi.starter.configuration.LogRecordProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:26.002 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'logRecordPerformanceMonitor' of type [com.mzt.logapi.service.impl.DefaultLogRecordPerformanceMonitor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:26.099 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration' of type [cn.aagro.pp.framework.datapermission.config.AagroDataPermissionAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:26.101 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'dataPermissionAnnotationAdvisor' of type [cn.aagro.pp.framework.datapermission.core.aop.DataPermissionAnnotationAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:26.113 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration' of type [cn.aagro.pp.framework.quartz.config.AagroAsyncAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2025-10-04 18:24:26.248 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 48080 (http)
2025-10-04 18:24:26.252 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-48080"]
2025-10-04 18:24:26.252 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2025-10-04 18:24:26.252 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.83]
2025-10-04 18:24:26.310 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2025-10-04 18:24:26.310 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:292 - Root WebApplicationContext: initialization completed in 971 ms
2025-10-04 18:24:26.788 [main] INFO com.alibaba.druid.pool.DruidDataSource:865 - {dataSource-1,master} inited
2025-10-04 18:24:26.791 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [slave] success
2025-10-04 18:24:26.791 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:158 - dynamic-datasource - add a datasource named [master] success
2025-10-04 18:24:26.791 [main] INFO c.b.dynamic.datasource.DynamicRoutingDataSource:241 - dynamic-datasource initial loaded [2] datasource,primary datasource named [master]
2025-10-04 18:24:27.836 [main] INFO org.redisson.Version:43 - Redisson 3.51.0
2025-10-04 18:24:27.894 [main] WARN i.n.resolver.dns.DnsServerAddressStreamProviders:70 - Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'
2025-10-04 18:24:28.069 [redisson-netty-1-6] INFO org.redisson.connection.ConnectionsHolder:132 - 1 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:24:29.432 [redisson-netty-1-19] INFO org.redisson.connection.ConnectionsHolder:132 - 24 connections initialized for 111.3.47.177/111.3.47.177:16379
2025-10-04 18:24:30.138 [main] INFO c.a.c.config.AjCaptchaServiceAutoConfiguration:33 - 自定义配置项:
AjCaptchaProperties{type=BLOCKPUZZLE, jigsaw='classpath:images/jigsaw', picClick='classpath:images/pic-click', waterMark='芋道源码', waterFont='WenQuanZhengHei.ttf', fontType='WenQuanZhengHei.ttf', slipOffset='5', aesStatus=true, interferenceOptions='0', cacheNumber='1000', timingClear='180', cacheType=redis, reqFrequencyLimitEnable=false, reqGetLockLimit=5, reqGetLockSeconds=10, reqGetMinuteLimit=30, reqCheckMinuteLimit=60, reqVerifyMinuteLimit=60}
2025-10-04 18:24:30.145 [main] INFO com.anji.captcha.util.ImageUtils:71 - 自定义resource底图:[SLIDING_BLOCK=[Ljava.lang.String;@59f4df4e, ORIGINAL=[Ljava.lang.String;@66113b7c, PIC_CLICK=[Ljava.lang.String;@7265db9d]
2025-10-04 18:24:30.146 [main] INFO c.anji.captcha.service.impl.CaptchaServiceFactory:52 - supported-captchaCache-service:[redis, local]
2025-10-04 18:24:30.148 [main] INFO c.anji.captcha.service.impl.CaptchaServiceFactory:57 - supported-captchaTypes-service:[clickWord, default, blockPuzzle, pictureWord]
2025-10-04 18:24:30.148 [main] INFO c.a.c.service.impl.BlockPuzzleCaptchaServiceImpl:80 - --->>>初始化验证码底图<<<---blockPuzzle
2025-10-04 18:24:30.946 [main] INFO c.a.p.f.quartz.config.AagroQuartzAutoConfiguration:23 - [定时任务 - 已禁用][参考 https://doc.iocoder.cn/job/ 开启]
2025-10-04 18:24:31.348 [main] INFO o.s.security.web.DefaultSecurityFilterChain:55 - Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2ca50ae3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1ad27a73, org.springframework.security.web.context.SecurityContextPersistenceFilter@70dd4172, org.springframework.security.web.header.HeaderWriterFilter@1492c9d, org.springframework.web.filter.CorsFilter@63813085, org.springframework.security.web.authentication.logout.LogoutFilter@4a8afff2, cn.aagro.pp.framework.security.core.filter.TokenAuthenticationFilter@32089590, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@e8fabad, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@13866e67, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5e4168dd, org.springframework.security.web.session.SessionManagementFilter@78b5c29f, org.springframework.security.web.access.ExceptionTranslationFilter@5f385ee9, org.springframework.security.web.access.intercept.AuthorizationFilter@59f41bcf]
2025-10-04 18:24:31.375 [main] INFO cn.aagro.pp.framework.dict.core.DictFrameworkUtils:44 - [init][初始化 DictFrameworkUtils 成功]
2025-10-04 18:24:31.581 [main] INFO c.b.m.e.spring.MybatisPlusApplicationContextAware:43 - Register ApplicationContext instances org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8
2025-10-04 18:24:31.586 [main] INFO com.fhs.common.spring.SpringContextUtil:38 - ------SpringContextUtil setApplicationContext-------
2025-10-04 18:24:31.801 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-48080"]
2025-10-04 18:24:31.806 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 48080 (http) with context path ''
2025-10-04 18:24:31.813 [main] INFO cn.aagro.pp.server.AagroServerApplication:61 - Started AagroServerApplication in 6.678 seconds (JVM running for 6.811)
2025-10-04 18:24:32.820 [pool-8-thread-1] INFO c.a.p.f.banner.core.BannerApplicationRunner:23 -
----------------------------------------------------------
项目启动成功!
接口文档: https://doc.iocoder.cn/api-doc/
开发文档: https://doc.iocoder.cn
视频教程: https://t.zsxq.com/02Yf6M7Qn
----------------------------------------------------------
2025-10-04 18:25:06.908 [http-nio-48080-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-10-04 18:25:06.909 [http-nio-48080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:525 - Initializing Servlet 'dispatcherServlet'
2025-10-04 18:25:06.916 [http-nio-48080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:547 - Completed initialization in 7 ms

View File

@@ -69,7 +69,7 @@ mybatis-plus:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
global-config:
db-config:
id-type: NONE # 智能模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。
id-type: NONE # "智能"模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。
# id-type: AUTO # 自增 ID适合 MySQL 等直接自增的数据库
# id-type: INPUT # 用户输入 ID适合 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库
# id-type: ASSIGN_ID # 分配 ID默认使用雪花算法。注意Oracle、PostgreSQL、Kingbase、DB2、H2 数据库时,需要去除实体类上的 @KeySequence 注解
@@ -195,7 +195,7 @@ spring:
options:
model: deepseek-chat
model:
rerank: false # 是否开启通义千问的 Rerank 模型,填写 dashscope 开启
rerank: false # 是否开启"通义千问"的 Rerank 模型,填写 dashscope 开启
mcp:
server:
enabled: false
@@ -348,4 +348,15 @@ aagro:
message-bus:
type: redis # 消息总线的类型
# 禁用微信相关自动配置
wx:
mp:
config-storage:
type: memory
key-prefix: wx
app-id: xxx
secret: xxx
token: xxx
aes-key: xxx
debug: false