Commit 4892a24c by henry

修改配置文件

1 parent f561a005
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<artifactId>arch-base</artifactId> <artifactId>arch-base</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<groupId>org.arch.base</groupId>
<name>基础功能公共服务</name> <name>基础功能公共服务</name>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
......
...@@ -4,14 +4,13 @@ ...@@ -4,14 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.arch.clouds</groupId> <groupId>org.arch</groupId>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>文件存储</name> <name>文件存储</name>
<artifactId>attach</artifactId> <artifactId>attach</artifactId>
<groupId>org.arch.attach</groupId>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.arch.clouds</groupId> <groupId>org.arch</groupId>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>日志模块</name> <name>日志模块</name>
<artifactId>log</artifactId> <artifactId>log</artifactId>
<groupId>org.arch.log</groupId>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
......
...@@ -4,14 +4,13 @@ ...@@ -4,14 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.arch.clouds</groupId> <groupId>org.arch</groupId>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>mybatis</artifactId> <artifactId>mybatis</artifactId>
<groupId>org.arch.mybatis</groupId>
<name>mybatis组件</name> <name>mybatis组件</name>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
......
...@@ -4,13 +4,12 @@ ...@@ -4,13 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.arch.clouds</groupId> <groupId>org.arch</groupId>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>nacos</artifactId> <artifactId>nacos</artifactId>
<groupId>org.arch.nacos</groupId>
<name>注册中心</name> <name>注册中心</name>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.arch.clouds</groupId> <groupId>org.arch</groupId>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>office</artifactId> <artifactId>office</artifactId>
<groupId>org.arch.office</groupId>
<name>在线文档</name> <name>在线文档</name>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<name>微服务组件</name> <name>微服务组件</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<artifactId>arch-clouds</artifactId> <artifactId>arch-clouds</artifactId>
<groupId>org.arch.clouds</groupId>
<modules> <modules>
<module>log</module> <module>log</module>
<module>office</module> <module>office</module>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<artifactId>spring-cloud-starter-gateway</artifactId> <artifactId>spring-cloud-starter-gateway</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.arch.nacos</groupId> <groupId>org.arch</groupId>
<artifactId>nacos</artifactId> <artifactId>nacos</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
......
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
<artifactId>mybatis-plus-generator-ui</artifactId> <artifactId>mybatis-plus-generator-ui</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.arch.log</groupId> <groupId>org.arch</groupId>
<artifactId>log</artifactId> <artifactId>log</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.arch.nacos</groupId> <groupId>org.arch</groupId>
<artifactId>nacos</artifactId> <artifactId>nacos</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.arch.base</groupId> <groupId>org.arch</groupId>
<artifactId>arch-base</artifactId> <artifactId>arch-base</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</dependency> </dependency>
......
package org.arch.modules; package org.arch.modules;
import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication @SpringBootApplication
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFileStorage
public class ArchOverallApp { public class ArchOverallApp {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ArchOverallApp.class, args); SpringApplication.run(ArchOverallApp.class, args);
......
...@@ -4,11 +4,13 @@ import io.swagger.annotations.ApiModel; ...@@ -4,11 +4,13 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.List; import java.util.List;
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
@NoArgsConstructor
@ApiModel(value = "元素模块查询的传输对象", description = "元素模块查询的传输对象") @ApiModel(value = "元素模块查询的传输对象", description = "元素模块查询的传输对象")
public class ArchiElementDTO extends BasePageEntity { public class ArchiElementDTO extends BasePageEntity {
......
...@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
...@@ -29,9 +30,9 @@ import java.util.Objects; ...@@ -29,9 +30,9 @@ import java.util.Objects;
@Service @Service
public class ArchiElementImpl extends ServiceImpl<ArchiElementMapper, ArchiElement> implements ArchiElementService { public class ArchiElementImpl extends ServiceImpl<ArchiElementMapper, ArchiElement> implements ArchiElementService {
@Autowired @Resource
private ArchiElementMapper archiElementMapper; private ArchiElementMapper archiElementMapper;
@Autowired @Resource
private ArchiElePropertyMapper archiElePropertyMapper; private ArchiElePropertyMapper archiElePropertyMapper;
@Autowired @Autowired
public IPage<ArchiElement> gtArchiElement(ArchiElementDTO dto) { public IPage<ArchiElement> gtArchiElement(ArchiElementDTO dto) {
......
...@@ -6293,3 +6293,48 @@ Action: ...@@ -6293,3 +6293,48 @@ Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration. Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:09:44 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:10:28 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:11:25 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
...@@ -14105,3 +14105,936 @@ Action: ...@@ -14105,3 +14105,936 @@ Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration. Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:09:37.792 [background-preinit] DEBUG org.jboss.logging:152 - Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2024-07-02 20:09:37.795 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.0.Final
2024-07-02 20:09:37.808 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:09:37.811 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:09:37.811 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:09:37.812 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:09:37.818 [background-preinit] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:09:37.863 [background-preinit] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:09:38.095 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:09:38.104 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:09:38.104 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:09:38.104 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:09:38.105 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:09:38.105 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:09:40.667 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-storage.yaml', group: 'DEFAULT_GROUP', data: #oss对象存储服务
dromara:
#文件存储配置
x-file-storage:
#默认使用的存储平台
default-platform: minio-1
minio:
# 存储平台标识
- platform: minio-1
# 启用存储
enable-storage: true
access-key: minio
secret-key: lipsadmin
end-point: http://192.168.0.210:19001/
bucket-name: eadc
# 访问域名,注意“/”结尾,例如:http://minio.abc.com/abc/
domain: http://192.168.0.210:19001/
# 基础路径
base-path: eadc-file/
2024-07-02 20:09:40.676 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-config.yaml', group: 'DEFAULT_GROUP', data: spring:
freemarker:
check-template-location: false
jackson:
time-zone: GMT+8
data:
redis:
repositories:
enabled: false
servlet:
multipart:
max-file-size: 50MB
max-request-size: 100MB
task:
pool:
# 核心线程池大小
core-pool-size: 10
# 最大线程数
max-pool-size: 30
# 活跃时间
keep-alive-seconds: 60
# 队列容量
queue-capacity: 50
# 是否允许生成代码,生产环境设置为false
#密码加密传输,前端公钥加密,后端私钥解密
rsa:
private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
generator:
enabled: true
# 是否开启 swagger-ui
swagger:
enabled: true
title: ah-it4it
serverUrl:
version: 2.2
#SM4-CBC模式
jasypt:
encryptor:
password: GJwsXX_BzW=gJWJW
bean: desencrypt
# PageHelper分页插件
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
#开启 Feign 对 Sentinel 的支持
feign:
sentinel:
enabled: true
client:
config:
default:
connect-timeout: 1000000
read-timeout: 1000000
#SM4加密密钥
sm4:
CBCSecretKey: GJwsXX_BzW=gJWJW
CBCIV: ZkR_SiNoSOFT=568
token:
secret: 123456
expire: 240 # 分钟
logging:
level:
com.onlyoffice.mapper: debug
#1800# RefreshToken过期时间-30分钟-30*60(秒为单位)
refreshTokenExpireTime: 86400
# AES密码加密私钥(Base64加密)
encryptAESKey: V2FuZzkyNjQ1NGRTQkFQSUpXVA==
# JWT认证加密私钥(Base64加密)
encryptJWTKey: U0JBUElKV1RkV2FuZzkyNjQ1NA==
# AccessToken过期时间-5分钟-5*60(秒为单位)
accessTokenExpireTime: 86400
# Shiro缓存过期时间-5分钟-5*60(秒为单位)(一般设置与AccessToken过期时间一致)
shiroCacheExpireTime: 300
#对成加密
crypto:
key: cHineSe3eoPle5as
2024-07-02 20:09:40.686 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-log.yaml', group: 'DEFAULT_GROUP', data: # 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
level:
org.springframework.boot.autoconfigure: info # 日志级别
#AOP开关,false则不执行AOP里的方法
spring:
aop:
auto: true
#sql日志开关,值为ture,则执行sql注入拦截,false则不执行
sql:
enable:
flag: true
#xss日志开关,值为ture,则执行sql注入拦截,false则不执行
xss:
enable:
flag: true
log:
enable:
flag: true
2024-07-02 20:09:40.691 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-datasource.yaml', group: 'DEFAULT_GROUP', data: spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.0.210:23306/eadc?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&useAffectedRows=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: root
password: 123456
# 初始化配置
initial-size: 3
# 最小连接数
min-idle: 5
# 最大连接数
max-active: 15
# 获取连接超时时间
max-wait: 5000
# 连接有效性检测时间
time-between-eviction-runs-millis: 80000
# 最大空闲时间
max-evictable-idle-time-millis: 1800000
# 最小空闲时间
min-evictable-idle-time-millis: 120000
keep-alive: true
#test-while-idle: true
#test-on-borrow: false
#test-on-return: false
validation-query: select 1
# 配置监控统计拦截的filters
filters: stat
stat-view-servlet:
url-pattern: /druid/*
reset-enable: false
web-stat-filter:
url-pattern: /*
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
redis:
# 数据库索引
database: 0
host: 192.168.0.120
port: 16379
password: LIzefeng@2023
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:09:40.696 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-mybatis.yaml', group: 'DEFAULT_GROUP', data: mybatis-plus:
check-config-location: false
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
global-config:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*Mapper.xml, classpath:/META-INF/modeler-mybatis-mappings/*.xml
2024-07-02 20:09:40.700 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-redis.yaml', group: 'DEFAULT_GROUP', data: spring:
redis:
# 数据库索引
database: 0
host: 192.168.0.210
port: 16379
password: ENC(3VXC+drHJQ3xVwp+cdCeyw==)
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:09:40.704 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall] & group[DEFAULT_GROUP]
2024-07-02 20:09:40.707 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall.properties] & group[DEFAULT_GROUP]
2024-07-02 20:09:40.710 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall-dev.properties] & group[DEFAULT_GROUP]
2024-07-02 20:09:40.711 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration:109 - Located property source: [BootstrapPropertySource {name='bootstrapProperties-arch-overall-dev.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-redis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-mybatis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-datasource.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-log.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-config.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-storage.yaml,DEFAULT_GROUP'}]
2024-07-02 20:09:40.740 [main] INFO org.arch.modules.ArchOverallApp:641 - The following profiles are active: dev
2024-07-02 20:09:41.457 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:184 - Searching for mappers annotated with @Mapper
2024-07-02 20:09:41.462 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:09:41.464 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:196 - Using auto-configuration base package 'org.arch.modules'
2024-07-02 20:09:41.469 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:09:41.882 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:09:41.886 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:09:41.886 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:09:41.890 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElePropertyMapper.class]
2024-07-02 20:09:41.891 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElementMapper.class]
2024-07-02 20:09:41.891 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\VersionInitMapper.class]
2024-07-02 20:09:41.891 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:09:41.891 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:09:41.891 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:09:41.891 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:09:41.892 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface
2024-07-02 20:09:41.897 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'sysEventLogMapper'.
2024-07-02 20:09:41.897 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface
2024-07-02 20:09:41.897 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'coreMapper'.
2024-07-02 20:09:41.898 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElePropertyMapper' and 'org.arch.modules.design.mapper.ArchiElePropertyMapper' mapperInterface
2024-07-02 20:09:41.898 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElePropertyMapper'.
2024-07-02 20:09:41.898 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElementMapper' and 'org.arch.modules.design.mapper.ArchiElementMapper' mapperInterface
2024-07-02 20:09:41.899 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElementMapper'.
2024-07-02 20:09:41.899 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'versionInitMapper' and 'org.arch.modules.design.mapper.VersionInitMapper' mapperInterface
2024-07-02 20:09:41.899 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'versionInitMapper'.
2024-07-02 20:09:41.987 [main] INFO o.springframework.cloud.context.scope.GenericScope:283 - BeanFactory id=ab8d2361-bbf5-31d6-9291-0a95ee5be6a0
2024-07-02 20:09:42.096 [main] DEBUG org.apache.cxf.common.logging.LogUtils:137 - Using org.apache.cxf.common.logging.Slf4jLogger for logging.
2024-07-02 20:09:42.396 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.399 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.399 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$460/1501888239] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.403 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.416 [main] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:09:42.417 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:174 - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
2024-07-02 20:09:42.418 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:206 - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
2024-07-02 20:09:42.419 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:220 - Setting custom ParameterNameProvider of type org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$1
2024-07-02 20:09:42.420 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:09:42.420 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:53 - Trying to load META-INF/validation.xml via user class loader
2024-07-02 20:09:42.420 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:09:42.420 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:09:42.422 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:09:42.423 [main] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:09:42.424 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:09:42.425 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:09:42.425 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:09:42.425 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:09:42.425 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:09:42.425 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:09:42.464 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.470 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:09:42.750 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 17003 (http)
2024-07-02 20:09:42.760 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-17003"]
2024-07-02 20:09:42.761 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-07-02 20:09:42.761 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.56]
2024-07-02 20:09:42.819 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-07-02 20:09:42.820 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 2066 ms
2024-07-02 20:09:43.008 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join properties config complete
2024-07-02 20:09:43.024 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure:66 - Init DruidDataSource
2024-07-02 20:09:43.292 [main] INFO com.alibaba.druid.pool.DruidDataSource:1007 - {dataSource-1} inited
2024-07-02 20:09:43.355 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:09:43.362 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join SqlInjector init
2024-07-02 20:09:44.348 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementController' defined in file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\controller\ArchiElementController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementImpl': Unsatisfied dependency expressed through method 'gtArchiElement' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.arch.modules.design.dto.ArchiElementDTO' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2024-07-02 20:09:44.349 [main] INFO com.alibaba.druid.pool.DruidDataSource:2212 - {dataSource-1} closing ...
2024-07-02 20:09:44.356 [main] INFO com.alibaba.druid.pool.DruidDataSource:2285 - {dataSource-1} closed
2024-07-02 20:09:44.357 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat]
2024-07-02 20:09:44.369 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-07-02 20:09:44.387 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:10:22.459 [background-preinit] DEBUG org.jboss.logging:152 - Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2024-07-02 20:10:22.462 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.0.Final
2024-07-02 20:10:22.474 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:10:22.476 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:10:22.477 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:10:22.477 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:10:22.484 [background-preinit] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:10:22.523 [background-preinit] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:10:22.749 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:10:22.758 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:10:22.758 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:10:22.759 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:10:22.759 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:10:22.759 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:10:25.262 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-storage.yaml', group: 'DEFAULT_GROUP', data: #oss对象存储服务
dromara:
#文件存储配置
x-file-storage:
#默认使用的存储平台
default-platform: minio-1
minio:
# 存储平台标识
- platform: minio-1
# 启用存储
enable-storage: true
access-key: minio
secret-key: lipsadmin
end-point: http://192.168.0.210:19001/
bucket-name: eadc
# 访问域名,注意“/”结尾,例如:http://minio.abc.com/abc/
domain: http://192.168.0.210:19001/
# 基础路径
base-path: eadc-file/
2024-07-02 20:10:25.270 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-config.yaml', group: 'DEFAULT_GROUP', data: spring:
freemarker:
check-template-location: false
jackson:
time-zone: GMT+8
data:
redis:
repositories:
enabled: false
servlet:
multipart:
max-file-size: 50MB
max-request-size: 100MB
task:
pool:
# 核心线程池大小
core-pool-size: 10
# 最大线程数
max-pool-size: 30
# 活跃时间
keep-alive-seconds: 60
# 队列容量
queue-capacity: 50
# 是否允许生成代码,生产环境设置为false
#密码加密传输,前端公钥加密,后端私钥解密
rsa:
private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
generator:
enabled: true
# 是否开启 swagger-ui
swagger:
enabled: true
title: ah-it4it
serverUrl:
version: 2.2
#SM4-CBC模式
jasypt:
encryptor:
password: GJwsXX_BzW=gJWJW
bean: desencrypt
# PageHelper分页插件
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
#开启 Feign 对 Sentinel 的支持
feign:
sentinel:
enabled: true
client:
config:
default:
connect-timeout: 1000000
read-timeout: 1000000
#SM4加密密钥
sm4:
CBCSecretKey: GJwsXX_BzW=gJWJW
CBCIV: ZkR_SiNoSOFT=568
token:
secret: 123456
expire: 240 # 分钟
logging:
level:
com.onlyoffice.mapper: debug
#1800# RefreshToken过期时间-30分钟-30*60(秒为单位)
refreshTokenExpireTime: 86400
# AES密码加密私钥(Base64加密)
encryptAESKey: V2FuZzkyNjQ1NGRTQkFQSUpXVA==
# JWT认证加密私钥(Base64加密)
encryptJWTKey: U0JBUElKV1RkV2FuZzkyNjQ1NA==
# AccessToken过期时间-5分钟-5*60(秒为单位)
accessTokenExpireTime: 86400
# Shiro缓存过期时间-5分钟-5*60(秒为单位)(一般设置与AccessToken过期时间一致)
shiroCacheExpireTime: 300
#对成加密
crypto:
key: cHineSe3eoPle5as
2024-07-02 20:10:25.281 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-log.yaml', group: 'DEFAULT_GROUP', data: # 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
level:
org.springframework.boot.autoconfigure: info # 日志级别
#AOP开关,false则不执行AOP里的方法
spring:
aop:
auto: true
#sql日志开关,值为ture,则执行sql注入拦截,false则不执行
sql:
enable:
flag: true
#xss日志开关,值为ture,则执行sql注入拦截,false则不执行
xss:
enable:
flag: true
log:
enable:
flag: true
2024-07-02 20:10:25.286 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-datasource.yaml', group: 'DEFAULT_GROUP', data: spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.0.210:23306/eadc?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&useAffectedRows=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: root
password: 123456
# 初始化配置
initial-size: 3
# 最小连接数
min-idle: 5
# 最大连接数
max-active: 15
# 获取连接超时时间
max-wait: 5000
# 连接有效性检测时间
time-between-eviction-runs-millis: 80000
# 最大空闲时间
max-evictable-idle-time-millis: 1800000
# 最小空闲时间
min-evictable-idle-time-millis: 120000
keep-alive: true
#test-while-idle: true
#test-on-borrow: false
#test-on-return: false
validation-query: select 1
# 配置监控统计拦截的filters
filters: stat
stat-view-servlet:
url-pattern: /druid/*
reset-enable: false
web-stat-filter:
url-pattern: /*
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
redis:
# 数据库索引
database: 0
host: 192.168.0.120
port: 16379
password: LIzefeng@2023
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:10:25.292 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-mybatis.yaml', group: 'DEFAULT_GROUP', data: mybatis-plus:
check-config-location: false
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
global-config:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*Mapper.xml, classpath:/META-INF/modeler-mybatis-mappings/*.xml
2024-07-02 20:10:25.295 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-redis.yaml', group: 'DEFAULT_GROUP', data: spring:
redis:
# 数据库索引
database: 0
host: 192.168.0.210
port: 16379
password: ENC(3VXC+drHJQ3xVwp+cdCeyw==)
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:10:25.300 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall] & group[DEFAULT_GROUP]
2024-07-02 20:10:25.303 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall.properties] & group[DEFAULT_GROUP]
2024-07-02 20:10:25.305 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall-dev.properties] & group[DEFAULT_GROUP]
2024-07-02 20:10:25.306 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration:109 - Located property source: [BootstrapPropertySource {name='bootstrapProperties-arch-overall-dev.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-redis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-mybatis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-datasource.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-log.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-config.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-storage.yaml,DEFAULT_GROUP'}]
2024-07-02 20:10:25.336 [main] INFO org.arch.modules.ArchOverallApp:641 - The following profiles are active: dev
2024-07-02 20:10:26.030 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:184 - Searching for mappers annotated with @Mapper
2024-07-02 20:10:26.036 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:10:26.037 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:196 - Using auto-configuration base package 'org.arch.modules'
2024-07-02 20:10:26.042 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:10:26.437 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:10:26.440 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:10:26.441 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:10:26.445 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElePropertyMapper.class]
2024-07-02 20:10:26.445 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElementMapper.class]
2024-07-02 20:10:26.445 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\VersionInitMapper.class]
2024-07-02 20:10:26.445 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:10:26.445 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:10:26.447 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:10:26.447 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:10:26.448 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface
2024-07-02 20:10:26.452 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'sysEventLogMapper'.
2024-07-02 20:10:26.452 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface
2024-07-02 20:10:26.452 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'coreMapper'.
2024-07-02 20:10:26.452 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElePropertyMapper' and 'org.arch.modules.design.mapper.ArchiElePropertyMapper' mapperInterface
2024-07-02 20:10:26.453 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElePropertyMapper'.
2024-07-02 20:10:26.453 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElementMapper' and 'org.arch.modules.design.mapper.ArchiElementMapper' mapperInterface
2024-07-02 20:10:26.453 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElementMapper'.
2024-07-02 20:10:26.453 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'versionInitMapper' and 'org.arch.modules.design.mapper.VersionInitMapper' mapperInterface
2024-07-02 20:10:26.454 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'versionInitMapper'.
2024-07-02 20:10:26.539 [main] INFO o.springframework.cloud.context.scope.GenericScope:283 - BeanFactory id=ab8d2361-bbf5-31d6-9291-0a95ee5be6a0
2024-07-02 20:10:26.644 [main] DEBUG org.apache.cxf.common.logging.LogUtils:137 - Using org.apache.cxf.common.logging.Slf4jLogger for logging.
2024-07-02 20:10:26.959 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:26.963 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:26.964 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$460/27313641] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:26.968 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:26.980 [main] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:10:26.982 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:174 - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
2024-07-02 20:10:26.982 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:206 - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
2024-07-02 20:10:26.983 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:220 - Setting custom ParameterNameProvider of type org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$1
2024-07-02 20:10:26.984 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:10:26.984 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:53 - Trying to load META-INF/validation.xml via user class loader
2024-07-02 20:10:26.985 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:10:26.986 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:10:26.986 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:10:26.987 [main] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:10:26.989 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:10:26.989 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:10:26.990 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:10:26.990 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:10:26.990 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:10:26.990 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:10:27.026 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:27.032 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:10:27.312 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 17003 (http)
2024-07-02 20:10:27.320 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-17003"]
2024-07-02 20:10:27.321 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-07-02 20:10:27.321 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.56]
2024-07-02 20:10:27.388 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-07-02 20:10:27.388 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 2038 ms
2024-07-02 20:10:27.586 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join properties config complete
2024-07-02 20:10:27.599 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure:66 - Init DruidDataSource
2024-07-02 20:10:27.863 [main] INFO com.alibaba.druid.pool.DruidDataSource:1007 - {dataSource-1} inited
2024-07-02 20:10:27.919 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:10:27.926 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join SqlInjector init
2024-07-02 20:10:28.870 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementController' defined in file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\controller\ArchiElementController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementImpl': Unsatisfied dependency expressed through method 'gtArchiElement' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.arch.modules.design.dto.ArchiElementDTO' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2024-07-02 20:10:28.871 [main] INFO com.alibaba.druid.pool.DruidDataSource:2212 - {dataSource-1} closing ...
2024-07-02 20:10:28.877 [main] INFO com.alibaba.druid.pool.DruidDataSource:2285 - {dataSource-1} closed
2024-07-02 20:10:28.877 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat]
2024-07-02 20:10:28.889 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-07-02 20:10:28.906 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
2024-07-02 20:11:19.419 [background-preinit] DEBUG org.jboss.logging:152 - Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2024-07-02 20:11:19.422 [background-preinit] INFO org.hibernate.validator.internal.util.Version:21 - HV000001: Hibernate Validator 6.2.0.Final
2024-07-02 20:11:19.435 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:11:19.437 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:11:19.438 [background-preinit] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:11:19.439 [background-preinit] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:11:19.444 [background-preinit] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:11:19.486 [background-preinit] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:11:19.711 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:11:19.718 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:11:19.718 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:11:19.718 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:11:19.719 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:11:19.719 [background-preinit] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:11:22.206 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-storage.yaml', group: 'DEFAULT_GROUP', data: #oss对象存储服务
dromara:
#文件存储配置
x-file-storage:
#默认使用的存储平台
default-platform: minio-1
minio:
# 存储平台标识
- platform: minio-1
# 启用存储
enable-storage: true
access-key: minio
secret-key: lipsadmin
end-point: http://192.168.0.210:19001/
bucket-name: eadc
# 访问域名,注意“/”结尾,例如:http://minio.abc.com/abc/
domain: http://192.168.0.210:19001/
# 基础路径
base-path: eadc-file/
2024-07-02 20:11:22.217 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-config.yaml', group: 'DEFAULT_GROUP', data: spring:
freemarker:
check-template-location: false
jackson:
time-zone: GMT+8
data:
redis:
repositories:
enabled: false
servlet:
multipart:
max-file-size: 50MB
max-request-size: 100MB
task:
pool:
# 核心线程池大小
core-pool-size: 10
# 最大线程数
max-pool-size: 30
# 活跃时间
keep-alive-seconds: 60
# 队列容量
queue-capacity: 50
# 是否允许生成代码,生产环境设置为false
#密码加密传输,前端公钥加密,后端私钥解密
rsa:
private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
generator:
enabled: true
# 是否开启 swagger-ui
swagger:
enabled: true
title: ah-it4it
serverUrl:
version: 2.2
#SM4-CBC模式
jasypt:
encryptor:
password: GJwsXX_BzW=gJWJW
bean: desencrypt
# PageHelper分页插件
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
#开启 Feign 对 Sentinel 的支持
feign:
sentinel:
enabled: true
client:
config:
default:
connect-timeout: 1000000
read-timeout: 1000000
#SM4加密密钥
sm4:
CBCSecretKey: GJwsXX_BzW=gJWJW
CBCIV: ZkR_SiNoSOFT=568
token:
secret: 123456
expire: 240 # 分钟
logging:
level:
com.onlyoffice.mapper: debug
#1800# RefreshToken过期时间-30分钟-30*60(秒为单位)
refreshTokenExpireTime: 86400
# AES密码加密私钥(Base64加密)
encryptAESKey: V2FuZzkyNjQ1NGRTQkFQSUpXVA==
# JWT认证加密私钥(Base64加密)
encryptJWTKey: U0JBUElKV1RkV2FuZzkyNjQ1NA==
# AccessToken过期时间-5分钟-5*60(秒为单位)
accessTokenExpireTime: 86400
# Shiro缓存过期时间-5分钟-5*60(秒为单位)(一般设置与AccessToken过期时间一致)
shiroCacheExpireTime: 300
#对成加密
crypto:
key: cHineSe3eoPle5as
2024-07-02 20:11:22.229 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-log.yaml', group: 'DEFAULT_GROUP', data: # 日志文件配置。注意,如果 logging.file.name 不放在 bootstrap.yaml 配置文件,而是放在 application.yaml 中,会导致出现 LOG_FILE_IS_UNDEFINED 文件
logging:
file:
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
level:
org.springframework.boot.autoconfigure: info # 日志级别
#AOP开关,false则不执行AOP里的方法
spring:
aop:
auto: true
#sql日志开关,值为ture,则执行sql注入拦截,false则不执行
sql:
enable:
flag: true
#xss日志开关,值为ture,则执行sql注入拦截,false则不执行
xss:
enable:
flag: true
log:
enable:
flag: true
2024-07-02 20:11:22.234 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-datasource.yaml', group: 'DEFAULT_GROUP', data: spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.0.210:23306/eadc?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&useAffectedRows=true&allowMultiQueries=true&allowPublicKeyRetrieval=true
username: root
password: 123456
# 初始化配置
initial-size: 3
# 最小连接数
min-idle: 5
# 最大连接数
max-active: 15
# 获取连接超时时间
max-wait: 5000
# 连接有效性检测时间
time-between-eviction-runs-millis: 80000
# 最大空闲时间
max-evictable-idle-time-millis: 1800000
# 最小空闲时间
min-evictable-idle-time-millis: 120000
keep-alive: true
#test-while-idle: true
#test-on-borrow: false
#test-on-return: false
validation-query: select 1
# 配置监控统计拦截的filters
filters: stat
stat-view-servlet:
url-pattern: /druid/*
reset-enable: false
web-stat-filter:
url-pattern: /*
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
redis:
# 数据库索引
database: 0
host: 192.168.0.120
port: 16379
password: LIzefeng@2023
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:11:22.240 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-mybatis.yaml', group: 'DEFAULT_GROUP', data: mybatis-plus:
check-config-location: false
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
global-config:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*Mapper.xml, classpath:/META-INF/modeler-mybatis-mappings/*.xml
2024-07-02 20:11:22.244 [main] DEBUG c.a.cloud.nacos.client.NacosPropertySourceBuilder:93 - Loading nacos data, dataId: 'common-redis.yaml', group: 'DEFAULT_GROUP', data: spring:
redis:
# 数据库索引
database: 0
host: 192.168.0.210
port: 16379
password: ENC(3VXC+drHJQ3xVwp+cdCeyw==)
# 连接超时时间
timeout: 5000
max-active: 200
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1
# 最大空闲连接数
max-idle: 20
# 连接池中的最小空闲连接
min-idle: 0
2024-07-02 20:11:22.248 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall] & group[DEFAULT_GROUP]
2024-07-02 20:11:22.250 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall.properties] & group[DEFAULT_GROUP]
2024-07-02 20:11:22.254 [main] WARN c.a.cloud.nacos.client.NacosPropertySourceBuilder:87 - Ignore the empty nacos configuration and get it based on dataId[arch-overall-dev.properties] & group[DEFAULT_GROUP]
2024-07-02 20:11:22.255 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration:109 - Located property source: [BootstrapPropertySource {name='bootstrapProperties-arch-overall-dev.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-arch-overall,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-redis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-mybatis.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-datasource.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-log.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-config.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-common-storage.yaml,DEFAULT_GROUP'}]
2024-07-02 20:11:22.286 [main] INFO org.arch.modules.ArchOverallApp:641 - The following profiles are active: dev
2024-07-02 20:11:22.969 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:184 - Searching for mappers annotated with @Mapper
2024-07-02 20:11:22.976 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:11:22.977 [main] DEBUG o.m.s.boot.autoconfigure.MybatisAutoConfiguration:196 - Using auto-configuration base package 'org.arch.modules'
2024-07-02 20:11:22.982 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:11:23.356 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - No MyBatis mapper was found in '[org.arch.modules]' package. Please check your configuration.
2024-07-02 20:11:23.360 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:11:23.361 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:11:23.366 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElePropertyMapper.class]
2024-07-02 20:11:23.366 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\ArchiElementMapper.class]
2024-07-02 20:11:23.367 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\mapper\VersionInitMapper.class]
2024-07-02 20:11:23.367 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: file [E:\gw_space\arch\arch-clouds\log\target\classes\org\arch\log\mapper\SysEventLogMapper.class]
2024-07-02 20:11:23.367 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:435 - Identified candidate component class: URL [jar:file:/D:/soft_dev_tools/Maven/MvnRepository/org/arch/mybatis/mybatis/1.0-SNAPSHOT/mybatis-1.0-SNAPSHOT.jar!/org/arch/common/mapper/CoreMapper.class]
2024-07-02 20:11:23.367 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:11:23.367 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:44 - Skipping MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface. Bean already defined with the same name!
2024-07-02 20:11:23.368 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'sysEventLogMapper' and 'org.arch.log.mapper.SysEventLogMapper' mapperInterface
2024-07-02 20:11:23.372 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'sysEventLogMapper'.
2024-07-02 20:11:23.372 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'coreMapper' and 'org.arch.common.mapper.CoreMapper' mapperInterface
2024-07-02 20:11:23.372 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'coreMapper'.
2024-07-02 20:11:23.372 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElePropertyMapper' and 'org.arch.modules.design.mapper.ArchiElePropertyMapper' mapperInterface
2024-07-02 20:11:23.373 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElePropertyMapper'.
2024-07-02 20:11:23.373 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'archiElementMapper' and 'org.arch.modules.design.mapper.ArchiElementMapper' mapperInterface
2024-07-02 20:11:23.373 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'archiElementMapper'.
2024-07-02 20:11:23.373 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Creating MapperFactoryBean with name 'versionInitMapper' and 'org.arch.modules.design.mapper.VersionInitMapper' mapperInterface
2024-07-02 20:11:23.374 [main] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner:49 - Enabling autowire by type for MapperFactoryBean with name 'versionInitMapper'.
2024-07-02 20:11:23.465 [main] INFO o.springframework.cloud.context.scope.GenericScope:283 - BeanFactory id=ab8d2361-bbf5-31d6-9291-0a95ee5be6a0
2024-07-02 20:11:23.579 [main] DEBUG org.apache.cxf.common.logging.LogUtils:137 - Using org.apache.cxf.common.logging.Slf4jLogger for logging.
2024-07-02 20:11:23.913 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:23.916 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:23.918 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$460/1250848393] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:23.921 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:23.932 [main] DEBUG o.h.v.m.ResourceBundleMessageInterpolator:172 - Loaded expression factory via original TCCL
2024-07-02 20:11:23.934 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:174 - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
2024-07-02 20:11:23.934 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:206 - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
2024-07-02 20:11:23.935 [main] DEBUG o.h.v.internal.engine.AbstractConfigurationImpl:220 - Setting custom ParameterNameProvider of type org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$1
2024-07-02 20:11:23.936 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:120 - Trying to load META-INF/validation.xml for XML based Validator configuration.
2024-07-02 20:11:23.937 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:53 - Trying to load META-INF/validation.xml via user class loader
2024-07-02 20:11:23.937 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:60 - Trying to load META-INF/validation.xml via TCCL
2024-07-02 20:11:23.938 [main] DEBUG o.h.v.internal.xml.config.ResourceLoaderHelper:66 - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2024-07-02 20:11:23.938 [main] DEBUG o.h.v.internal.xml.config.ValidationXmlParser:127 - No META-INF/validation.xml found. Using annotation based configuration only.
2024-07-02 20:11:23.940 [main] DEBUG o.h.v.i.engine.resolver.TraversableResolvers:60 - Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable.
2024-07-02 20:11:23.942 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:345 - HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2024-07-02 20:11:23.942 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:420 - HV000234: Using org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator as ValidatorFactory-scoped message interpolator.
2024-07-02 20:11:23.943 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:421 - HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2024-07-02 20:11:23.943 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:422 - HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2024-07-02 20:11:23.943 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:423 - HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2024-07-02 20:11:23.943 [main] DEBUG o.h.v.i.engine.ValidatorFactoryConfigurationHelper:424 - HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2024-07-02 20:11:23.980 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:23.984 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-07-02 20:11:24.252 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 17003 (http)
2024-07-02 20:11:24.262 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-17003"]
2024-07-02 20:11:24.263 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-07-02 20:11:24.263 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.56]
2024-07-02 20:11:24.337 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-07-02 20:11:24.337 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 2037 ms
2024-07-02 20:11:24.542 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join properties config complete
2024-07-02 20:11:24.554 [main] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure:66 - Init DruidDataSource
2024-07-02 20:11:24.855 [main] INFO com.alibaba.druid.pool.DruidDataSource:1007 - {dataSource-1} inited
2024-07-02 20:11:24.918 [main] DEBUG org.apache.ibatis.logging.LogFactory:109 - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
2024-07-02 20:11:24.925 [main] INFO c.g.y.a.MybatisPlusJoinAutoConfiguration:139 - mybatis plus join SqlInjector init
2024-07-02 20:11:25.877 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementController' defined in file [E:\gw_space\arch\arch-overall\target\classes\org\arch\modules\design\controller\ArchiElementController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'archiElementImpl': Unsatisfied dependency expressed through method 'gtArchiElement' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.arch.modules.design.dto.ArchiElementDTO' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2024-07-02 20:11:25.877 [main] INFO com.alibaba.druid.pool.DruidDataSource:2212 - {dataSource-1} closing ...
2024-07-02 20:11:25.885 [main] INFO com.alibaba.druid.pool.DruidDataSource:2285 - {dataSource-1} closed
2024-07-02 20:11:25.886 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat]
2024-07-02 20:11:25.899 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2024-07-02 20:11:25.915 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method gtArchiElement in org.arch.modules.design.service.impl.ArchiElementImpl required a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' that could not be found.
Action:
Consider defining a bean of type 'org.arch.modules.design.dto.ArchiElementDTO' in your configuration.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!