Compare commits

..

1 Commits

Author SHA1 Message Date
Guo MengYang 60f7b7b3d0 郭梦洋第一次上传1 2024-07-03 21:23:23 +08:00
299 changed files with 4483 additions and 9195 deletions

View File

@ -4,18 +4,16 @@
<file url="file://$PROJECT_DIR$/bwie-auth/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-common/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-gateway/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-alipay/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-authen/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-authentication/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-kill/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-order/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-payment/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-system/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-team/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-team/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-xxl/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/bwie-xxl/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/bwie-modules/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/../../maven_repository/org/springframework/boot/spring-boot-starter-parent/2.6.2/src/main/resources" charset="UTF-8" />
</component>
</project>

View File

@ -2,5 +2,16 @@
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliArrayNamingShouldHaveBracket" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliEqualsAvoidNull" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AutoCloseableResource" enabled="true" level="WARNING" enabled_by_default="true">
<option name="METHOD_MATCHER_CONFIG" value="java.util.Formatter,format,java.io.Writer,append,com.google.common.base.Preconditions,checkNotNull,org.hibernate.Session,close,java.io.PrintWriter,printf,java.io.PrintStream,printf,cn.hutool.http.HttpRequest,execute" />
</inspection_tool>
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

View File

@ -4,16 +4,11 @@
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
<option value="$PROJECT_DIR$/bwie-modules/bwie-alipay/pom.xml" />
<option value="$PROJECT_DIR$/bwie-modules/bwie-kill/pom.xml" />
</list>
</option>
<option name="ignoredFiles">
<set>
<option value="$PROJECT_DIR$/bwie-modules/bwie-slide/pom.xml" />
<option value="$PROJECT_DIR$/bwie-modules/bwie-xxl/pom.xml" />
</set>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +0,0 @@
<changelist name="Uncommitted_changes_before_Update_at_2024_5_2_19_15_[Changes]" date="1714648529424" recycled="false" toDelete="true">
<option name="PATH" value="$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_2024_5_2_19_15_[Changes]/shelved.patch" />
<option name="DESCRIPTION" value="Uncommitted changes before Update at 2024/5/2 19:15 [Changes]" />
</changelist>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -1,747 +0,0 @@
2024-05-03 09:31:14,774 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:31:16,515 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0
2024-05-03 09:31:16,557 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 24 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:31:16,583 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:31:16,593 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:31:16,763 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 167 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:31:16,770 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:31:16,780 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:31:16,789 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:31:16,896 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 105 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:31:16,898 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:31:16,899 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1716411886
2024-05-03 09:31:16,899 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1126112943
2024-05-03 09:31:16,900 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:31:16,900 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:31:16,906 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:31:18,416 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714699877956_114.95.173.7_63082
2024-05-03 09:31:18,419 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Notify connected event to listeners.
2024-05-03 09:31:18,421 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:31:18,422 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e5f54ab0-aeea-4b52-a0cc-6fc9915e142e_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/895259838
2024-05-03 09:31:18,529 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:31:18,543 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:31:18,567 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:31:18,588 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:31:18,634 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:31:18,662 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:14)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:31:18,665 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:31:18,665 WARN [Thread-6] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:31:18,666 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:34:50,879 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:34:52,582 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0
2024-05-03 09:34:52,617 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 22 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:34:52,649 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 14 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:34:52,662 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:34:52,856 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 191 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:34:52,863 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:34:52,873 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:34:52,883 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:34:52,993 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 108 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:34:52,996 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:34:52,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/184642382
2024-05-03 09:34:52,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/694329275
2024-05-03 09:34:52,999 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:34:53,000 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:34:53,009 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:34:54,551 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700094001_114.95.172.249_53540
2024-05-03 09:34:54,552 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Notify connected event to listeners.
2024-05-03 09:34:54,553 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:34:54,555 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [317a6c6e-d638-4af6-b2bf-abd660aa06f5_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/619406819
2024-05-03 09:34:54,651 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:34:54,666 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:34:54,683 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:34:54,701 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:34:54,741 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:34:54,765 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:14)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:34:54,767 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:34:54,767 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:34:54,768 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:34:54,768 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:36:46,539 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:36:48,234 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0
2024-05-03 09:36:48,270 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 23 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:36:48,299 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 18 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:36:48,311 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:36:48,436 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 121 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:36:48,444 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:36:48,454 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:36:48,462 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:36:48,566 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 102 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:36:48,566 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:36:48,567 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1751753651
2024-05-03 09:36:48,567 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1790229151
2024-05-03 09:36:48,568 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:36:48,568 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:36:48,574 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:36:50,102 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700209643_114.95.173.7_61735
2024-05-03 09:36:50,106 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Notify connected event to listeners.
2024-05-03 09:36:50,107 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:36:50,108 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [caa4c8db-fa33-4f0e-86e3-d9a9e44c666b_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/1713596938
2024-05-03 09:36:50,229 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:36:50,242 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:36:50,266 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:36:50,280 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:36:50,319 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:36:50,344 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:36:50,346 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:36:50,346 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:36:50,346 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:36:50,347 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:39:34,197 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:39:35,900 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0
2024-05-03 09:39:35,950 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 36 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:39:36,000 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:39:36,011 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:39:36,157 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 144 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:39:36,166 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:39:36,175 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:39:36,183 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:39:36,299 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 114 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:39:36,300 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:39:36,301 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1926296244
2024-05-03 09:39:36,301 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1831717330
2024-05-03 09:39:36,302 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:39:36,302 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:39:36,311 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:39:37,734 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700377272_114.95.173.7_50773
2024-05-03 09:39:37,736 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Notify connected event to listeners.
2024-05-03 09:39:37,737 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:39:37,738 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [324b7ae9-7648-4103-9843-8eadd5cc9ef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/1016156941
2024-05-03 09:39:37,850 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:39:37,865 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:39:37,891 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:39:37,905 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:39:37,943 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:39:37,969 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:39:37,970 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:39:37,970 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:39:37,971 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:39:37,971 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:40:38,130 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:40:39,872 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of ea38668b-f88e-4334-8c2c-756a00e44013_config-0
2024-05-03 09:40:39,914 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 28 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:40:39,941 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 16 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:40:39,952 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:40:40,067 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 111 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:40:40,074 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:40:40,089 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:40:40,105 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:40:40,274 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 166 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:40:40,276 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:40:40,277 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/212874257
2024-05-03 09:40:40,277 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1280959582
2024-05-03 09:40:40,278 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:40:40,279 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:40:40,288 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:40:41,764 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700441253_114.95.172.249_51702
2024-05-03 09:40:41,765 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Notify connected event to listeners.
2024-05-03 09:40:41,765 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:40:41,767 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ea38668b-f88e-4334-8c2c-756a00e44013_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/158995547
2024-05-03 09:40:41,864 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:40:41,883 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:40:41,902 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:40:41,916 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:40:41,966 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:40:41,989 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:40:41,990 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:40:41,990 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:40:41,991 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:42:20,827 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:42:22,490 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0
2024-05-03 09:42:22,526 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 23 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:42:22,560 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 19 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:42:22,573 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:42:22,728 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 153 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:42:22,740 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:42:22,754 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:42:22,769 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:42:22,945 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 171 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:42:22,946 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:42:22,947 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1126112943
2024-05-03 09:42:22,947 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/212874257
2024-05-03 09:42:22,948 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:42:22,949 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:42:22,957 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:42:24,533 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700544002_114.95.173.7_62424
2024-05-03 09:42:24,535 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Notify connected event to listeners.
2024-05-03 09:42:24,536 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:42:24,538 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d58a1367-7b6a-46c6-ba53-bfd7e70ffe98_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/376668615
2024-05-03 09:42:24,652 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:42:24,669 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:42:24,691 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:42:24,710 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:42:24,750 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:42:24,775 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:42:24,776 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:42:24,776 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:42:24,777 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:42:24,777 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:43:43,635 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:43:45,394 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 1fb65e56-bd7e-4a58-b762-e67274de181e_config-0
2024-05-03 09:43:45,430 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 23 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:43:45,455 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 14 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:43:45,466 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:43:45,573 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 106 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:43:45,580 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:43:45,592 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:43:45,600 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:43:45,702 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 100 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:43:45,703 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:43:45,704 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1299885218
2024-05-03 09:43:45,704 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1615535645
2024-05-03 09:43:45,705 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:43:45,706 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:43:45,714 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:43:47,227 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700626664_114.95.173.7_61874
2024-05-03 09:43:47,230 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Notify connected event to listeners.
2024-05-03 09:43:47,231 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:43:47,232 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1fb65e56-bd7e-4a58-b762-e67274de181e_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/1423007887
2024-05-03 09:43:47,341 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:43:47,359 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:43:47,394 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:43:47,417 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:43:47,464 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:43:47,486 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:43:47,487 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:43:47,487 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:43:47,488 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:43:47,488 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:49:06,333 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:49:08,045 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0
2024-05-03 09:49:08,081 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 22 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:49:08,105 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:49:08,117 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:49:08,242 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 124 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:49:08,250 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:49:08,259 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:49:08,268 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:49:08,378 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 108 ms to scan 198 urls, producing 0 keys and 0 values
2024-05-03 09:49:08,379 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:49:08,380 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1716411886
2024-05-03 09:49:08,380 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/1126112943
2024-05-03 09:49:08,381 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:49:08,382 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:49:08,388 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:49:09,887 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714700949356_114.95.173.7_59863
2024-05-03 09:49:09,890 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Notify connected event to listeners.
2024-05-03 09:49:09,891 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:49:09,893 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c37b5110-c0a9-494e-9788-86a6b9c9009d_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/895259838
2024-05-03 09:49:10,002 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:49:10,019 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:49:10,033 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:49:10,046 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:49:10,085 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext [AbstractApplicationContext.java : 591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
2024-05-03 09:49:10,111 ERROR [main] o.s.boot.SpringApplication [SpringApplication.java : 819] Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\background\shopping_project\bwie-modules\bwie-alipay\target\classes\com\bwie\alipay\demo\controller\TestObserver.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276)
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.bwie.alipay.AlipayApplication.main(AlipayApplication.java:15)
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getDeclaredAnnotations(Class.java:3477)
at org.springframework.core.annotation.AnnotationsScanner.getDeclaredAnnotations(AnnotationsScanner.java:454)
at org.springframework.core.annotation.AnnotationTypeMappings.addMetaAnnotationsToQueue(AnnotationTypeMappings.java:84)
at org.springframework.core.annotation.AnnotationTypeMappings.addAllMappings(AnnotationTypeMappings.java:79)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:68)
at org.springframework.core.annotation.AnnotationTypeMappings.<init>(AnnotationTypeMappings.java:46)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.createMappings(AnnotationTypeMappings.java:245)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.springframework.core.annotation.AnnotationTypeMappings$Cache.get(AnnotationTypeMappings.java:241)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:199)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:182)
at org.springframework.core.annotation.AnnotationTypeMappings.forAnnotationType(AnnotationTypeMappings.java:169)
at org.springframework.core.annotation.TypeMappedAnnotation.of(TypeMappedAnnotation.java:597)
at org.springframework.core.annotation.MergedAnnotation.of(MergedAnnotation.java:610)
at org.springframework.core.type.classreading.MergedAnnotationReadingVisitor.visitEnd(MergedAnnotationReadingVisitor.java:95)
at org.springframework.asm.ClassReader.readElementValues(ClassReader.java:3010)
at org.springframework.asm.ClassReader.accept(ClassReader.java:610)
at org.springframework.asm.ClassReader.accept(ClassReader.java:426)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:49)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:429)
... 20 common frames omitted
2024-05-03 09:49:10,113 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:49:10,112 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:49:10,113 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:49:10,114 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:53:46,522 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-05-03 09:53:48,260 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0
2024-05-03 09:53:48,310 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 35 ms to scan 1 urls, producing 3 keys and 6 values
2024-05-03 09:53:48,337 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 15 ms to scan 1 urls, producing 4 keys and 9 values
2024-05-03 09:53:48,346 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 8 ms to scan 1 urls, producing 3 keys and 10 values
2024-05-03 09:53:48,470 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 123 ms to scan 193 urls, producing 0 keys and 0 values
2024-05-03 09:53:48,481 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 10 ms to scan 1 urls, producing 1 keys and 5 values
2024-05-03 09:53:48,493 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 1 keys and 7 values
2024-05-03 09:53:48,506 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 2 keys and 8 values
2024-05-03 09:53:48,662 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 152 ms to scan 193 urls, producing 0 keys and 0 values
2024-05-03 09:53:48,663 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-05-03 09:53:48,664 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$331/1269826537
2024-05-03 09:53:48,664 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$332/313149846
2024-05-03 09:53:48,666 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-05-03 09:53:48,667 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-05-03 09:53:48,677 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:53:50,190 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714701229653_114.95.173.5_56713
2024-05-03 09:53:50,193 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Notify connected event to listeners.
2024-05-03 09:53:50,194 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:53:50,195 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [bc81327c-8a2f-476a-b9f8-a15f8fb905ed_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/1409712092
2024-05-03 09:53:50,324 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-05-03 09:53:50,341 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-05-03 09:53:50,370 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-05-03 09:53:50,386 INFO [main] com.bwie.alipay.AlipayApplication [SpringApplication.java : 639] The following profiles are active: dev
2024-05-03 09:53:50,885 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-05-03 09:53:50,886 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-05-03 09:53:50,905 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
2024-05-03 09:53:51,189 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=273a9c70-dbbb-30c7-9499-33a879f109c3
2024-05-03 09:53:51,459 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-05-03 09:53:51,463 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-05-03 09:53:51,464 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$497/1251502504] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-03 09:53:51,467 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-05-03 09:53:51,502 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-05-03 09:53:51,506 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-05-03 09:53:51,678 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 108] Tomcat initialized with port(s): 9090 (http)
2024-05-03 09:53:51,688 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Initializing ProtocolHandler ["http-nio-9090"]
2024-05-03 09:53:51,688 INFO [main] o.a.catalina.core.StandardService [DirectJDKLog.java : 173] Starting service [Tomcat]
2024-05-03 09:53:51,689 INFO [main] o.a.catalina.core.StandardEngine [DirectJDKLog.java : 173] Starting Servlet engine: [Apache Tomcat/9.0.56]
2024-05-03 09:53:51,783 INFO [main] o.a.c.c.C.[Tomcat].[localhost].[/] [DirectJDKLog.java : 173] Initializing Spring embedded WebApplicationContext
2024-05-03 09:53:51,783 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 290] Root WebApplicationContext: initialization completed in 1383 ms
2024-05-03 09:53:52,006 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-05-03 09:53:52,009 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-05-03 09:53:52,044 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-05-03 09:53:52,044 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-05-03 09:53:52,537 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-05-03 09:53:53,997 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname
2024-05-03 09:53:56,440 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname
2024-05-03 09:53:56,583 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-05-03 09:53:56,736 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of ae77b3a8-9792-4cef-bea6-27c1e634a416
2024-05-03 09:53:56,736 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] RpcClient init label, labels = {module=naming, source=sdk}
2024-05-03 09:53:56,738 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-05-03 09:53:56,738 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-05-03 09:53:56,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-05-03 09:53:56,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-05-03 09:53:56,907 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714701236465_114.95.172.254_56716
2024-05-03 09:53:56,908 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Notify connected event to listeners.
2024-05-03 09:53:56,908 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-05-03 09:53:56,911 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$341/1409712092
2024-05-03 09:53:56,979 INFO [main] o.a.coyote.http11.Http11NioProtocol [DirectJDKLog.java : 173] Starting ProtocolHandler ["http-nio-9090"]
2024-05-03 09:53:56,990 INFO [main] o.s.b.w.e.tomcat.TomcatWebServer [TomcatWebServer.java : 220] Tomcat started on port(s): 9090 (http) with context path ''
2024-05-03 09:53:57,014 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP bwie-alipay 192.168.88.1:9090 register finished
2024-05-03 09:53:57,523 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Receive server push request, request = NotifySubscriberRequest, requestId = 389
2024-05-03 09:53:57,529 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ae77b3a8-9792-4cef-bea6-27c1e634a416] Ack server push request, request = NotifySubscriberRequest, requestId = 389
2024-05-03 09:53:58,373 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname
2024-05-03 09:53:58,398 INFO [main] com.bwie.alipay.AlipayApplication [StartupInfoLogger.java : 61] Started AlipayApplication in 13.632 seconds (JVM running for 14.43)
2024-05-03 09:54:36,512 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-05-03 09:54:36,512 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-05-03 09:54:36,513 WARN [Thread-13] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-05-03 09:54:36,514 WARN [Thread-5] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-05-03 09:54:36,877 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 90] De-registering from Nacos Server now...
2024-05-03 09:54:36,893 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 110] De-registration finished.
2024-05-03 09:54:37,227 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-05-03 09:54:37,228 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@116f79a7[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-05-03 09:54:37,228 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714701236465_114.95.172.254_56716
2024-05-03 09:54:37,238 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@ec81982[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 16]
2024-05-03 09:54:37,241 WARN [SpringApplicationShutdownHook] o.s.b.f.s.DisposableBeanAdapter [DisposableBeanAdapter.java : 328] Custom destroy method 'close' on bean with name 'nacosServiceRegistry' threw an exception: java.lang.NullPointerException
2024-05-03 09:54:37,244 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...

View File

@ -1,28 +0,0 @@
package com.bwie;
import com.bwie.common.handler.GlobalExceptionHandle;
import com.bwie.common.redis.RedisCache;
import com.bwie.common.remote.system.RemoteUserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableFeignClients("com.bwie.**")
@Import({GlobalExceptionHandle.class, RedisCache.class, RemoteUserService.class})
public class AuthApp {
public static void main(String[] args) {
SpringApplication.run(AuthApp.class,args);
}
}

View File

@ -1,92 +0,0 @@
package com.bwie.auth.controller;
import com.bwie.auth.service.AuthService;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.domain.request.PhoneLoginRequest;
import com.bwie.common.domain.request.UserReq;
import com.bwie.common.domain.request.UserResponse;
import com.bwie.common.result.Result;
import org.springframework.web.bind.annotation.*;
@RestController
public class AuthController {
private final AuthService authService;
public AuthController(AuthService authService) {
this.authService = authService;
}
/**
*
* @param loginRequest
* @return
*/
@PostMapping("/login")
public Result<UserResponse> login(@RequestBody LoginRequest loginRequest){
return Result.success(
authService.login(loginRequest)
);
}
/**
*
* @param userReq
* @return
*/
@PostMapping("/reg")
public Result regUser(@RequestBody UserReq userReq){
return authService.reg(userReq);
}
/**
*
* @param userPhone
* @return
*/
@GetMapping("/sendCode/{userPhone}")
public Result sencCode(@PathVariable("userPhone") String userPhone){
return authService.sendCode(userPhone);
}
/**
*
* @param userPhone
* @return
*/
@PostMapping("/sendCode/{userPhone}")
public Result sendCode(@PathVariable String userPhone){
Result result = authService.sencCode(userPhone);
return result;
}
/**
*
* @param phoneLoginRequest
* @return
*/
@PostMapping("/phoneLogin")
public Result phoneLogin1(@RequestBody PhoneLoginRequest phoneLoginRequest){
Result result = authService.phoneLogin(phoneLoginRequest);
return Result.success(result);
}
/**
*
* @return
*/
@GetMapping("/info")
public Result<User> getInfo(){
return Result.success(
authService.getInfo()
);
}
}

View File

@ -1,25 +0,0 @@
package com.bwie.auth.service;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.domain.request.PhoneLoginRequest;
import com.bwie.common.domain.request.UserReq;
import com.bwie.common.domain.request.UserResponse;
import com.bwie.common.result.Result;
public interface AuthService {
Result reg(UserReq userReq);
Result sendCode(String userPhone);
UserResponse login(LoginRequest loginRequest);
User getInfo();
Result sencCode(String userPhone);
Result phoneLogin(PhoneLoginRequest phoneLoginRequest);
}

View File

@ -1,159 +0,0 @@
package com.bwie.auth.service.impl;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.crypto.SecureUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.bwie.auth.service.AuthService;
import com.bwie.common.constant.JwtConstants;
import com.bwie.common.constant.TokenConstants;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.domain.request.PhoneLoginRequest;
import com.bwie.common.domain.request.UserReq;
import com.bwie.common.domain.request.UserResponse;
import com.bwie.common.redis.RedisCache;
import com.bwie.common.remote.system.RemoteUserService;
import com.bwie.common.result.BizException;
import com.bwie.common.result.Result;
import com.bwie.common.utils.JwtUtils;
import com.bwie.common.utils.SecurityUtils;
import com.bwie.common.utils.StringUtils;
import io.jsonwebtoken.Claims;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
@Service
public class AuthServiceImpl implements AuthService {
@Autowired
private RemoteUserService remoteLoginService;
@Autowired
private StringRedisTemplate redisTemplate;
@Autowired
private RedisCache redisCache;
@Autowired
private HttpServletRequest request;
@Override
public UserResponse login(LoginRequest loginRequest) {
Assert.isTrue(
!StringUtils.isAnyBlank(loginRequest.getUserPwd(),
loginRequest.getUserName()),"账号或密码不能为空"
);
Result<User> result = remoteLoginService.login(loginRequest);
User user = result.getData();
Assert.notNull(user,"该账号不是系统用户");
HashMap<String, Object> map = new HashMap<>();
String userKey = UUID.randomUUID().toString().replaceAll("-", "");
map.put(JwtConstants.USER_KEY,userKey);
map.put(JwtConstants.DETAILS_USERNAME,user.getUserName());
map.put(JwtConstants.DETAILS_USER_ID,user.getUserId());
String token = JwtUtils.createToken(map);
redisCache.setCacheObject(
TokenConstants.LOGIN_TOKEN_KEY+userKey,
JSON.toJSONString(user),
TokenConstants.EXPIRATION,
TimeUnit.SECONDS
);
return UserResponse.builder()
.token(token)
.expired(TokenConstants.EXPIRATION)
.build();
}
@Override
public Result reg(UserReq userReq) {
String password = SecureUtil.md5(userReq.getUserPwd() + "|" +"");
Result result = remoteLoginService.register(
User.builder()
.userName(userReq.getUserName())
.userPwd(password)
.userPhone(userReq.getUserPhone())
.userRole(userReq.getUserRole())
.build()
);
return result;
}
@Override
public Result sendCode(String userPhone) {
Result<User> result = remoteLoginService.findByPhone(userPhone);
User user = result.getData();
if(null == user){
throw new BizException(408,"请先注册手机号");
}
String code = RandomUtil.randomNumbers(4);
redisCache.setCacheObject("Send_sms_"+userPhone,code);
return Result.success("验证码为:"+code,"发送成功");
}
@Override
public Result sencCode(String userPhone) {
Result<User> result = remoteLoginService.phoneLogin(userPhone);
if(StringUtils.isNull(result.getData())){
return Result.error("手机号不存在");
}
String code = RandomUtil.randomNumbers(4);
System.out.println("验证码为:"+code);
redisTemplate.opsForValue().set(userPhone,code,5,TimeUnit.MINUTES);
return result;
}
@Override
public Result phoneLogin(PhoneLoginRequest phoneLoginRequest) {
Result<User> result = remoteLoginService.phoneLogin(phoneLoginRequest.getUserPhone());
User user = result.getData();
if(null==user){
return Result.error("手机号不存在");
}
if(!redisTemplate.hasKey(phoneLoginRequest.getUserPhone())){
return Result.error("验证码过期");
}
String code = redisTemplate.opsForValue().get(phoneLoginRequest.getUserPhone());
if(!phoneLoginRequest.getUserCode().equals(code)){
return Result.error("验证码错误");
}
HashMap<String, Object> map = new HashMap<>();
String userKey = UUID.randomUUID().toString().replaceAll("-","");
map.put(JwtConstants.DETAILS_USERNAME,user.getUserName());
map.put(JwtConstants.DETAILS_USER_ID,user.getUserId());
map.put(JwtConstants.USER_KEY,userKey);
String token = JwtUtils.createToken(map);
redisCache.setCacheObject(TokenConstants.LOGIN_TOKEN_KEY, user, TokenConstants.EXPIRATION, TimeUnit.HOURS);
UserResponse userResponse = new UserResponse();
userResponse.setToken(token);
userResponse.setExpired(TokenConstants.EXPIRATION);
return Result.success(userResponse,"登陆成功");
}
@Override
public User getInfo() {
String token = request.getHeader(TokenConstants.TOKEN);
Claims claims = JwtUtils.parseToken(token);
String userKey = JwtUtils.getUserKey(claims);
String cacheObject = redisCache.getCacheObject(TokenConstants.LOGIN_TOKEN_KEY + userKey);
User user = JSONObject.parseObject(cacheObject, User.class);
return user;
}
}

View File

@ -110,9 +110,5 @@
<artifactId>fastjson2</artifactId>
<version>2.0.42</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -2,5 +2,5 @@ package com.bwie.common.constant;
public class ServerNameConstants {
public final static String SYSTEM_NAME="bwie-User";
public final static String SYSTEM_NAME="bwie-system";
}

View File

@ -1,37 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("order")
public class BuyOrder {
private Long orderId;
private Long userId;
private String userPhone;
private Integer orderState;
private Integer orderInventory;
private String orderName;
private String orderNumber;
private Long attrId;
private Long addrId;
private BigDecimal orderPrice;
private Date createTime;
private Date updateTime;
private Integer isDelete;
private String orderAddr;
}

View File

@ -1,40 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_attr")
public class GoodAttr {
@TableId(value = "id",type = IdType.AUTO)
private Long id;//属性ID
@TableField("name")
private String name;//属性名称
@TableField("search_type")
private Integer searchType;//是否需要检索(0.不需要,1.需要)
@TableField("icon")
private String icon;//属性图标
@TableField("value_select")
private String valueSelect;//可选值链表(用逗号分隔)
@TableField("type")
private Integer type;//属性类型[0-销售属性1-基本属性2-既是销售属性又是基本属性]
@TableField("enable")
private Integer enable;//启用状态[0 - 禁用1 - 启用]
@TableField("show_desc")
private Integer showDesc;//快速展示【是否展示在介绍上0-否 1-是】在sku中仍然可以调整
@TableField("category_id")
private Long categoryId;//所属分类
}

View File

@ -1,43 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
/**
* sku
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("good_sku")
public class GoodSku {
@TableId(value = "id",type = IdType.AUTO)
private Long id;//正常的ID
@TableField("spu_id")
private Long spuId;//spuId
@TableField("name")
private String name;//名称
@TableField("category_id")
private Long categoryId;//类型ID
@TableField("default_image")
private String defaultImage;//图片
@TableField("title")
private String title;//标题
@TableField("subtitle")
private String subTitle;//副标题
@TableField("price")
private BigDecimal price;
@TableField("weight")
private Integer weight;
}

View File

@ -1,51 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
* spu
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_spu")
public class GoodSpu {
@TableId(value = "id",type = IdType.AUTO)
private Long id;//物品ID
@TableField("name")
private String name;//物品名称
@TableField("good_sales")
private Integer goodSales;//物品销量
@TableField("good_inventory")
private Integer goodInventory;//物品库存
@TableField("category_id")
private Long categoryId;//物品类型ID
@TableField("publish_status")
private Integer publishStatus;//上架状态(0.下架,1.上架)
@TableField("keywords")
private String keyWords;//关键字
@TableField("good_brief")
private String goodBrief;//物品简介
@TableField("good_unit")
private String goodUnit;//物品单位
@TableField("good_freight")
private Integer goodFreight;//运费模版
@TableField("create_time")
private Date createTime;//创建时间字段
@TableField("update_time")
private Date updateTime;//修改时间字段
@TableField("is_delete")
private Integer isDelete;//逻辑删除字段
}

View File

@ -1,30 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_category")
public class GoodsCateGory {
@TableId(value = "id",type = IdType.AUTO)
private Long id;//正常的Id
@TableField("name")
private String name;//名称
@TableField("parent_id")
private Long parentId;//父类ID
@TableField("status")
private Long status;//是否显示(0.不显示,1.显示)
}

View File

@ -1,31 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* sku
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_sku_attr_value")
public class GoodsSkuAttrValue {
@TableField("id")
private Long id;//正常主键ID
@TableField("skuId")
private Long skuId;//skuId
@TableField("attrId")
private Long attrId;//属性的ID
@TableField("attrName")
private String attrName;//属性名称
@TableField("attrValue")
private String attrValue;//属性值
}

View File

@ -1,33 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* spu
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_spu_attr_value")
public class GoodsSpuAttrValue {
@TableId(value = "id",type = IdType.AUTO)
private Long id;//Id
@TableField("spu_id")
private Long spuId;//商品ID
@TableField("attr_id")
private Long attrId;//属性ID
@TableField("attr_name")
private String attrName;//属性名字
@TableField("attr_value")
private String attrValue;//属性值
}

View File

@ -1,26 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_spu_images")
public class GoodsSpuImages {
@TableField("id")
private Long id;//正常主键的ID
@TableField("spuId")
private Long spuId;//spuId
@TableField("url")
private String url;//图片的路径
@TableField("default_status")
private Integer defaultStatus;//(0.封面图,1.轮播图)
}

View File

@ -1,36 +0,0 @@
package com.bwie.common.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Order {
private Long ordersId;//订单ID
private String ordersNumber;//订单编号
private Long userId;//支付人ID
private BigDecimal ordersPrice;//支付金额
private Integer isDelete;//逻辑删除
private Integer ordersStatus;//订单状态
private Long houseId;//房源表ID
private String userTel;//支付人手机号
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyyy-MM-dd HH:mm:ss")
private Date udpTime;//最新更改订单时间
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyyy-MM-dd HH:mm:ss")
private Date createTime;
}

View File

@ -1,42 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("trade")
public class PaymentEntity {
private Long tradeId;
private String tradeNum;
private String ordersNumber;
private BigDecimal tradeMoney;
private Integer tradeStatus;
private String thirdNum;
private Integer thirdStatus;
private String thirdMessage;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date backTime;
private String tradeType;
private Integer isDelete;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updTime;
private Long userId;
}

View File

@ -1,48 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("group")
public class Team {
private Long id;
private Long goodsSpuId;
private String title;
private String groupIntroduce;
private Date groupStart;
private String unit;
private Date groupEnd;
private Integer hours;
private Integer groupPeople;
private Integer groupNum;
private Integer sort;
private BigDecimal groupOrigin;
private Integer freightStatus;
private Integer activityStatus;
private Date createTime;
private Date updateTime;
private Integer isDelete;
}

View File

@ -1,40 +0,0 @@
package com.bwie.common.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Trade {
private Long tradeId;
private String tradeNum;
private String ordersNumber;
private BigDecimal tradeMoney;
private Integer tradeStatus;
private String thirdNum;
private String thirdStatus;
private String thirdMessage;
private String tradeType;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyyy-MM-dd HH:mm:ss")
private Date backTime;
private Integer isdelete;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyyy-MM-dd HH:mm:ss")
private Date createTime;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyyy-MM-dd HH:mm:ss")
private Date updTime;
}

View File

@ -1,32 +0,0 @@
package com.bwie.common.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
*
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
public class User {
private Long userId;//用户名Id
private String userName;//用户名
private String userPwd;//密码
private String userPhone;//手机号
private Integer userRole;//角色
private Integer userGrade;//用户等级
private Date createTime;//创建时间
private Date updateTime;//修改时间
private Integer isDelete;//逻辑删除
}

View File

@ -1,17 +0,0 @@
package com.bwie.common.domain.request;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginRequest {
private String userName;
private String userPwd;
}

View File

@ -1,16 +0,0 @@
package com.bwie.common.domain.request;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PhoneLoginRequest {
private String userPhone;
private String userCode;
}

View File

@ -1,53 +0,0 @@
package com.bwie.common.domain.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserReq {
private String userName;
/*
*/
private String userPwd;
/*
*/
private String userPhone;
/*
()
*/
private Integer userGrade;
/*
0- 1-
*/
private Integer userRole;
/*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date createTime;
/*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date updateTime;
/*
*/
private Integer isDelete;
}

View File

@ -1,16 +0,0 @@
package com.bwie.common.domain.request;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserResponse {
private String token;
private Long expired;
}

View File

@ -1,43 +1,11 @@
package com.bwie.common.remote.system;
import com.bwie.common.constant.ServerNameConstants;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.remote.system.factory.RemoteUserFactory;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
@FeignClient(
name = "bwie-User",
fallbackFactory = RemoteUserFactory.class
name = ServerNameConstants.SYSTEM_NAME,
fallbackFactory = RemoteUserService.class
)
public interface RemoteUserService {
@PostMapping("addpoint")
public Result addpoint(@RequestParam Long userId, @RequestParam Integer point);
@PostMapping("/login")
public Result<User> login(@RequestBody LoginRequest loginRequest);
@PostMapping("/register")
public Result register(@RequestBody User user);
@GetMapping("/findByPhone/{userPhone}")
public Result<User> findByPhone(@PathVariable("userPhone") String userPhone);
@PostMapping("/phoneLogin/{userPhone}")
public Result<User> phoneLogin(@PathVariable("userPhone") String userPhone);
}

View File

@ -1,55 +1,15 @@
package com.bwie.common.remote.system.factory;
import com.bwie.common.domain.User;
import com.bwie.common.domain.request.LoginRequest;
import com.bwie.common.remote.system.RemoteUserService;
import com.bwie.common.result.Result;
import lombok.extern.log4j.Log4j2;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
@Component
@Log4j2
public class RemoteUserFactory implements FallbackFactory<RemoteUserService> {
@Override
public RemoteUserService create(Throwable cause) {
return new RemoteUserService() {
@Override
public Result addpoint(Long userId, Integer point) {
log.error("添加积分失败{}",cause.getMessage(),cause,userId,point);
return Result.error(cause.getMessage());
}
@Override
public Result<User> login(@RequestBody LoginRequest loginRequest){
log.error("用户登录失败:[{}]",cause.getMessage(),cause);
return Result.error(cause.getMessage());
}
@Override
public Result register(@RequestBody User user){
log.error("用户登录失败:[{}]",cause.getMessage(),cause);
return Result.error(cause.getMessage());
}
@Override
public Result<User> findByPhone(@PathVariable("userPhone") String userPhone){
log.error("手机号登录失败:[{}]",cause.getMessage(),cause);
return Result.error(cause.getMessage());
}
@Override
public Result<User> phoneLogin(@PathVariable String userPhone){
log.error("手机号登录失败:[{}]",cause.getMessage(),cause);
return Result.error(cause.getMessage());
}
};
return null;
}
}

View File

@ -1,56 +0,0 @@
package com.bwie.common.result;
/**
* @ClassName
* @Description
* @Author XuWen.Luo
* @Date
*/
public class BizException extends RuntimeException {
private static final long serialVersionUID = 1L;
private String msg;
private int code = 500;
public BizException(String msg) {
super(msg);
this.msg = msg;
}
public BizException(String msg, Throwable e) {
super(msg, e);
this.msg = msg;
}
public BizException(int code, String msg) {
super(msg);
this.msg = msg;
this.code = code;
}
public BizException(String msg, int code, Throwable e) {
super(msg, e);
this.msg = msg;
this.code = code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
}

View File

@ -1,477 +0,0 @@
2024-04-28 21:45:08,554 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 21:45:08,560 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 21:45:08,561 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 21:45:08,658 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 21:45:08,736 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 21:45:08,748 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3382f8ae, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@60641ec8, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@75f65e45, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6eeade6c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4a891c97, org.springframework.test.context.support.DirtiesContextTestExecutionListener@a5bd950, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4d18aa28, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@75390459, org.springframework.test.context.event.EventPublishingTestExecutionListener@7756c3cd, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@2313052e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@6cfcd46d, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@52045dbe]
2024-04-28 21:45:09,266 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 21:45:09,815 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0
2024-04-28 21:45:09,868 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 28 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 21:45:09,903 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 21:45:09,912 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 21:45:09,916 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:45:09,920 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 21:45:09,927 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 21:45:09,932 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 21:45:09,934 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:45:09,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 21:45:09,936 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$709/0x0000018b6139acc8
2024-04-28 21:45:09,936 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$710/0x0000018b6139aee8
2024-04-28 21:45:09,937 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 21:45:09,937 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 21:45:09,946 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:45:10,787 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714311909844_114.95.173.5_57172
2024-04-28 21:45:10,789 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Notify connected event to listeners.
2024-04-28 21:45:10,789 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:45:10,790 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c307aebc-fd72-46d8-9d4c-b726f3eefef7_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$725/0x0000018b61523d48
2024-04-28 21:45:10,864 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 21:45:10,874 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 21:45:10,891 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 21:45:10,911 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 21:45:11,440 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 21:45:11,442 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 21:45:11,463 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
2024-04-28 21:45:11,671 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 21:45:12,055 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:45:12,059 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:45:12,061 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$882/0x0000018b616d38b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 21:45:12,063 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:45:12,091 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:45:12,094 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:45:12,540 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 21:45:12,547 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:45:12,602 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 21:45:12,603 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:45:13,914 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 21:45:15,892 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 21:45:15,971 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 7fd82d10-ee91-496a-9c29-87756451d453
2024-04-28 21:45:15,971 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 21:45:15,973 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 21:45:15,974 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 21:45:15,974 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 21:45:15,975 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:45:16,113 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714311915233_114.95.173.5_57175
2024-04-28 21:45:16,114 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Notify connected event to listeners.
2024-04-28 21:45:16,114 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:45:16,115 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$725/0x0000018b61523d48
2024-04-28 21:45:16,159 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.365 seconds (JVM running for 8.403)
2024-04-28 21:45:16,542 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 21:45:16,543 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 21:45:16,543 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 21:45:16,543 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 21:45:16,652 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Receive server push request, request = NotifySubscriberRequest, requestId = 256
2024-04-28 21:45:16,653 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [7fd82d10-ee91-496a-9c29-87756451d453] Ack server push request, request = NotifySubscriberRequest, requestId = 256
2024-04-28 21:45:17,132 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 21:45:17,133 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@1b17eb5a[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 21:45:17,133 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714311915233_114.95.173.5_57175
2024-04-28 21:45:17,142 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@46419afc[Running, pool size = 7, active threads = 0, queued tasks = 0, completed tasks = 7]
2024-04-28 21:45:17,144 INFO [nacos-grpc-client-executor-7] c.a.n.c.r.client.grpc.GrpcClient [LoggerUtils.java : 60] [1714311915233_114.95.173.5_57175]Ignore complete event,isRunning:false,isAbandon=false
2024-04-28 21:45:17,146 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 21:54:12,476 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 21:54:12,480 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 21:54:12,480 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 21:54:12,567 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 21:54:12,641 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 21:54:12,651 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
2024-04-28 21:54:13,104 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 21:54:13,636 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0
2024-04-28 21:54:13,678 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 20 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 21:54:13,712 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 15 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 21:54:13,719 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 21:54:13,722 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:54:13,729 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 21:54:13,736 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 21:54:13,742 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 2 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 21:54:13,745 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:54:13,746 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 21:54:13,747 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x000002372739d500
2024-04-28 21:54:13,747 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x000002372739d720
2024-04-28 21:54:13,748 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 21:54:13,748 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 21:54:13,755 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:54:14,544 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312453603_114.95.173.5_53518
2024-04-28 21:54:14,544 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Notify connected event to listeners.
2024-04-28 21:54:14,544 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:54:14,546 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [0a1be92d-e8cb-45c8-9f47-22a26aa79c24_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x00000237274e48d0
2024-04-28 21:54:14,607 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 21:54:14,622 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 21:54:14,641 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 21:54:14,656 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 21:54:15,153 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 21:54:15,157 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 21:54:15,177 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
2024-04-28 21:54:15,424 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 21:54:15,757 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:54:15,759 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:54:15,761 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x00000237276a72f8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 21:54:15,762 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:54:15,792 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:54:15,795 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:54:16,281 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 21:54:16,290 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:54:16,327 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 21:54:16,327 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:54:17,297 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 21:54:18,938 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 21:54:19,066 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of f8b92c1e-266f-4006-9209-65a40ce85dc8
2024-04-28 21:54:19,066 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 21:54:19,068 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 21:54:19,068 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 21:54:19,069 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 21:54:19,069 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:54:19,227 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312458335_114.95.172.249_53523
2024-04-28 21:54:19,228 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Notify connected event to listeners.
2024-04-28 21:54:19,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:54:19,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x00000237274e48d0
2024-04-28 21:54:19,269 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.585 seconds (JVM running for 7.477)
2024-04-28 21:54:19,566 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 21:54:19,566 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 21:54:19,566 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 21:54:19,567 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 21:54:19,780 INFO [nacos-grpc-client-executor-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Receive server push request, request = NotifySubscriberRequest, requestId = 258
2024-04-28 21:54:19,781 INFO [nacos-grpc-client-executor-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [f8b92c1e-266f-4006-9209-65a40ce85dc8] Ack server push request, request = NotifySubscriberRequest, requestId = 258
2024-04-28 21:54:20,247 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 21:54:20,248 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@512a5e57[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 21:54:20,248 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312458335_114.95.172.249_53523
2024-04-28 21:54:20,250 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@72e9cbb1[Running, pool size = 9, active threads = 0, queued tasks = 0, completed tasks = 9]
2024-04-28 21:54:20,251 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 21:54:59,452 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 21:54:59,456 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 21:54:59,458 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 21:54:59,558 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 21:54:59,628 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 21:54:59,637 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
2024-04-28 21:55:00,107 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 21:55:00,616 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of b1927ab9-4d25-4752-aec6-c6d2196577af_config-0
2024-04-28 21:55:00,663 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 21 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 21:55:00,712 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 21:55:00,729 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 13 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 21:55:00,732 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:55:00,736 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 2 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 21:55:00,742 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 21:55:00,747 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 21:55:00,749 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:55:00,749 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x0000021ec739cfb8
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x0000021ec739d1d8
2024-04-28 21:55:00,750 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 21:55:00,751 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 21:55:00,757 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:55:01,556 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312500603_114.95.172.249_49712
2024-04-28 21:55:01,559 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Notify connected event to listeners.
2024-04-28 21:55:01,560 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:55:01,561 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b1927ab9-4d25-4752-aec6-c6d2196577af_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x0000021ec74e3d48
2024-04-28 21:55:01,637 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 21:55:01,651 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 21:55:01,674 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 21:55:01,697 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 21:55:02,211 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 21:55:02,215 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 21:55:02,244 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
2024-04-28 21:55:02,526 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 21:55:02,894 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:02,897 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:02,899 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x0000021ec769e8b0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 21:55:02,901 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:02,935 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:02,938 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:03,411 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 21:55:03,422 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:55:03,466 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 21:55:03,466 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:55:04,346 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 21:55:05,840 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 21:55:05,954 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 13d833cd-e3b5-471e-8945-888d53ee46ef
2024-04-28 21:55:05,954 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 21:55:05,956 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 21:55:05,956 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 21:55:05,957 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 21:55:05,958 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:55:06,099 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312505213_114.95.172.249_49756
2024-04-28 21:55:06,100 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Notify connected event to listeners.
2024-04-28 21:55:06,100 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:55:06,100 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x0000021ec74e3d48
2024-04-28 21:55:06,143 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.469 seconds (JVM running for 7.368)
2024-04-28 21:55:06,439 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 21:55:06,439 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 21:55:06,439 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 21:55:06,439 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 21:55:06,641 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Receive server push request, request = NotifySubscriberRequest, requestId = 260
2024-04-28 21:55:06,643 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [13d833cd-e3b5-471e-8945-888d53ee46ef] Ack server push request, request = NotifySubscriberRequest, requestId = 260
2024-04-28 21:55:07,105 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 21:55:07,106 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@1b2baf8e[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 21:55:07,106 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312505213_114.95.172.249_49756
2024-04-28 21:55:07,108 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@7facf961[Running, pool size = 8, active threads = 0, queued tasks = 0, completed tasks = 8]
2024-04-28 21:55:07,110 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 21:55:35,401 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 21:55:35,406 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 21:55:35,407 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 21:55:35,500 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 21:55:35,577 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 21:55:35,588 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@20a14b55, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@39ad977d, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@6da00fb9, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a202ccb, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@20f12539, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75b25825, org.springframework.test.context.transaction.TransactionalTestExecutionListener@18025ced, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@13cf7d52, org.springframework.test.context.event.EventPublishingTestExecutionListener@3a3e4aff, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5d2a4eed, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@78fbff54, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3e10dc6]
2024-04-28 21:55:36,050 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 21:55:36,569 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0
2024-04-28 21:55:36,619 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 24 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 21:55:36,656 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 9 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 21:55:36,671 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 12 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 21:55:36,675 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:55:36,678 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 1 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 21:55:36,685 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 21:55:36,690 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 21:55:36,691 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 21:55:36,692 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 21:55:36,693 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$711/0x00000298b339a7e8
2024-04-28 21:55:36,694 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x00000298b339aa08
2024-04-28 21:55:36,695 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 21:55:36,695 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 21:55:36,701 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:55:37,484 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312536541_114.95.172.249_63717
2024-04-28 21:55:37,487 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Notify connected event to listeners.
2024-04-28 21:55:37,487 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:55:37,489 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c30a27a7-4b82-4b64-bb31-dd399933d8bd_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$726/0x00000298b34e3d48
2024-04-28 21:55:37,557 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 21:55:37,570 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 21:55:37,592 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 21:55:37,615 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 21:55:38,121 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 21:55:38,123 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 21:55:38,141 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
2024-04-28 21:55:38,421 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 21:55:38,793 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:38,796 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:38,799 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$883/0x00000298b369bae0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 21:55:38,800 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:38,823 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:38,828 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 21:55:39,297 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 21:55:39,302 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:55:39,344 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 21:55:39,345 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 21:55:40,261 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 21:55:41,847 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 21:55:41,933 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 349afa2b-00be-4653-9f6e-7700a58d4128
2024-04-28 21:55:41,933 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 21:55:41,934 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 21:55:41,935 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714312541187_114.95.173.5_63732
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 21:55:42,076 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Notify connected event to listeners.
2024-04-28 21:55:42,076 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$726/0x00000298b34e3d48
2024-04-28 21:55:42,112 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.488 seconds (JVM running for 7.395)
2024-04-28 21:55:42,392 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 21:55:42,392 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 21:55:42,393 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 21:55:42,393 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 21:55:42,663 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Receive server push request, request = NotifySubscriberRequest, requestId = 261
2024-04-28 21:55:42,665 INFO [nacos-grpc-client-executor-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [349afa2b-00be-4653-9f6e-7700a58d4128] Ack server push request, request = NotifySubscriberRequest, requestId = 261
2024-04-28 21:55:43,091 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 21:55:43,092 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@4377c03b[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 21:55:43,092 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714312541187_114.95.173.5_63732
2024-04-28 21:55:43,094 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@3f2f4dba[Running, pool size = 8, active threads = 0, queued tasks = 0, completed tasks = 8]
2024-04-28 21:55:43,096 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 22:20:40,402 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 22:20:40,407 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 22:20:40,408 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 22:20:40,506 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 22:20:40,586 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 22:20:40,596 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@75f65e45, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6eeade6c, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a891c97, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a5bd950, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4d18aa28, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75390459, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7756c3cd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2313052e, org.springframework.test.context.event.EventPublishingTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6cfcd46d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@52045dbe, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@674658f7, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5c8eee0f]
2024-04-28 22:20:41,108 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 22:20:41,686 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 470be299-3896-4977-814e-8d92d0de18cf_config-0
2024-04-28 22:20:41,747 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 31 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 22:20:41,773 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 7 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 22:20:41,781 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 22:20:41,784 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:20:41,790 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 22:20:41,800 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 22:20:41,807 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 22:20:41,810 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:20:41,812 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 22:20:41,812 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x000001b6283e5a58
2024-04-28 22:20:41,813 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$713/0x000001b6283e5c78
2024-04-28 22:20:41,813 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 22:20:41,814 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 22:20:41,821 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:20:42,656 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314041700_114.95.173.7_65480
2024-04-28 22:20:42,657 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Notify connected event to listeners.
2024-04-28 22:20:42,658 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:20:42,658 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [470be299-3896-4977-814e-8d92d0de18cf_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x000001b62851d3c8
2024-04-28 22:20:42,750 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 22:20:42,763 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 22:20:42,780 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 22:20:42,802 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 22:20:43,373 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 22:20:43,375 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 22:20:43,396 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces.
2024-04-28 22:20:43,641 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 22:20:44,029 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:20:44,032 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:20:44,034 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$885/0x000001b6286d4000] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 22:20:44,037 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:20:44,066 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:20:44,070 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:20:44,594 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 22:20:44,598 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:20:44,649 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 22:20:44,649 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:20:45,766 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 22:20:47,645 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 22:20:47,737 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 5e74941a-b26e-4400-a7a0-77b5a922f557
2024-04-28 22:20:47,737 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 22:20:47,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 22:20:47,739 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 22:20:47,740 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 22:20:47,740 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314046984_114.95.173.7_65481
2024-04-28 22:20:47,880 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Notify connected event to listeners.
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:20:47,880 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x000001b62851d3c8
2024-04-28 22:20:47,920 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.281 seconds (JVM running for 8.474)
2024-04-28 22:20:48,226 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 22:20:48,226 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 22:20:48,226 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 22:20:48,227 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 22:20:48,419 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Receive server push request, request = NotifySubscriberRequest, requestId = 265
2024-04-28 22:20:48,420 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5e74941a-b26e-4400-a7a0-77b5a922f557] Ack server push request, request = NotifySubscriberRequest, requestId = 265
2024-04-28 22:20:48,898 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 22:20:48,898 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@314684ec[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 22:20:48,899 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314046984_114.95.173.7_65481
2024-04-28 22:20:48,903 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@57c7dcc2[Running, pool size = 6, active threads = 0, queued tasks = 0, completed tasks = 6]
2024-04-28 22:20:48,905 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 22:21:17,002 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 22:21:17,006 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 22:21:17,007 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 22:21:17,103 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 22:21:17,173 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 22:21:17,183 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6da00fb9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@a202ccb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@20f12539, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@75b25825, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@18025ced, org.springframework.test.context.support.DirtiesContextTestExecutionListener@13cf7d52, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3a3e4aff, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@5d2a4eed, org.springframework.test.context.event.EventPublishingTestExecutionListener@57459491, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3f0846c6, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@77a98a6a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78fbff54, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3e10dc6, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7e22550a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@45e37a7e]
2024-04-28 22:21:17,643 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 22:21:18,108 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0
2024-04-28 22:21:18,156 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 22 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 22:21:18,195 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 14 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 22:21:18,203 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 22:21:18,207 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:21:18,211 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 22:21:18,217 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 22:21:18,224 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 3 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 22:21:18,227 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:21:18,228 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 22:21:18,229 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$714/0x000001c4a939d5a8
2024-04-28 22:21:18,230 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$715/0x000001c4a939d7c8
2024-04-28 22:21:18,231 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 22:21:18,232 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 22:21:18,246 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:21:19,014 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314078061_114.95.172.254_65524
2024-04-28 22:21:19,017 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Notify connected event to listeners.
2024-04-28 22:21:19,017 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:21:19,018 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8dc329c-95c4-4b99-b3b5-fbaa0fdab2d3_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x000001c4a94e4d48
2024-04-28 22:21:19,100 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 22:21:19,113 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 22:21:19,163 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 22:21:19,203 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 22:21:19,699 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 22:21:19,702 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 22:21:19,725 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces.
2024-04-28 22:21:19,953 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 22:21:20,317 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:21:20,320 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:21:20,322 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$886/0x000001c4a969f798] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 22:21:20,323 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:21:20,348 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:21:20,352 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:21:20,827 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 22:21:20,834 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:21:20,871 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 22:21:20,872 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:21:21,692 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 22:21:23,273 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 22:21:23,335 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 1e576cf3-3599-4049-96b7-67e9344fd1df
2024-04-28 22:21:23,335 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 22:21:23,336 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 22:21:23,337 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:21:23,478 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314082570_114.95.173.5_65526
2024-04-28 22:21:23,479 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Notify connected event to listeners.
2024-04-28 22:21:23,479 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:21:23,480 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$729/0x000001c4a94e4d48
2024-04-28 22:21:23,524 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 6.306 seconds (JVM running for 7.198)
2024-04-28 22:21:23,823 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 22:21:23,823 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 22:21:23,823 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 22:21:23,823 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 22:21:24,057 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Receive server push request, request = NotifySubscriberRequest, requestId = 266
2024-04-28 22:21:24,061 INFO [nacos-grpc-client-executor-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [1e576cf3-3599-4049-96b7-67e9344fd1df] Ack server push request, request = NotifySubscriberRequest, requestId = 266
2024-04-28 22:21:24,500 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 22:21:24,500 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@5f8eafc7[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 22:21:24,501 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314082570_114.95.173.5_65526
2024-04-28 22:21:24,508 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@1c3d92f9[Running, pool size = 7, active threads = 0, queued tasks = 0, completed tasks = 7]
2024-04-28 22:21:24,512 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...
2024-04-28 22:22:35,447 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 305] Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.bwie.alipay.demo.controller.TestObserver], using SpringBootContextLoader
2024-04-28 22:22:35,453 INFO [main] o.s.t.c.s.AbstractContextLoader [AbstractContextLoader.java : 264] Could not detect default resource locations for test class [com.bwie.alipay.demo.controller.TestObserver]: no resource found for suffixes {-context.xml, Context.groovy}.
2024-04-28 22:22:35,454 INFO [main] o.s.t.c.s.AnnotationConfigContextLoaderUtils [AnnotationConfigContextLoaderUtils.java : 83] Could not detect default configuration classes for test class [com.bwie.alipay.demo.controller.TestObserver]: TestObserver does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-28 22:22:35,552 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [SpringBootTestContextBootstrapper.java : 239] Found @SpringBootConfiguration com.bwie.alipay.AlipayApplication for test class com.bwie.alipay.demo.controller.TestObserver
2024-04-28 22:22:35,627 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 245] Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener]
2024-04-28 22:22:35,638 INFO [main] o.s.b.t.c.SpringBootTestContextBootstrapper [AbstractTestContextBootstrapper.java : 174] Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@75f65e45, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6eeade6c, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a891c97, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a5bd950, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4d18aa28, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75390459, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7756c3cd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2313052e, org.springframework.test.context.event.EventPublishingTestExecutionListener@2bd2b28e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@16746061, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@57fd91c9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6cfcd46d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@52045dbe, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@674658f7, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5c8eee0f]
2024-04-28 22:22:36,151 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.0.Final
2024-04-28 22:22:36,674 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of 5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0
2024-04-28 22:22:36,746 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 28 ms to scan 1 urls, producing 3 keys and 6 values
2024-04-28 22:22:36,784 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 11 ms to scan 1 urls, producing 4 keys and 9 values
2024-04-28 22:22:36,794 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 6 ms to scan 1 urls, producing 3 keys and 10 values
2024-04-28 22:22:36,798 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:22:36,803 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 4 ms to scan 1 urls, producing 1 keys and 5 values
2024-04-28 22:22:36,813 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 1 keys and 7 values
2024-04-28 22:22:36,820 INFO [main] org.reflections.Reflections [Reflections.java : 232] Reflections took 5 ms to scan 1 urls, producing 2 keys and 8 values
2024-04-28 22:22:36,824 WARN [main] org.reflections.Reflections [Reflections.java : 179] given scan urls are empty. set urls in the configuration
2024-04-28 22:22:36,825 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] RpcClient init label, labels = {module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}
2024-04-28 22:22:36,826 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$712/0x0000019ac539e448
2024-04-28 22:22:36,827 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$713/0x0000019ac539e668
2024-04-28 22:22:36,828 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2024-04-28 22:22:36,829 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2024-04-28 22:22:36,840 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:22:37,644 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314156683_114.95.172.254_49201
2024-04-28 22:22:37,646 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Notify connected event to listeners.
2024-04-28 22:22:37,647 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:22:37,649 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [5f1dbd85-f387-407d-ab97-9c094da0e9a2_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x0000019ac5525638
2024-04-28 22:22:37,755 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay] & group[DEFAULT_GROUP]
2024-04-28 22:22:37,777 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[bwie-alipay.yml] & group[DEFAULT_GROUP]
2024-04-28 22:22:37,799 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-bwie-alipay-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-bwie-alipay,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
2024-04-28 22:22:37,822 INFO [main] c.b.a.demo.controller.TestObserver [SpringApplication.java : 639] The following profiles are active: dev
2024-04-28 22:22:38,347 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode!
2024-04-28 22:22:38,349 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-04-28 22:22:38,367 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.
2024-04-28 22:22:38,578 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=607af674-47b5-30df-82c0-e5f0e04bbd9f
2024-04-28 22:22:38,941 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:22:38,945 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:22:38,946 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$885/0x0000019ac56d77e8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-04-28 22:22:38,949 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:22:38,978 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:22:38,982 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 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-04-28 22:22:39,436 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.BuyOrder".
2024-04-28 22:22:39,442 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.BuyOrder ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:22:39,501 WARN [main] c.b.m.core.metadata.TableInfoHelper [TableInfoHelper.java : 375] Can not find table primary key in Class: "com.bwie.common.domain.PaymentEntity".
2024-04-28 22:22:39,502 WARN [main] c.b.m.c.injector.DefaultSqlInjector [DefaultSqlInjector.java : 52] class com.bwie.common.domain.PaymentEntity ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2024-04-28 22:22:40,635 INFO [main] c.a.c.s.SentinelWebAutoConfiguration [SentinelWebAutoConfiguration.java : 80] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
2024-04-28 22:22:42,498 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
2024-04-28 22:22:42,573 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 80] [RpcClientFactory] create a new rpc client of e410f4c5-45b3-40f0-8768-addeeea528e8
2024-04-28 22:22:42,574 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] RpcClient init label, labels = {module=naming, source=sdk}
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
2024-04-28 22:22:42,575 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
2024-04-28 22:22:42,576 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Try to connect to server on start up, server: {serverIp = '124.221.30.134', server main port = 8848}
2024-04-28 22:22:42,722 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Success to connect to server [124.221.30.134:8848] on start up, connectionId = 1714314161817_114.95.172.249_49215
2024-04-28 22:22:42,723 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Notify connected event to listeners.
2024-04-28 22:22:42,723 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2024-04-28 22:22:42,724 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$728/0x0000019ac5525638
2024-04-28 22:22:42,775 INFO [main] c.b.a.demo.controller.TestObserver [StartupInfoLogger.java : 61] Started TestObserver in 7.098 seconds (JVM running for 8.104)
2024-04-28 22:22:43,085 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher
2024-04-28 22:22:43,085 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient
2024-04-28 22:22:43,085 WARN [Thread-5] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end
2024-04-28 22:22:43,086 WARN [Thread-1] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end
2024-04-28 22:22:43,338 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Receive server push request, request = NotifySubscriberRequest, requestId = 269
2024-04-28 22:22:43,341 INFO [nacos-grpc-client-executor-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [e410f4c5-45b3-40f0-8768-addeeea528e8] Ack server push request, request = NotifySubscriberRequest, requestId = 269
2024-04-28 22:22:43,742 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 454] Shutdown rpc client, set status to shutdown
2024-04-28 22:22:43,743 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 456] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@47b479bb[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
2024-04-28 22:22:43,743 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 591] Close current connection 1714314161817_114.95.172.249_49215
2024-04-28 22:22:43,752 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 85] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@5792cc77[Running, pool size = 6, active threads = 0, queued tasks = 0, completed tasks = 6]
2024-04-28 22:22:43,755 INFO [SpringApplicationShutdownHook] c.alibaba.druid.pool.DruidDataSource [DruidDataSource.java : 2071] {dataSource-0} closing ...

View File

@ -1,62 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
<parent>
<groupId>com.bwie</groupId>
<artifactId>bwie-modules</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>bwie-alipay</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!--支付宝接口pom文件-->
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.39.2.ALL</version>
</dependency>
<!-- 系统公共 依赖 -->
<dependency>
<groupId>com.bwie</groupId>
<artifactId>bwie-common</artifactId>
</dependency>
<!-- SpringBoot Web-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Druid -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.2.8</version>
</dependency>
<!-- Mysql Connector -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- Mybatis 依赖配置 -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.2</version>
</dependency>
<!-- Pagehelper -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.1</version>
</dependency>
</dependencies>
</project>

View File

@ -1,17 +0,0 @@
package com.bwie.alipay;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@MapperScan("com.bwie.alipay.mapper")
public class AlipayApplication {
public static void main(String[] args) {
SpringApplication.run(AlipayApplication.class);
}
}

View File

@ -1,62 +0,0 @@
package com.bwie.alipay.config;
import com.alipay.api.AlipayClient;
import com.alipay.api.AlipayConstants;
import com.alipay.api.DefaultAlipayClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
@Component
@Data
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {
/**
* appid
*/
private String appId;
/**
* PID,ID
*/
private String sellerId;
/**
* pkcs8,rsc
*/
private String privateKey;
/**
*
*/
private String publicKey;
/**
*
*/
private String serverUrl;
/**
*
*/
private String returnUrl;
/**
*
*/
private String notifyUrl;
/**
* AlipayClient
*
* @return
*/
@Bean
public AlipayClient alipayClien() {
// 获得初始化的AlipayClient
return new DefaultAlipayClient(serverUrl, appId, privateKey,
AlipayConstants.FORMAT_JSON, AlipayConstants.CHARSET_UTF8,
publicKey, AlipayConstants.SIGN_TYPE_RSA2);
}
}

View File

@ -1,6 +0,0 @@
package com.bwie.alipay.controller;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/alipay")
public class AlipayController {
}

View File

@ -1,132 +0,0 @@
package com.bwie.alipay.controller;
import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayConstants;
import com.alipay.api.internal.util.AlipaySignature;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.bwie.alipay.service.AlimentPayService;
import com.bwie.alipay.service.AlipayWayService;
import com.bwie.alipay.utils.service.AlipayWay;
import com.bwie.alipay.utils.PayServive;
import com.bwie.alipay.vo.Alipay;
import com.bwie.common.domain.BuyOrder;
import com.bwie.common.domain.PaymentEntity;
import com.bwie.common.result.BizException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.nio.charset.StandardCharsets;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Slf4j
@RestController
public class AlipayWayController {
@Autowired
private AlipayWay alipayWay;
@Autowired
private AlipayWayService alipayWayService;//buyOrder
@Autowired
private AlimentPayService alimentPayService;//PaymentEntity
@Autowired
private ApplicationContext applicationContext;
@ResponseBody
@GetMapping("/pay")
public String pay(Long buyOrderId,String type) throws AlipayApiException {
BuyOrder buyOrder = alipayWayService.getOne(
new LambdaQueryWrapper<BuyOrder>().eq(BuyOrder::getOrderId, buyOrderId));
if(buyOrder.getOrderState().equals(3)){
throw new BizException(500,"不能重复支付!!!!!");
}
PaymentEntity paymentEntity = PaymentEntity.builder()
.ordersNumber(buyOrder.getOrderNumber())
.userId(buyOrder.getUserId())
.tradeMoney(buyOrder.getOrderPrice())
.backTime(new Date())
.tradeStatus(1).build();
//添加到数据库
alimentPayService.save(paymentEntity);
alipayWayService.updateById(
BuyOrder.builder()
.orderId(buyOrder.getOrderId())
.orderState(2).build()
);
PayServive bean = (PayServive)applicationContext.getBean(type);
return bean.alipay(buyOrder);
}
@Resource
private Alipay alipay;
@Transactional
@RequestMapping("/notifyUrl")
public void notifyUrl(HttpServletRequest request, HttpServletResponse response) throws Exception {
request.setCharacterEncoding("utf-8");
HashMap<String, String> params = new HashMap<>(8);
Map<String, String[]> requestParams = request.getParameterMap();
for (Map.Entry<String, String[]> stringEntry : requestParams.entrySet()) {
String[] values = stringEntry.getValue();
String valueStr="";
for (int i = 0; i < values.length; i++) {
valueStr = (i == values.length - 1) ? valueStr + values[i]
: valueStr + values[i] + ",";
}
System.out.println("key="+stringEntry.getKey()+" value="+valueStr);
params.put(stringEntry.getKey(), valueStr);
}
boolean signVerified = AlipaySignature.rsaCheckV1(params,alipay.getAlipayPublicKey(), AlipayConstants.CHARSET_UTF8, AlipayConstants.SIGN_TYPE_RSA2);
if(!signVerified){
log.error("验签失败!!!!");
}
String orderSn = new String(params.get("out_trade_no").getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);
BuyOrder buyOrder = alipayWayService.getOne(
new LambdaQueryWrapper<BuyOrder>()
.eq(BuyOrder::getOrderNumber, orderSn)
);
if(buyOrder.getOrderState().equals(3)){
throw new BizException(500,"已经支付成功,禁止重复回掉");
}
List<PaymentEntity> paymentEntityList = alimentPayService.list(
new LambdaQueryWrapper<PaymentEntity>()
.eq(PaymentEntity::getOrdersNumber, buyOrder.getOrderNumber())
);
paymentEntityList.forEach(c->{
if(c.getTradeStatus().equals(2)){
throw new BizException(500,"已经支付成功,禁止重复回掉");
}
});
paymentEntityList.forEach(c->{
if(c.getTradeStatus().equals(1)){ //正在支付
alimentPayService.updateById(
PaymentEntity.builder()
.tradeId(c.getTradeId())
.thirdStatus(2).build()
); //修改为已支付
}
});
alipayWayService.updateById(
buyOrder.builder()
.orderId(buyOrder.getOrderId())
.orderState(3).build()
);
response.setStatus(HttpServletResponse.SC_OK);
}
}

View File

@ -1,15 +0,0 @@
package com.bwie.alipay.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class Test01 {
@GetMapping("/test")
public String aaaa(){
return "succerr";
}
}

View File

@ -1,4 +0,0 @@
package com.bwie.alipay.demo;
public interface ListenerPer {
public void test03(String message);
}

View File

@ -1,6 +0,0 @@
package com.bwie.alipay.demo;
public interface MonitorPer {
void test01(ListenerPer listenerPer);
void test02(ListenerPer listenerPer);
void test04(String message);
}

View File

@ -1,18 +0,0 @@
package com.bwie.alipay.demo;
public interface Newspaper {
/**
*
* @param subscriber
*/
void addSubscriber(Subscriber subscriber);
/**
*
* @param subscriber
*/
void removeSubscriber(Subscriber subscriber);
/**
*
* @param message
*/
void notifySubscribers(String message);
}

View File

@ -1,4 +0,0 @@
package com.bwie.alipay.demo;
public interface Subscriber {
public void update(String message);
}

View File

@ -1,48 +0,0 @@
package com.bwie.alipay.demo.controller;
import com.bwie.alipay.demo.MonitorPer;
import com.bwie.alipay.demo.Newspaper;
import com.bwie.alipay.demo.Subscriber;
import com.bwie.alipay.demo.service.ListenerImpl;
import com.bwie.alipay.demo.service.MonitorImpl;
import com.bwie.alipay.demo.service.NewspaperImpl;
import com.bwie.alipay.demo.service.SubscriberImpl;
//import org.springframework.boot.test.context.SpringBootTest;
public class TestObserver {
// @Test
// void testObserver() {
// Newspaper newspaper = new NewspaperImpl();
//
// Subscriber li = new SubscriberImpl("李老头");
// Subscriber wang = new SubscriberImpl("王奶奶");
// //李老头和王奶奶订阅了报纸
// newspaper.addSubscriber(li);
//
// newspaper.addSubscriber(wang);
// //报纸到了,通知订阅者
// newspaper.notifySubscribers("今天的报纸到了!!!");
// //李老头取消订阅了,移除
// newspaper.removeSubscriber(li);
//
// newspaper.notifySubscribers("明天的报纸还是这个点到!!!");
// }
//
// @Test
// void test04(){
// MonitorPer monitor = new MonitorImpl();
//
// ListenerImpl listener = new ListenerImpl("佩奇佩奇");
// ListenerImpl listener1 = new ListenerImpl("狗嘉狗嘉");
// monitor.test01(listener);
// monitor.test04("我爱你,爱你爱你");
// monitor.test02(listener);
// monitor.test01(listener1);
// monitor.test04("我想拉拉手,拉拉手,拉拉手");
// }
}

View File

@ -1,18 +0,0 @@
package com.bwie.alipay.demo.service;
import com.bwie.alipay.demo.ListenerPer;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class ListenerImpl implements ListenerPer {
private String name;
@Override
public void test03(String message){
System.out.println(name+"本次收到的内容是: "+message);
}
}

View File

@ -1,31 +0,0 @@
package com.bwie.alipay.demo.service;
import com.bwie.alipay.demo.ListenerPer;
import com.bwie.alipay.demo.MonitorPer;
import java.util.ArrayList;
public class MonitorImpl implements MonitorPer{
ArrayList<ListenerPer> arrayList = new ArrayList<>();
//添加
@Override
public void test01(ListenerPer listenerPer){
arrayList.add(listenerPer);
}
//删除
@Override
public void test02(ListenerPer listenerPer){
arrayList.remove(listenerPer);
}
//通知
@Override
public void test04(String message){
for (ListenerPer s : arrayList) {
s.test03(message);
}
}
}

View File

@ -1,25 +0,0 @@
package com.bwie.alipay.demo.service;
import com.bwie.alipay.demo.Newspaper;
import com.bwie.alipay.demo.Subscriber;
import java.util.ArrayList;
import java.util.List;
public class NewspaperImpl implements Newspaper{
List<Subscriber> subscribers = new ArrayList<>();
//添加订阅者
@Override
public void addSubscriber(Subscriber subscriber){
subscribers.add(subscriber);
}
//移除订阅者
@Override
public void removeSubscriber(Subscriber subscriber){
subscribers.remove(subscriber);
}
//通知订阅者
@Override
public void notifySubscribers(String message) {
for (Subscriber s : subscribers) {
s.update(message);
}
}
}

View File

@ -1,13 +0,0 @@
package com.bwie.alipay.demo.service;
import com.bwie.alipay.demo.Subscriber;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class SubscriberImpl implements Subscriber{
private String name;
@Override
public void update(String message) {
System.out.println(name + "---接到消息: " + message);
}
}

View File

@ -1,10 +0,0 @@
package com.bwie.alipay.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.common.domain.PaymentEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AlimentPayMapper extends BaseMapper<PaymentEntity> {
}

View File

@ -1,7 +0,0 @@
package com.bwie.alipay.mapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AlipayMapper{
}

View File

@ -1,9 +0,0 @@
package com.bwie.alipay.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.common.domain.BuyOrder;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AlipayWayMapper extends BaseMapper<BuyOrder> {
}

View File

@ -1,8 +0,0 @@
package com.bwie.alipay.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.domain.PaymentEntity;
public interface AlimentPayService extends IService<PaymentEntity> {
}

View File

@ -1,10 +0,0 @@
package com.bwie.alipay.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.domain.BuyOrder;
import com.bwie.common.domain.PaymentEntity;
import com.bwie.common.result.Result;
public interface AlipayService {
}

View File

@ -1,7 +0,0 @@
package com.bwie.alipay.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.domain.BuyOrder;
public interface AlipayWayService extends IService<BuyOrder> {
}

View File

@ -1,14 +0,0 @@
package com.bwie.alipay.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.alipay.mapper.AlimentPayMapper;
import com.bwie.alipay.mapper.AlipayWayMapper;
import com.bwie.alipay.service.AlimentPayService;
import com.bwie.common.domain.PaymentEntity;
import org.springframework.stereotype.Service;
@Service
public class AlimentPayServiceImpl extends ServiceImpl<AlimentPayMapper, PaymentEntity> implements AlimentPayService {
}

View File

@ -1,10 +0,0 @@
package com.bwie.alipay.service.impl;
import com.bwie.alipay.service.AlipayService;
import org.springframework.stereotype.Service;
@Service
public class AlipayServiceImpl implements AlipayService {
}

View File

@ -1,10 +0,0 @@
package com.bwie.alipay.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.alipay.mapper.AlipayWayMapper;
import com.bwie.alipay.service.AlipayWayService;
import com.bwie.common.domain.BuyOrder;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
@Service
public class AlipayWayServiceImpl extends ServiceImpl<AlipayWayMapper, BuyOrder> implements AlipayWayService {
}

View File

@ -1,68 +0,0 @@
package com.bwie.alipay.time;
import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.bwie.alipay.service.AlimentPayService;
import com.bwie.alipay.service.AlipayWayService;
import com.bwie.alipay.utils.service.AlipayWay;
import com.bwie.alipay.vo.OrderSnRequest;
import com.bwie.common.domain.BuyOrder;
import com.bwie.common.domain.PaymentEntity;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.util.List;
@Log4j2
@Component
public class CreateTime {
@Autowired
private AlipayWayService alipayWayService;
@Autowired
private AlipayWay alipayWay;
@Autowired
private AlimentPayService alimentPayService;
// @Scheduled(cron = "0/5 * * * * *")
// public void findOrderSn(){
// List<BuyOrder> buyOrderList = alipayWayService.list(
// new LambdaQueryWrapper<BuyOrder>()
// .eq(BuyOrder::getOrderState, 3)
//
// );
// buyOrderList.forEach(c->{
// try {
// OrderSnRequest buyOrderDh = alipayWay.findBuyOrderDh(c.getOrderNumber());
// OrderSnRequest.AlipayTradeQueryResponseBean queryResponse = buyOrderDh.getAlipay_trade_query_response();
// String tradeStatus = queryResponse.getTrade_status();
// if(tradeStatus.equals("TRADE_SUCCESS")){
// alipayWayService.updateById(
// BuyOrder.builder()
// .orderId(c.getOrderId())
// .orderState(c.getOrderState())
// .build()
// );
// }
// alimentPayService.list(
// new LambdaQueryWrapper<PaymentEntity>()
// .eq(PaymentEntity::getOrdersNumber,c.getOrderNumber())
// ).forEach(s->{
// if(s.getTradeStatus().equals(2)){
// alimentPayService.updateById(
// PaymentEntity.builder()
// .tradeId(s.getTradeId())
// .thirdStatus(3)
// .build()
// );
// }
// });
// }catch(AlipayApiException e) {
// throw new RuntimeException(e);
// }
// }
// );
// }
}

View File

@ -1,6 +0,0 @@
package com.bwie.alipay.utils;
import com.alipay.api.AlipayApiException;
import com.bwie.common.domain.BuyOrder;
public interface PayServive {
String alipay(BuyOrder buyOrder) throws AlipayApiException;
}

View File

@ -1,86 +0,0 @@
package com.bwie.alipay.utils.service;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.alipay.api.AlipayApiException;
import com.alipay.api.AlipayClient;
import com.alipay.api.AlipayConfig;
import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.domain.AlipayTradeQueryModel;
import com.alipay.api.request.AlipayTradePagePayRequest;
import com.alipay.api.response.AlipayTradePagePayResponse;
import com.bwie.alipay.vo.OrderSnRequest;
import com.bwie.alipay.utils.PayServive;
import com.bwie.alipay.vo.Alipay;
import com.bwie.common.domain.BuyOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
@Component("Alipay")
public class AlipayWay implements PayServive {
@Autowired
private Alipay alipay;
public String alipay(BuyOrder buyOrder) throws AlipayApiException {
AlipayConfig alipayConfig = new AlipayConfig();
alipayConfig.setServerUrl(alipay.getServerUrl());
alipayConfig.setAppId(alipay.getAppId());
alipayConfig.setPrivateKey(alipay.getPrivateKey());
alipayConfig.setFormat("json");
alipayConfig.setAlipayPublicKey(alipay.getAlipayPublicKey());
alipayConfig.setCharset(alipay.getCharset());
alipayConfig.setSignType(alipay.getSignType());
AlipayClient alipayClient = new DefaultAlipayClient(alipayConfig);
AlipayTradePagePayRequest request = new AlipayTradePagePayRequest();
JSONObject bizContent = new JSONObject();
//商户订单号,商家自定义,保持唯一性
bizContent.put("out_trade_no", buyOrder.getOrderNumber());
//支付金额最小值0.01元
bizContent.put("total_amount",buyOrder.getOrderPrice());
//订单标题,不可使用特殊符号
bizContent.put("subject", buyOrder.getOrderName());
//电脑网站支付场景固定传值FAST_INSTANT_TRADE_PAY
bizContent.put("product_code", "FAST_INSTANT_TRADE_PAY");
request.setBizContent(bizContent.toString());
request.setNotifyUrl(" http://eeh7ds.natappfree.cc/notifyUrl");
AlipayTradePagePayResponse response = alipayClient.pageExecute(request, "GET");
String pageRedirectionData = response.getBody();
System.out.println(pageRedirectionData);
if (response.isSuccess()) {
System.out.println("调用成功!!!!");
} else {
System.out.printf("调用失败!!!!");
}
return pageRedirectionData;
}
public OrderSnRequest findBuyOrderDh(String buyOrderDh) throws AlipayApiException {
AlipayConfig alipayConfig = new AlipayConfig();
alipayConfig.setServerUrl(alipay.getServerUrl());
alipayConfig.setAppId(alipay.getAppId());
alipayConfig.setPrivateKey(alipay.getPrivateKey());
alipayConfig.setFormat("json");
alipayConfig.setAlipayPublicKey(alipay.getAlipayPublicKey());
alipayConfig.setCharset(alipay.getCharset());
alipayConfig.setSignType(alipay.getSignType());
AlipayClient alipayClient = new DefaultAlipayClient(alipayConfig);
AlipayTradePagePayRequest request = new AlipayTradePagePayRequest();
AlipayTradeQueryModel model = new AlipayTradeQueryModel();
model.setOutTradeNo(buyOrderDh);
ArrayList<String> arrayList = new ArrayList<>();
arrayList.add("trade_settle_info");
model.setQueryOptions(arrayList);
request.setBizModel(model);
AlipayTradePagePayResponse response = alipayClient.execute(request);
OrderSnRequest orderSnRequest = JSON.parseObject(response.getBody().toString(), OrderSnRequest.class);
if (response.isSuccess()) {
System.out.println("调用成功!!!!");
} else {
System.out.printf("调用失败!!!!");
}
return orderSnRequest;
}
}

View File

@ -1,9 +0,0 @@
package com.bwie.alipay.utils.service;
import com.bwie.common.domain.BuyOrder;
import org.springframework.stereotype.Component;
@Component("UnionPay")
public class UnionWay {
public String alipay(BuyOrder buyOrder){
return "你好消费者,这是银联支付奥,支付金额是: "+buyOrder.getOrderPrice()+"元,支付的名称是: "+buyOrder.getOrderName()+",支付的单号是: "+buyOrder.getOrderNumber();
}
}

View File

@ -1,10 +0,0 @@
package com.bwie.alipay.utils.service;
import com.bwie.alipay.utils.PayServive;
import com.bwie.common.domain.BuyOrder;
import org.springframework.stereotype.Component;
@Component("Wechpay")
public class Wechpay implements PayServive {
public String alipay(BuyOrder buyOrder){
return "你好消费者,这是微信支付奥,支付金额是: "+buyOrder.getOrderPrice()+"元,支付的名称是: "+buyOrder.getOrderName()+",支付的单号是: "+buyOrder.getOrderNumber();
}
}

View File

@ -1,30 +0,0 @@
package com.bwie.alipay.vo;
import com.alipay.api.AlipayClient;
import com.alipay.api.AlipayConstants;
import com.alipay.api.DefaultAlipayClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
@Component
@ConfigurationProperties(prefix = "zhipay")
@Data
public class Alipay {
private String privateKey;//私钥
private String alipayPublicKey;//支付宝公钥
private String appId;//商户ID
private String notifyUrl;//
private String returnUrl;//
private String serverUrl;
private String charset;
private String signType;
private BigDecimal ordersPrice;
@Bean
public AlipayClient alipayClient() {
// 获得初始化的AlipayClient
return new DefaultAlipayClient(serverUrl, appId, privateKey,
AlipayConstants.FORMAT_JSON, AlipayConstants.CHARSET_UTF8,
alipayPublicKey, AlipayConstants.SIGN_TYPE_RSA2);
}
}

View File

@ -1,43 +0,0 @@
package com.bwie.alipay.vo;
import lombok.Data;
import lombok.ToString;
import java.util.List;
@ToString
@Data
public class OrderSnRequest {
private AlipayTradeQueryResponseBean alipay_trade_query_response;
private String sign;
@ToString
@Data
public static class AlipayTradeQueryResponseBean {
private String code;
private String msg;
private String trade_no;
private String out_trade_no;
private String buyer_logon_id;
private String trade_status;
private String total_amount;
private String buyer_pay_amount;
private String point_amount;
private String invoice_amount;
private String send_pay_date;
private String receipt_amount;
private String store_id;
private String terminal_id;
private String store_name;
private String buyer_user_id;
private String buyer_open_id;
private String buyer_user_type;
private String mdiscount_amount;
private String discount_amount;
private String ext_infos;
private List<FundBillListBean> fund_bill_list;
@ToString
@Data
public static class FundBillListBean {
private String fund_channel;
private String amount;
private String real_amount;
}
}
}

View File

@ -1,42 +0,0 @@
# Tomcat
server:
port: 9090
# Spring
spring:
# datasource:
# url: jdbc:mysql:xm_house//localhost:3306/mydatabase
# username: root
# password: admin111.
main:
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: bwie-alipay
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 124.221.30.134:8848
config:
# 配置中心地址
server-addr: 124.221.30.134:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
zhipay:
serverUrl: "https://openapi-sandbox.dl.alipaydev.com/gateway.do"
charset: "UTF-8"
signType: "RSA2"
appId: "9021000135679979"
privateKey: "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCx8r9WaFV7CujWc9AzpbgsCq8axYJWm4s7x2eDcJXC+qhDXWsFW0xDX+xs4JCuVJ54+FGiflB24BeqgFDLNOchtkocK65BJohG5ojVONHq/ciruqbzAD0W6x96h8fKqlVuvz3EotMXuejg5J1gbDRmgTvPx7mYq94TXjxt75CUEserThSMF0geB0DJhrPxNe5JLAPKA5pRXd2e6wDybi2yKL2s2j4YuaTgDZuNAnlBYAiV6Pk7WpFB06LtbGg7JiM+Jawn3N64fL/24d4VIzcJD3AxWbGDZAXtW9+XZtsDa8z6ik3OGpbrSKu+RK0jjWzT2ETHnb/BdhtDJzFBo4dnAgMBAAECggEBAKWvrWIqATVwof1Tlk8QhVxUklfuAP7dExYVA5fJ01fZhaQ7rjMtn+O3w+5YZb48QdXG+FPBIvCclMyHbzLVzkOAdJ6oOTamRwslCdDmd+ZCaH8lat8loLvfLs8q7+cPFD7qx/t30+7qhiAoHTSza1LqD6PWhkPV+w+zlbaS8d471COE8P7XyxouFZ70qe9Aa7uVLEClxQemviSqIYOuHTFkNjWMleQR48tL2HA2ifKpa309Ifnbf3kGktyNaiG7plC5x3gUU3dSQdWZpnRHq/wh65TBhJHgLrjsIPhnfB9mmwCMZ66EJiUKajuqlvEjC/J0dkduMO6uPLYzTkejxbkCgYEA4arhCQgLquzRJDk5pI94ZzBiSWXaP3JUzfYEHQbbzcNvRPZBYJLDBUXNRVReujjt6efIcyrCi1zD3XvHfN2QmaNubeD5yF7aObYPVwoxDCvqHzZDVbYd9ZUGR2yIa+jdkVc5py0vmyfyxLSx3RvMuSP+rYtzhCJbowQiCkN4XUMCgYEAyd3efuY/0f59XF2DBSu8vCEaer7Wkieit980VZm06jxwt/3b5UcRlknKpum32n+mGlbpu4M/r5Zbpta+uuWbx6ajbIjc43rMuElkK6cz5d6AUTm6AsOKq8ARQPh4F5pzI18vrNAQrNyVpxwDMXIdmyArHD0Dv4NeIjlwucCT2Q0CgYBTAXGoysbP5i+/bTUgrI0TF57vdIFkmP9MitNUgfNTqjFBYnsFtLX7OIOansABK3OHd/QpOG86p7J7w03LRgwsFwtFa101MH6Af9EAqQUFfxmsxV7bJhO7A0e9+dPsLUlibn0MWviJz5XieLx7ogAZkX3aA9NHpQOj4J9MuyiI1QKBgQC/NyIuNG5ZvWYEGzQjrsVtszHA+YqJEXBqGc0aFKoxgyUGtDoamdJH+Qg0SYl1OJsfshpfG7k02wlgJWSv5xVD7k45Xf9Wn5jSK/rt+skHQldsGXFgctelTx9I2tPvD8dmxyCC4ugYxi4gCEHiEYWHztXnPsiRHaAKbTyhR5EE9QKBgGQRjcds+qeZeNTKrwSPFG/KD8h/kI0jTnFfeKMm1WXfuXcadTavbaruGUihLzveO9/dsizKJm38Pc2j5xNyBxGYUdbSxGZtC5uNmYuIsR3u8gy2oT3qFBPaFp/Y1PoHzLu6QTAYeo8Cz0TG+U8ah/81O9JPzZWyrkGLHIp5XyKq"
alipayPublicKey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkVyIo6qyxzk0YWnBo3ueKIpcpUPnrX0MuhdaUAoyJPtp19u2M67g8jSw7BWqppJ0Vso8sm7Px6VS3rOunlmgW5lyN0uMgy6+mE76gW8+2msjwR/DrzNL7aQn2idu9NgxxKk2BnLzajpR7W5Tk+sXmB9woLffbQ9hJW+SWJ6DnMtAbaB+3E/xaDO4o5yjTFbY063Vr2mgyt+PfK5i3unb3ffZj9jtqICWsDfpoY42fxxrRsKa3eLCJVO6sqUz3XLRex8WV7vcjtAuMsp6rFbwTPT5ELSYHXEY3uWuHHJChDE4eAKUpvavYj/hTZhlsOyTe1xPOAbnkAQ2B+kA+XHDRQIDAQAB"
notifyUrl: "http://m8gu77.natappfree.cc/notifyUrl"
# returnUrl: "http://m8gu77.natappfree.cc/notifyUrl"

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false" scan="true" scanPeriod="1 seconds">
<contextName>logback</contextName>
<property name="log.path" value="./applogs/xxl-job/xxl-job-executor-sample-springboot.log"/>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %contextName [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%date %level [%thread] %logger{36} [%file : %line] %msg%n
</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="console"/>
<appender-ref ref="file"/>
</root>
</configuration>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.bwie.alipay.mapper.AlipayWayMapper">
</mapper>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.bwie.alipay.mapper.AlimentPayMapper">
</mapper>

View File

@ -1,13 +0,0 @@
package com.bwie.authen;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class AuthenApp {
public static void main(String[] args) {
SpringApplication.run(AuthenApp.class);
}
}

View File

@ -1,87 +0,0 @@
package com.bwie.authen.controller;
import com.bwie.authen.vo.AliveReq;
import com.bwie.authen.service.AuthenticationService;
import com.bwie.authen.vo.AuthenReq;
import com.bwie.authen.vo.IdCheckReq;
import com.bwie.common.result.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
@RestController
public class AuthenticationController {
private final AuthenticationService authenService;
public AuthenticationController(AuthenticationService authenService) {
this.authenService = authenService;
}
/**
*
* @param side
* @param url
* @return
* @throws IOException
*/
@PostMapping("ocrScan")
public Result ocrScan(@RequestParam String side,@RequestParam("file") MultipartFile url) throws IOException {
Result result = authenService.ocrScan(side,url);
return result;
}
/**
* 线,,,
* @param img1
* @param img2
* @param movie
* @param authenReq
* @return
* @throws ExecutionException
* @throws InterruptedException
*/
@PostMapping("commitAuthen")
public Result commitAuthen(@RequestParam("face") MultipartFile img1,
@RequestParam("back") MultipartFile img2,
@RequestParam("file") MultipartFile movie,
AuthenReq authenReq) throws ExecutionException, InterruptedException {
Result result = authenService.commitAuthen(img1,img2,movie,authenReq);
return result;
}
/**
*
* @param multipartFile
* @return
* @throws IOException
*/
@PostMapping("upload")
public Result upload(@RequestParam("file")MultipartFile multipartFile) throws IOException {
String upload = authenService.upload(multipartFile);
return Result.success(upload);
}
/**
*
* @param ocrReq
* @return
*/
@PostMapping("idCheck")
public Result idCheck(@RequestBody IdCheckReq ocrReq) {
Result result = authenService.idCheck(ocrReq);
return result;
}
/**
*
* @param ocrReq
* @return
*/
@PostMapping("alive")
public Result alive(@RequestBody AliveReq ocrReq) {
Result result = authenService.alive(ocrReq);
return result;
}
}

View File

@ -1,25 +0,0 @@
package com.bwie.authen.service;
import com.bwie.authen.vo.AliveReq;
import com.bwie.authen.vo.AuthenReq;
import com.bwie.authen.vo.IdCheckReq;
import com.bwie.common.result.Result;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
public interface AuthenticationService {
Result ocrScan(String side, MultipartFile url) throws IOException;//识别身份证
Result commitAuthen(MultipartFile img1, MultipartFile img2, MultipartFile movie, AuthenReq authenReq) throws ExecutionException, InterruptedException;//上传图片视频等等进行验证
String upload(MultipartFile multipartFile) throws IOException;//普通上传图片等等
Result idCheck(IdCheckReq ocrReq);//身份校验信息
Result alive(AliveReq ocrReq);//活体检测,上传动作等等
}

View File

@ -1,144 +0,0 @@
package com.bwie.authen.service.impl;
import com.bwie.authen.service.AuthenticationService;
import com.bwie.authen.util.*;
import com.bwie.authen.vo.*;
import com.bwie.common.result.Result;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.io.Serializable;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ThreadPoolExecutor;
@Service
@Log4j2
public class AuthenticationServiceImpl implements AuthenticationService {
private final OSSupload osSupload;
private final IdCheckUtil idCheckUtil;
private final OCRUtil ocrUtil;
private final AliveUtil aliveUtil;
private final ThreadPoolExecutorConfig config;
public AuthenticationServiceImpl(OSSupload osSupload, IdCheckUtil idCheckUtil, OCRUtil ocrUtil, AliveUtil aliveUtil, ThreadPoolExecutorConfig config) {
this.osSupload = osSupload;
this.idCheckUtil = idCheckUtil;
this.ocrUtil = ocrUtil;
this.aliveUtil = aliveUtil;
this.config = config;
}
/**
* ,
* @param side
* @param url
* @return
* @throws IOException
*/
@Override
public Result ocrScan( String side, MultipartFile url) throws IOException {
OCRResponse send = ocrUtil.send(side,url);
return Result.success(send);
}
//验证校验,线程解决
@Override
public Result commitAuthen(MultipartFile img1, MultipartFile img2, MultipartFile movie, AuthenReq authenReq) throws ExecutionException, InterruptedException {
ThreadPoolExecutor threadPoolExecutor = config.threadPoolExecutor();
CompletableFuture<Integer> f1 = CompletableFuture.supplyAsync(() -> {
IdCheckReq idCheckReq = new IdCheckReq();
idCheckReq.setName(authenReq.getName());
idCheckReq.setIdCardNo(authenReq.getIdCord());
IdCheckResponse idcheck = idCheckUtil.idcheck(idCheckReq);
Integer result = idcheck.getIdData().getResult();
if(result!=0){
return 1;
}
try {
OCRResponse send = ocrUtil.send("face", img1);
if(send.getNum().equals(authenReq.getIdCord())&&send.getName().equals(authenReq.getName())){
return 0;
}
} catch (IOException e) {
throw new RuntimeException(e);
}
return 1;
},threadPoolExecutor);
CompletableFuture<? extends Serializable> f2= CompletableFuture.supplyAsync(() -> {
String upload = null;
try {
upload = osSupload.upload(movie);
} catch (IOException e) {
throw new RuntimeException(e);
}
if(upload==null){
return false;
}
//url添加数据库
AliveReq aliveReq = new AliveReq();
aliveReq.setUrl(upload);
aliveReq.setMotions(authenReq.getMotions());
AliveRes alive = aliveUtil.alive(aliveReq);
String success = alive.getSuccess();
return success;
},threadPoolExecutor);
CompletableFuture<Integer> f3 = CompletableFuture.supplyAsync(() -> {
String upload = null;
try {
upload = osSupload.upload(img2);
} catch (IOException e) {
throw new RuntimeException(e);
}
String upload2 = null;
try {
upload2 = osSupload.upload(movie);
} catch (IOException e) {
throw new RuntimeException(e);
}
if(upload==null ||upload2==null){
return 1;
}
//存入数据库
return 0;
},threadPoolExecutor);
CompletableFuture.allOf(f1,f2,f3).join();
Integer i = f1.get();
Serializable serializable = f2.get();
Integer b1 = f3.get();
if ((i == 0) && serializable.equals("true")||b1==0) {
return Result.success();
}
return Result.error();
}
//图片上传
@Override
public String upload(MultipartFile multipartFile) throws IOException {
return osSupload.upload(multipartFile);
}
//身份校验
@Override
public Result idCheck(IdCheckReq ocrReq) {
IdCheckResponse idcheck = idCheckUtil.idcheck(ocrReq);
return Result.success(idcheck);
}
//活体检测,上传视频
@Override
public Result alive(AliveReq ocrReq) {
AliveRes alive = aliveUtil.alive(ocrReq);
return Result.success(alive);
}
}

View File

@ -1,62 +0,0 @@
package com.bwie.authen.util;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.bwie.authen.vo.AliveReq;
import com.bwie.authen.vo.AliveData;
import com.bwie.authen.vo.AliveMotions;
import com.bwie.authen.vo.AliveRes;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import java.util.HashMap;
import java.util.Map;
@Configuration
public class AliveUtil {
@Value("${alive.appcode}")
private String appcode;//配置文件appcode
@Value("${alive.host}")
private String host;//配置文件
public AliveRes alive(AliveReq aliveReq){
Map stringStringMap = new HashMap<>();
stringStringMap.put("url", aliveReq.getUrl());
stringStringMap.put("motions", aliveReq.getMotions());
String result = HttpUtil.createPost(host ) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.form(stringStringMap)
.execute()
.body();
System.out.println("result = " + result);
AliveRes aliveRes = JSON.parseObject(result, AliveRes.class);
AliveData aliveData = JSON.parseObject(aliveRes.getData(), AliveData.class);
AliveMotions aliveMotions = JSON.parseObject(aliveData.getMotions(), AliveMotions.class);
aliveData.setAliveMotions(aliveMotions);
aliveRes.setAliveData(aliveData);
// msgResponse.setIdData(idData);
if(aliveRes.getCode()!=200){
System.out.println("msgResponse = -------------------" + aliveRes.getMsg());
throw new RuntimeException(aliveRes.getMsg());
}
return aliveRes;
}
}

View File

@ -1,65 +0,0 @@
package com.bwie.authen.util;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.bwie.authen.vo.IdCheckReq;
import com.bwie.authen.vo.IdCheckResponse;
import com.bwie.authen.vo.IdData;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import java.util.HashMap;
import java.util.Map;
@Configuration
public class IdCheckUtil {
@Value("${idcheck.appcode}")
private String appcode;//配置文件appcode
@Value("${idcheck.host}")
private String host;//配置文件
@Value("${idcheck.path}")
private String path;//
public IdCheckResponse idcheck(IdCheckReq idCheckReq){
Map stringStringMap = new HashMap<>();
stringStringMap.put("name", idCheckReq.getName());
stringStringMap.put("idCardNo", idCheckReq.getIdCardNo());
String result = HttpUtil.createPost(host + path) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.form(stringStringMap)
.execute()
.body();
System.out.println("result = " + result);
IdCheckResponse msgResponse = JSON.parseObject(result, IdCheckResponse.class);
IdData idData = JSON.parseObject(msgResponse.getData(), IdData.class);
msgResponse.setIdData(idData);
if(msgResponse.getCode()!=200){
System.out.println("msgResponse = -------------------" + msgResponse);
throw new RuntimeException(msgResponse.getMsg());
}
return msgResponse;
}
}

View File

@ -1,82 +0,0 @@
package com.bwie.authen.util;
import cn.hutool.core.codec.Base64;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.bwie.authen.vo.OCRResponse;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
@Configuration
public class OCRUtil {
@Value("${ocr.appcode}")
private String appcode;
@Value("${ocr.host}")
private String host;
@Value("${ocr.Content-Type}")
private String contentType;
@Value("${ocr.path}")
private String path;
public OCRResponse send(String side, MultipartFile url) throws IOException {
// 对图像进行base64编码
String encode = Base64.encode(url.getBytes());
// 拼装请求body的json字符串
JSONObject requestObj = new JSONObject();
requestObj.put("image", encode);
requestObj.put("side", side); // 假设ocrReq有getSide()方法返回要识别的身份证面(正/反)
// 如果API还有其他配置参数可以从ocrReq中获取并添加到requestObj中
String bodys = requestObj.toString();
try {
// 创建并执行POST请求
String result = HttpUtil.createPost(host + path) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.header("Content-Type", contentType) // 确保这里与headers中的Content-Type一致
.body(bodys) // 设置请求体
.execute()
.body();
System.out.println("result = " + result);
OCRResponse msgResponse = JSON.parseObject(result, OCRResponse.class);
// 检查是否成功而不是使用AssertAssert通常用于测试
if (!msgResponse.getSuccess().equals("true")) {
// 处理失败情况,例如记录日志或返回错误信息给调用者
throw new RuntimeException("扫描失败" ); // 假设OCRResponse有一个getErrorMessage方法
}
// 成功处理逻辑
return msgResponse;
} catch (Exception e) {
// 处理异常,例如记录日志或返回错误信息给调用者
e.printStackTrace();
throw new RuntimeException("请求OCR服务时发生异常", e);
}
}
}

View File

@ -1,100 +0,0 @@
package com.bwie.authen.util;
import com.aliyun.oss.OSSClient;
import com.aliyun.oss.model.ObjectMetadata;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartFile;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.Date;
@Log4j2
@Configuration
public class OSSupload {
@Value("${aliyun.end-point}")
private String endPoint;
@Value("${aliyun.access-key-id}")
private String accessKeyId;
@Value("${aliyun.access-key-secret}")
private String accesskeySecret;
// @Value("${aliyun.access-pre}")
// private String accessPre;
@Value("${aliyun.bucket-name}")
private String bucketName;
public String upload(MultipartFile multipartFile) throws IOException {
OSSClient ossClient = new OSSClient(endPoint, accessKeyId, accesskeySecret);
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
// 获取文件名
String fileName = multipartFile.getOriginalFilename();
// 获取文件后缀名
String suffixName = fileName.substring(fileName.lastIndexOf("."));
// 最后上传生成的文件名
String finalFileName = System.currentTimeMillis() + "" + new SecureRandom().nextInt(0x0400) + suffixName;
// oss中的文件夹名
String objectName = sdf.format(new Date()) + "/" + finalFileName;
// 创建上传文件的元信息可以通过文件元信息设置HTTP header(设置了才能通过返回的链接直接访问)。
ObjectMetadata objectMetadata = new ObjectMetadata();
String contentType = getcontentType(suffixName.substring(suffixName.lastIndexOf("."))); // 注意这里加1
objectMetadata.setContentType(contentType);
// 设置Content-Disposition为inline
objectMetadata.setContentDisposition("inline");
// 文件上传
ossClient.putObject(bucketName, objectName, new ByteArrayInputStream(multipartFile.getBytes()), objectMetadata);
//// 设置URL过期时间为1小时。
// Date expiration = new Date(System.currentTimeMillis() + 3600 * 1000);
// 构造对象的完整URL
String url = "http://" + bucketName + "." + endPoint + "/" + objectName;
log.info("阿里云OSS的文件url:{}", url);
ossClient.shutdown();
return url;
}
public static String getcontentType(String FilenameExtension) {
if (FilenameExtension.equalsIgnoreCase(".bmp")) {
return "image/bmp";
}
if (FilenameExtension.equalsIgnoreCase(".gif")) {
return "image/gif";
}
if (FilenameExtension.equalsIgnoreCase(".jpeg") ||
FilenameExtension.equalsIgnoreCase(".jpg") ||
FilenameExtension.equalsIgnoreCase(".png")) {
return "image/jpg";
}
if (FilenameExtension.equalsIgnoreCase(".html")) {
return "text/html";
}
if (FilenameExtension.equalsIgnoreCase(".txt")) {
return "text/plain";
}
if (FilenameExtension.equalsIgnoreCase(".vsd")) {
return "application/vnd.visio";
}
if (FilenameExtension.equalsIgnoreCase(".pptx") ||
FilenameExtension.equalsIgnoreCase(".ppt")) {
return "application/vnd.ms-powerpoint";
}
if (FilenameExtension.equalsIgnoreCase(".docx") ||
FilenameExtension.equalsIgnoreCase(".doc")) {
return "application/msword";
}
if (FilenameExtension.equalsIgnoreCase(".xml")) {
return "text/xml";
}
return "image/jpg";
}
}

View File

@ -1,24 +0,0 @@
package com.bwie.authen.util;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
@Configuration
@Log4j2
public class ThreadPoolExecutorConfig {
@Value("${authen.coreSize}")
private Integer coreSize;
@Value("${authen.coreMax}")
private Integer coreMax;
@Bean
public ThreadPoolExecutor threadPoolExecutor(){
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(coreSize, coreMax, 5, TimeUnit.SECONDS,
new LinkedBlockingQueue<>(100));
return threadPoolExecutor;
}
}

View File

@ -1,13 +0,0 @@
package com.bwie.authen.vo;
import lombok.Data;
@Data
public class AliveData{
private boolean passed;
private String feature_image_id;
private String hack_score;
private String order_no;
private String motions;
private AliveMotions aliveMotions;
}

View File

@ -1,11 +0,0 @@
package com.bwie.authen.vo;
import lombok.Data;
@Data
public class AliveMotions{
private Double score;
private String motion;
private boolean passed;
}

View File

@ -1,14 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliveReq {
private String url;
private String motions;
}

View File

@ -1,19 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliveRes {
private Integer code;
private String msg;
private String data;
private String success;
private AliveData aliveData;
}

View File

@ -1,29 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthenReq {
private String motions;
private String name;
private String idCord;
}

View File

@ -1,13 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdCheckReq {
private String name;
private String idCardNo;
}

View File

@ -1,28 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdCheckResponse {
private Integer code;
private String msg;
private String taskNo; // 本次请求号
private IdData idData;
private String data;
}

View File

@ -1,16 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdData {
private Integer result;// 0: 一致1: 不一致
private String desc;//描述
private String sex;//性别
private String birthday;
private String address;//地址
}

View File

@ -1,13 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OCRConfig {
private String side;
private String url;
}

View File

@ -1,12 +0,0 @@
package com.bwie.authen.vo;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
@Data
@NoArgsConstructor
public class OCRReq {
private String side;
private MultipartFile url;
}

View File

@ -1,27 +0,0 @@
package com.bwie.authen.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OCRResponse {
private String address;
private String name;
private String sex;
private String num;
private String birth;
private String success;
}

View File

@ -1,58 +0,0 @@
# Tomcat
server:
port: 9004
# Spring
spring:
main:
allow-circular-references: true
allow-bean-definition-overriding: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: bwie-authen
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 124.221.30.134:8848
config:
# 配置中心地址
server-addr: 124.221.30.134:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
aliyun:
end-point: oss-cn-shanghai.aliyuncs.com
access-key-id: LTAI5tEoxVDPCxDpxXLRjUuz
access-key-secret: 503OGWrDojxpI5fNrojaXaRJC6ya6y
# access-pre: https://dongxiaojie.oss-cn-shanghai.aliyuncs.com
bucket-name: ueana
ocr:
host: https://cardnumber.market.alicloudapi.com
path: /rest/160601/ocr/ocr_idcard.json
appcode: 13a8b5b781bc4c458ce2de65ed79be80
Content-Type: application/json; charset=UTF-8
idcheck:
host: https://jumdata.market.alicloudapi.com
path: /idcard/validate
appcode: 13a8b5b781bc4c458ce2de65ed79be80
alive:
appcode: 13a8b5b781bc4c458ce2de65ed79be80
host: https://life.shumaidata.com/checklife
authen:
coreSize: 21
coreMax: 51

View File

@ -1,14 +0,0 @@
package com.bwie.authentication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
public class AuthenticationApp {
public static void main(String[] args) {
SpringApplication.run(AuthenticationApp.class);
}
}

View File

@ -1,87 +0,0 @@
package com.bwie.authentication.controller;
import com.bwie.authentication.service.AuthenticationService;
import com.bwie.authentication.vo.AliveReq;
import com.bwie.authentication.vo.AuthenReq;
import com.bwie.authentication.vo.IdCheckReq;
import com.bwie.common.result.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
@RestController
public class AuthenticationController {
private final AuthenticationService authenService;
public AuthenticationController(AuthenticationService authenService) {
this.authenService = authenService;
}
/**
*
* @param side
* @param url
* @return
* @throws IOException
*/
@PostMapping("ocrScan")
public Result ocrScan(@RequestParam String side,@RequestParam("file") MultipartFile url) throws IOException {
Result result = authenService.ocrScan(side,url);
return result;
}
/**
* 线,,,
* @param img1
* @param img2
* @param movie
* @param authenReq
* @return
* @throws ExecutionException
* @throws InterruptedException
*/
@PostMapping("commitAuthen")
public Result commitAuthen(@RequestParam("face") MultipartFile img1,
@RequestParam("back") MultipartFile img2,
@RequestParam("file") MultipartFile movie,
AuthenReq authenReq) throws ExecutionException, InterruptedException {
Result result = authenService.commitAuthen(img1,img2,movie,authenReq);
return result;
}
/**
*
* @param multipartFile
* @return
* @throws IOException
*/
@PostMapping("upload")
public Result upload(@RequestParam("file")MultipartFile multipartFile) throws IOException {
String upload = authenService.upload(multipartFile);
return Result.success(upload);
}
/**
*
* @param ocrReq
* @return
*/
@PostMapping("idCheck")
public Result idCheck(@RequestBody IdCheckReq ocrReq) {
Result result = authenService.idCheck(ocrReq);
return result;
}
/**
*
* @param ocrReq
* @return
*/
@PostMapping("alive")
public Result alive(@RequestBody AliveReq ocrReq) {
Result result = authenService.alive(ocrReq);
return result;
}
}

View File

@ -1,25 +0,0 @@
package com.bwie.authentication.service;
import com.bwie.authentication.vo.AliveReq;
import com.bwie.authentication.vo.AuthenReq;
import com.bwie.authentication.vo.IdCheckReq;
import com.bwie.common.result.Result;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
public interface AuthenticationService {
Result ocrScan(String side, MultipartFile url) throws IOException;//识别身份证
Result commitAuthen(MultipartFile img1, MultipartFile img2, MultipartFile movie, AuthenReq authenReq) throws ExecutionException, InterruptedException;//上传图片视频等等进行验证
String upload(MultipartFile multipartFile) throws IOException;//普通上传图片等等
Result idCheck(IdCheckReq ocrReq);//身份校验信息
Result alive(AliveReq ocrReq);//活体检测,上传动作等等
}

View File

@ -1,143 +0,0 @@
package com.bwie.authentication.service.impl;
import com.bwie.authentication.service.AuthenticationService;
import com.bwie.authentication.util.*;
import com.bwie.authentication.vo.*;
import com.bwie.common.result.Result;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.io.Serializable;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ThreadPoolExecutor;
@Service
@Log4j2
public class AuthenticationServiceImpl implements AuthenticationService {
private final OSSupload osSupload;
private final IdCheckUtil idCheckUtil;
private final OCRUtil ocrUtil;
private final AliveUtil aliveUtil;
private final ThreadPoolExecutorConfig config;
public AuthenticationServiceImpl(OSSupload osSupload, IdCheckUtil idCheckUtil, OCRUtil ocrUtil, AliveUtil aliveUtil, ThreadPoolExecutorConfig config) {
this.osSupload = osSupload;
this.idCheckUtil = idCheckUtil;
this.ocrUtil = ocrUtil;
this.aliveUtil = aliveUtil;
this.config = config;
}
/**
* ,
* @param side
* @param url
* @return
* @throws IOException
*/
@Override
public Result ocrScan( String side, MultipartFile url) throws IOException {
OCRResponse send = ocrUtil.send(side,url);
return Result.success(send);
}
//验证校验,线程解决
@Override
public Result commitAuthen(MultipartFile img1, MultipartFile img2, MultipartFile movie, AuthenReq authenReq) throws ExecutionException, InterruptedException {
ThreadPoolExecutor threadPoolExecutor = config.threadPoolExecutor();
CompletableFuture<Integer> f1 = CompletableFuture.supplyAsync(() -> {
IdCheckReq idCheckReq = new IdCheckReq();
idCheckReq.setName(authenReq.getName());
idCheckReq.setIdCardNo(authenReq.getIdCord());
IdCheckResponse idcheck = idCheckUtil.idcheck(idCheckReq);
Integer result = idcheck.getIdData().getResult();
if(result!=0){
return 1;
}
try {
OCRResponse send = ocrUtil.send("face", img1);
if(send.getNum().equals(authenReq.getIdCord())&&send.getName().equals(authenReq.getName())){
return 0;
}
} catch (IOException e) {
throw new RuntimeException(e);
}
return 1;
},threadPoolExecutor);
CompletableFuture<? extends Serializable> f2= CompletableFuture.supplyAsync(() -> {
String upload = null;
try {
upload = osSupload.upload(movie);
} catch (IOException e) {
throw new RuntimeException(e);
}
if(upload==null){
return false;
}
//url添加数据库
AliveReq aliveReq = new AliveReq();
aliveReq.setUrl(upload);
aliveReq.setMotions(authenReq.getMotions());
AliveRes alive = aliveUtil.alive(aliveReq);
String success = alive.getSuccess();
return success;
},threadPoolExecutor);
CompletableFuture<Integer> f3 = CompletableFuture.supplyAsync(() -> {
String upload = null;
try {
upload = osSupload.upload(img2);
} catch (IOException e) {
throw new RuntimeException(e);
}
String upload2 = null;
try {
upload2 = osSupload.upload(movie);
} catch (IOException e) {
throw new RuntimeException(e);
}
if(upload==null ||upload2==null){
return 1;
}
//存入数据库
return 0;
},threadPoolExecutor);
Integer i = f1.get();
Serializable serializable = f2.get();
Integer b1 = f3.get();
if ((i == 0) && serializable.equals("true")||b1==0) {
return Result.success();
}
return Result.error();
}
//图片上传
@Override
public String upload(MultipartFile multipartFile) throws IOException {
return osSupload.upload(multipartFile);
}
//身份校验
@Override
public Result idCheck(IdCheckReq ocrReq) {
IdCheckResponse idcheck = idCheckUtil.idcheck(ocrReq);
return Result.success(idcheck);
}
//活体检测,上传视频
@Override
public Result alive(AliveReq ocrReq) {
AliveRes alive = aliveUtil.alive(ocrReq);
return Result.success(alive);
}
}

View File

@ -1,59 +0,0 @@
package com.bwie.authentication.util;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.bwie.authentication.vo.*;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import java.util.HashMap;
import java.util.Map;
@Configuration
public class AliveUtil {
@Value("${alive.appcode}")
private String appcode;//配置文件appcode
@Value("${alive.host}")
private String host;//配置文件
public AliveRes alive(AliveReq aliveReq){
Map stringStringMap = new HashMap<>();
stringStringMap.put("url", aliveReq.getUrl());
stringStringMap.put("motions", aliveReq.getMotions());
String result = HttpUtil.createPost(host ) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.form(stringStringMap)
.execute()
.body();
System.out.println("result = " + result);
AliveRes aliveRes = JSON.parseObject(result, AliveRes.class);
AliveData aliveData = JSON.parseObject(aliveRes.getData(), AliveData.class);
AliveMotions aliveMotions = JSON.parseObject(aliveData.getMotions(), AliveMotions.class);
aliveData.setAliveMotions(aliveMotions);
aliveRes.setAliveData(aliveData);
// msgResponse.setIdData(idData);
if(aliveRes.getCode()!=200){
System.out.println("msgResponse = -------------------" + aliveRes.getMsg());
throw new RuntimeException(aliveRes.getMsg());
}
return aliveRes;
}
}

View File

@ -1,66 +0,0 @@
package com.bwie.authentication.util;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.bwie.authentication.vo.IdCheckReq;
import com.bwie.authentication.vo.IdCheckResponse;
import com.bwie.authentication.vo.IdData;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import java.util.HashMap;
import java.util.Map;
@Configuration
public class IdCheckUtil {
@Value("${idcheck.appcode}")
private String appcode;//配置文件appcode
@Value("${idcheck.host}")
private String host;//配置文件
@Value("${idcheck.path}")
private String path;//
public IdCheckResponse idcheck(IdCheckReq idCheckReq){
Map stringStringMap = new HashMap<>();
stringStringMap.put("name", idCheckReq.getName());
stringStringMap.put("idCardNo", idCheckReq.getIdCardNo());
String result = HttpUtil.createPost(host + path) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.form(stringStringMap)
.execute()
.body();
System.out.println("result = " + result);
IdCheckResponse msgResponse = JSON.parseObject(result, IdCheckResponse.class);
IdData idData = JSON.parseObject(msgResponse.getData(), IdData.class);
msgResponse.setIdData(idData);
if(msgResponse.getCode()!=200){
System.out.println("msgResponse = -------------------" + msgResponse);
throw new RuntimeException(msgResponse.getMsg());
}
return msgResponse;
}
}

View File

@ -1,84 +0,0 @@
package com.bwie.authentication.util;
import cn.hutool.core.codec.Base64;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.bwie.authentication.vo.OCRResponse;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
@Configuration
public class OCRUtil {
@Value("${ocr.appcode}")
private String appcode;
@Value("${ocr.host}")
private String host;
@Value("${ocr.Content-Type}")
private String contentType;
@Value("${ocr.path}")
private String path;
public OCRResponse send(String side, MultipartFile url) throws IOException {
// 对图像进行base64编码
String encode = Base64.encode(url.getBytes());
// 拼装请求body的json字符串
JSONObject requestObj = new JSONObject();
requestObj.put("image", encode);
requestObj.put("side", side); // 假设ocrReq有getSide()方法返回要识别的身份证面(正/反)
// 如果API还有其他配置参数可以从ocrReq中获取并添加到requestObj中
String bodys = requestObj.toString();
try {
// 创建并执行POST请求
String result = HttpUtil.createPost(host + path) // 不在URL中拼接查询参数因为我们将它们放在请求体中
.header("Authorization", "APPCODE " + appcode)
.header("Content-Type", contentType) // 确保这里与headers中的Content-Type一致
.body(bodys) // 设置请求体
.execute()
.body();
System.out.println("result = " + result);
OCRResponse msgResponse = JSON.parseObject(result, OCRResponse.class);
// 检查是否成功而不是使用AssertAssert通常用于测试
if (!msgResponse.getSuccess().equals("true")) {
// 处理失败情况,例如记录日志或返回错误信息给调用者
throw new RuntimeException("扫描失败" ); // 假设OCRResponse有一个getErrorMessage方法
}
// 成功处理逻辑
return msgResponse;
} catch (Exception e) {
// 处理异常,例如记录日志或返回错误信息给调用者
e.printStackTrace();
throw new RuntimeException("请求OCR服务时发生异常", e);
}
}
}

View File

@ -1,100 +0,0 @@
package com.bwie.authentication.util;
import com.aliyun.oss.OSSClient;
import com.aliyun.oss.model.ObjectMetadata;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.MultipartFile;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.Date;
@Log4j2
@Configuration
public class OSSupload {
@Value("${aliyun.end-point}")
private String endPoint;
@Value("${aliyun.access-key-id}")
private String accessKeyId;
@Value("${aliyun.access-key-secret}")
private String accesskeySecret;
// @Value("${aliyun.access-pre}")
// private String accessPre;
@Value("${aliyun.bucket-name}")
private String bucketName;
public String upload(MultipartFile multipartFile) throws IOException {
OSSClient ossClient = new OSSClient(endPoint, accessKeyId, accesskeySecret);
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
// 获取文件名
String fileName = multipartFile.getOriginalFilename();
// 获取文件后缀名
String suffixName = fileName.substring(fileName.lastIndexOf("."));
// 最后上传生成的文件名
String finalFileName = System.currentTimeMillis() + "" + new SecureRandom().nextInt(0x0400) + suffixName;
// oss中的文件夹名
String objectName = sdf.format(new Date()) + "/" + finalFileName;
// 创建上传文件的元信息可以通过文件元信息设置HTTP header(设置了才能通过返回的链接直接访问)。
ObjectMetadata objectMetadata = new ObjectMetadata();
String contentType = getcontentType(suffixName.substring(suffixName.lastIndexOf("."))); // 注意这里加1
objectMetadata.setContentType(contentType);
// 设置Content-Disposition为inline
objectMetadata.setContentDisposition("inline");
// 文件上传
ossClient.putObject(bucketName, objectName, new ByteArrayInputStream(multipartFile.getBytes()), objectMetadata);
//// 设置URL过期时间为1小时。
// Date expiration = new Date(System.currentTimeMillis() + 3600 * 1000);
// 构造对象的完整URL
String url = "http://" + bucketName + "." + endPoint + "/" + objectName;
log.info("阿里云OSS的文件url:{}", url);
ossClient.shutdown();
return url;
}
public static String getcontentType(String FilenameExtension) {
if (FilenameExtension.equalsIgnoreCase(".bmp")) {
return "image/bmp";
}
if (FilenameExtension.equalsIgnoreCase(".gif")) {
return "image/gif";
}
if (FilenameExtension.equalsIgnoreCase(".jpeg") ||
FilenameExtension.equalsIgnoreCase(".jpg") ||
FilenameExtension.equalsIgnoreCase(".png")) {
return "image/jpg";
}
if (FilenameExtension.equalsIgnoreCase(".html")) {
return "text/html";
}
if (FilenameExtension.equalsIgnoreCase(".txt")) {
return "text/plain";
}
if (FilenameExtension.equalsIgnoreCase(".vsd")) {
return "application/vnd.visio";
}
if (FilenameExtension.equalsIgnoreCase(".pptx") ||
FilenameExtension.equalsIgnoreCase(".ppt")) {
return "application/vnd.ms-powerpoint";
}
if (FilenameExtension.equalsIgnoreCase(".docx") ||
FilenameExtension.equalsIgnoreCase(".doc")) {
return "application/msword";
}
if (FilenameExtension.equalsIgnoreCase(".xml")) {
return "text/xml";
}
return "image/jpg";
}
}

View File

@ -1,24 +0,0 @@
package com.bwie.authentication.util;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
@Configuration
@Log4j2
public class ThreadPoolExecutorConfig {
@Value("${authen.coreSize}")
private Integer coreSize;
@Value("${authen.coreMax}")
private Integer coreMax;
@Bean
public ThreadPoolExecutor threadPoolExecutor(){
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(coreSize, coreMax, 5, TimeUnit.SECONDS,
new LinkedBlockingQueue<>(100));
return threadPoolExecutor;
}
}

Some files were not shown because too many files have changed in this diff Show More