Commit 1744e9c6 authored by tangtuo's avatar tangtuo

debug

parent 2d5a7bd9
...@@ -17,7 +17,7 @@ public class CopyrightStateVo { ...@@ -17,7 +17,7 @@ public class CopyrightStateVo {
public CopyrightStateVo(CopyrightApplyState stateEnum, String rejectReason) { public CopyrightStateVo(CopyrightApplyState stateEnum, String rejectReason) {
this.code = stateEnum.getCode(); this.code = stateEnum.getCode();
this.value = stateEnum.getValue(); this.value = stateEnum.getValue();
if (stateEnum.equals(CopyrightApplyState.REJECTED)) { if (stateEnum.equals(CopyrightApplyState.REJECTED) || stateEnum.equals(CopyrightApplyState.FAILED)) {
this.msg = rejectReason; this.msg = rejectReason;
} else { } else {
this.msg = stateEnum.getMsg(); this.msg = stateEnum.getMsg();
......
...@@ -122,8 +122,17 @@ public interface CopyrightApplyService extends IService<CopyrightApply> { ...@@ -122,8 +122,17 @@ public interface CopyrightApplyService extends IService<CopyrightApply> {
/** /**
* 查看证书 * 查看证书
*
* @param id * @param id
* @return * @return
*/ */
CopyrightCertificateVo getCertificate(Integer id); CopyrightCertificateVo getCertificate(Integer id);
/**
* 判断当前nft是否申请过版权
*
* @param nftHash
* @return
*/
Boolean existsByNftHash(String nftHash);
} }
...@@ -390,6 +390,7 @@ public class CopyrightApplyServiceImpl extends ServiceImpl<CopyrightApplyMapper, ...@@ -390,6 +390,7 @@ public class CopyrightApplyServiceImpl extends ServiceImpl<CopyrightApplyMapper,
public CopyrightVo getByNftHash(String nftHash) throws ExecutionException, InterruptedException { public CopyrightVo getByNftHash(String nftHash) throws ExecutionException, InterruptedException {
QueryWrapper<CopyrightApply> wrapper = new QueryWrapper<>(); QueryWrapper<CopyrightApply> wrapper = new QueryWrapper<>();
wrapper.eq("nft_hash", nftHash); wrapper.eq("nft_hash", nftHash);
wrapper.eq("register_state", CopyrightApplyState.SUCCEEDED.getCode());
CopyrightApply copyrightApply = this.getOne(wrapper); CopyrightApply copyrightApply = this.getOne(wrapper);
if (copyrightApply == null) { if (copyrightApply == null) {
return null; return null;
...@@ -411,4 +412,11 @@ public class CopyrightApplyServiceImpl extends ServiceImpl<CopyrightApplyMapper, ...@@ -411,4 +412,11 @@ public class CopyrightApplyServiceImpl extends ServiceImpl<CopyrightApplyMapper,
return new CopyrightCertificateVo(copyrightApply, user.getNickname(), category.getValue()); return new CopyrightCertificateVo(copyrightApply, user.getNickname(), category.getValue());
} }
@Override
public Boolean existsByNftHash(String nftHash) {
QueryWrapper<CopyrightApply> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("nft_hash", nftHash);
return count(queryWrapper) > 0;
}
} }
...@@ -206,6 +206,10 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe ...@@ -206,6 +206,10 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
} }
// 校验接收人的个人信息 // 校验接收人的个人信息
User receiveUser = userService.getUserByWallet(param.getReceiveWallet()); User receiveUser = userService.getUserByWallet(param.getReceiveWallet());
// 如果此nft已经申请版权的话,那么就不允许在一幕影链平台内部转让
if (receiveUser != null && copyrightApplyService.existsByNftHash(nft.getNftHash())) {
throw GlobalException.newException(ResultCode.TRANSFER_ERROR, "此nft已申请版权,不支持在一幕影链平台内部流转");
}
// 修改nft的拥有者用户id // 修改nft的拥有者用户id
Nft transferNft = new Nft(). Nft transferNft = new Nft().
setUserId(receiveUser != null ? receiveUser.getId() : 0). setUserId(receiveUser != null ? receiveUser.getId() : 0).
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
FROM tb_nft a FROM tb_nft a
WHERE a.user_id = #{userId} WHERE a.user_id = #{userId}
AND a.nft_hash != '' AND a.nft_hash != ''
AND nft_hash NOT IN ( SELECT nft_hash FROM tb_copyright_apply WHERE user_id = #{userId} ) AND nft_hash NOT IN ( SELECT nft_hash FROM tb_copyright_apply)
</select> </select>
</mapper> </mapper>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
2022-01-05 16:28:15.257 [background-preinit] INFO org.hibernate.validator.internal.util.Version-HV000001: Hibernate Validator 6.1.7.Final
2022-01-05 16:28:15.293 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 70892 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2022-01-05 16:28:15.293 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: nj
2022-01-05 16:28:15.345 [restartedMain] INFO o.s.b.d.env.DevToolsPropertyDefaultsPostProcessor-Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2022-01-05 16:28:15.346 [restartedMain] INFO o.s.b.d.env.DevToolsPropertyDefaultsPostProcessor-For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2022-01-05 16:28:16.328 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-05 16:28:16.330 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-05 16:28:16.353 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 12ms. Found 0 Redis repository interfaces.
2022-01-05 16:28:17.297 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2022-01-05 16:28:17.305 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2022-01-05 16:28:17.305 [restartedMain] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2022-01-05 16:28:17.306 [restartedMain] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-05 16:28:17.434 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2022-01-05 16:28:17.434 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext-Root WebApplicationContext: initialization completed in 2088 ms
2022-01-05 16:28:17.601 [restartedMain] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2022-01-05 16:28:18.796 [restartedMain] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} inited
2022-01-05 16:28:20.492 [restartedMain] INFO com.obs.services.ObsClient-Storage|1|HTTP+XML|ObsClient||||2022-01-05 16:28:20|2022-01-05 16:28:20|||0|
2022-01-05 16:28:20.494 [restartedMain] WARN com.obs.services.ObsClient-[OBS SDK Version=3.20.6.1];[Endpoint=https://obs.cn-east-3.myhuaweicloud.com:443/];[Access Mode=Virtul Hosting]
2022-01-05 16:28:20.787 [restartedMain] INFO org.redisson.Version-Redisson 3.16.0
2022-01-05 16:28:21.849 [redisson-netty-4-23] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 146.56.218.121/146.56.218.121:6379
2022-01-05 16:28:31.909 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext-Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'collectionController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nftServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [com/fzm/common/config/RedissonConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
2022-01-05 16:28:31.921 [restartedMain] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closing ...
2022-01-05 16:28:31.925 [restartedMain] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closed
2022-01-05 16:28:31.928 [restartedMain] INFO org.apache.catalina.core.StandardService-Stopping service [Tomcat]
2022-01-05 16:28:31.939 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-01-05 16:28:31.949 [restartedMain] ERROR org.springframework.boot.SpringApplication-Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'collectionController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nftServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [com/fzm/common/config/RedissonConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:321)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at com.fzm.portal.JoyingPortalApplication.main(JoyingPortalApplication.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nftServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [com/fzm/common/config/RedissonConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:321)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:521)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:497)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:650)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:318)
... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path resource [com/fzm/common/config/RedissonConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1181)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeanByName(AbstractAutowireCapableBeanFactory.java:453)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:527)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:497)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:650)
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:318)
... 39 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.redisson.api.RedissonClient]: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:652)
... 55 common frames omitted
Caused by: org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 23 of 24 were initialized. Redis server: 146.56.218.121/146.56.218.121:6379
at org.redisson.connection.pool.ConnectionPool$1.lambda$run$0(ConnectionPool.java:158)
at org.redisson.misc.RedissonPromise.lambda$onComplete$0(RedissonPromise.java:183)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:552)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
at org.redisson.misc.RedissonPromise.tryFailure(RedissonPromise.java:96)
at org.redisson.connection.pool.ConnectionPool.promiseFailure(ConnectionPool.java:328)
at org.redisson.connection.pool.ConnectionPool.lambda$createConnection$1(ConnectionPool.java:294)
at org.redisson.misc.RedissonPromise.lambda$onComplete$0(RedissonPromise.java:183)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
at org.redisson.misc.RedissonPromise.tryFailure(RedissonPromise.java:96)
at org.redisson.client.RedisClient$2$2.run(RedisClient.java:251)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute$$$capture(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: 146.56.218.121/146.56.218.121:6379
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261)
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
... 8 common frames omitted
2022-01-05 16:32:44.402 [background-preinit] INFO org.hibernate.validator.internal.util.Version-HV000001: Hibernate Validator 6.1.7.Final
2022-01-05 16:32:44.433 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 48952 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2022-01-05 16:32:44.434 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: nj
2022-01-05 16:32:44.484 [restartedMain] INFO o.s.b.d.env.DevToolsPropertyDefaultsPostProcessor-Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2022-01-05 16:32:44.484 [restartedMain] INFO o.s.b.d.env.DevToolsPropertyDefaultsPostProcessor-For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2022-01-05 16:32:45.463 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-05 16:32:45.464 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-05 16:32:45.487 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 11ms. Found 0 Redis repository interfaces.
2022-01-05 16:32:46.424 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2022-01-05 16:32:46.433 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2022-01-05 16:32:46.433 [restartedMain] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2022-01-05 16:32:46.433 [restartedMain] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-05 16:32:46.566 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2022-01-05 16:32:46.567 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext-Root WebApplicationContext: initialization completed in 2082 ms
2022-01-05 16:32:46.728 [restartedMain] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2022-01-05 16:32:47.825 [restartedMain] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} inited
2022-01-05 16:32:49.469 [restartedMain] INFO com.obs.services.ObsClient-Storage|1|HTTP+XML|ObsClient||||2022-01-05 16:32:49|2022-01-05 16:32:49|||0|
2022-01-05 16:32:49.471 [restartedMain] WARN com.obs.services.ObsClient-[OBS SDK Version=3.20.6.1];[Endpoint=https://obs.cn-east-3.myhuaweicloud.com:443/];[Access Mode=Virtul Hosting]
2022-01-05 16:32:49.781 [restartedMain] INFO org.redisson.Version-Redisson 3.16.0
2022-01-05 16:32:50.801 [redisson-netty-4-16] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 146.56.218.121/146.56.218.121:6379
2022-01-05 16:32:50.970 [redisson-netty-4-18] INFO org.redisson.connection.pool.MasterConnectionPool-24 connections initialized for 146.56.218.121/146.56.218.121:6379
2022-01-05 16:32:51.122 [restartedMain] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightApplyOwnerRelation.
2022-01-05 16:32:51.209 [restartedMain] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightAuthorityRelation.
2022-01-05 16:32:51.299 [restartedMain] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Initializing ExecutorService 'threadPoolTaskExecutor'
2022-01-05 16:32:52.274 [restartedMain] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping-Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2022-01-05 16:32:52.540 [restartedMain] INFO o.s.b.d.autoconfigure.OptionalLiveReloadServer-LiveReload server is running on port 35729
2022-01-05 16:32:53.128 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Starting ProtocolHandler ["http-nio-8001"]
2022-01-05 16:32:53.142 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat started on port(s): 8001 (http) with context path ''
2022-01-05 16:32:53.143 [restartedMain] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Context refreshed
2022-01-05 16:32:53.159 [restartedMain] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Found 1 custom documentation plugin(s)
2022-01-05 16:32:53.194 [restartedMain] INFO s.d.spring.web.scanners.ApiListingReferenceScanner-Scanning for api listing references
2022-01-05 16:32:53.313 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_1
2022-01-05 16:32:53.325 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_2
2022-01-05 16:32:53.346 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_3
2022-01-05 16:32:53.380 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getByIdUsingGET_1
2022-01-05 16:32:53.401 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_4
2022-01-05 16:32:53.424 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: addUsingPOST_1
2022-01-05 16:32:53.425 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_1
2022-01-05 16:32:53.434 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_5
2022-01-05 16:32:53.435 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: updateUsingPOST_1
2022-01-05 16:32:53.437 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_2
2022-01-05 16:32:53.441 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_6
2022-01-05 16:32:53.472 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_7
2022-01-05 16:32:53.476 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: publishUsingPOST_1
2022-01-05 16:32:53.495 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: saveUsingPOST_1
2022-01-05 16:32:53.504 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getDetailUsingGET_1
2022-01-05 16:32:53.506 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_8
2022-01-05 16:32:53.509 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_9
2022-01-05 16:32:53.510 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_3
2022-01-05 16:32:53.511 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: downloadUsingPOST_1
2022-01-05 16:32:53.512 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: uploadUsingPOST_1
2022-01-05 16:32:53.533 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: updateUsingPOST_2
2022-01-05 16:32:53.553 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Started JoyingPortalApplication in 9.56 seconds (JVM running for 10.843)
2022-01-05 16:33:11.374 [http-nio-8001-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-05 16:33:11.374 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Initializing Servlet 'dispatcherServlet'
2022-01-05 16:33:11.385 [http-nio-8001-exec-1] INFO org.springframework.web.servlet.DispatcherServlet-Completed initialization in 11 ms
2022-01-05 16:33:21.508 [http-nio-8001-exec-9] INFO com.fzm.portal.aop.LogAop-请求路径: /nft/get/0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1,请求参数:[{nftHash=0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1}]
2022-01-05 16:33:21.619 [http-nio-8001-exec-9] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Preparing: SELECT id,category_id,user_id,publish_address,name,cover,author,synopsis,file_name,file_url,file_hash,nft_id,nft_hash,token_id,publish_time,transfer_hash,commemorate_id,is_top,status,is_commemorate,create_date,update_date,create_time,update_time FROM tb_nft WHERE (nft_hash = ?)
2022-01-05 16:33:21.719 [http-nio-8001-exec-9] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Parameters: 0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1(String)
2022-01-05 16:33:21.763 [http-nio-8001-exec-9] DEBUG com.fzm.common.mapper.NftMapper.selectOne-<== Total: 0
2022-01-05 16:33:21.799 [http-nio-8001-exec-9] INFO com.fzm.portal.aop.LogAop-请求路径:/nft/get/0x61408215a1d51775850975ecf3039c3250ac255d94aa1e84bc218f12bc4e78a1,接口耗时:295ms
2022-01-05 16:33:21.802 [http-nio-8001-exec-9] ERROR c.f.c.exception.handler.GlobalExceptionHandler-没找到此nft详情,请核对后再试
com.fzm.common.exception.GlobalException: 没找到此nft详情,请核对后再试
at com.fzm.common.exception.GlobalException.newException(GlobalException.java:30)
at com.fzm.common.service.impl.NftServiceImpl.getDetail(NftServiceImpl.java:251)
at com.fzm.common.service.impl.NftServiceImpl$$FastClassBySpringCGLIB$$b637b8d.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at com.fzm.common.service.impl.NftServiceImpl$$EnhancerBySpringCGLIB$$1a1ebd74.getDetail(<generated>)
at com.fzm.portal.controller.NftController.get(NftController.java:104)
at com.fzm.portal.controller.NftController$$FastClassBySpringCGLIB$$6267b506.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:47)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at com.fzm.portal.controller.NftController$$EnhancerBySpringCGLIB$$c698d831.get(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2022-01-05 16:33:21.806 [http-nio-8001-exec-9] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver-Resolved [com.fzm.common.exception.GlobalException: 没找到此nft详情,请核对后再试]
2022-01-05 16:33:40.512 [http-nio-8001-exec-4] INFO com.fzm.portal.aop.LogAop-请求路径: /nft/get/0xe9328a7685c2b69857c0c5c8f4b3c664d443a8c661f06eeb56bac79d2ee6aaa0,请求参数:[{nftHash=0xe9328a7685c2b69857c0c5c8f4b3c664d443a8c661f06eeb56bac79d2ee6aaa0}]
2022-01-05 16:33:40.589 [http-nio-8001-exec-4] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Preparing: SELECT id,category_id,user_id,publish_address,name,cover,author,synopsis,file_name,file_url,file_hash,nft_id,nft_hash,token_id,publish_time,transfer_hash,commemorate_id,is_top,status,is_commemorate,create_date,update_date,create_time,update_time FROM tb_nft WHERE (nft_hash = ?)
2022-01-05 16:33:40.589 [http-nio-8001-exec-4] DEBUG com.fzm.common.mapper.NftMapper.selectOne-==> Parameters: 0xe9328a7685c2b69857c0c5c8f4b3c664d443a8c661f06eeb56bac79d2ee6aaa0(String)
2022-01-05 16:33:40.614 [http-nio-8001-exec-4] DEBUG com.fzm.common.mapper.NftMapper.selectOne-<== Total: 1
2022-01-05 16:33:40.620 [http-nio-8001-exec-4] DEBUG c.fzm.common.mapper.CopyrightApplyMapper.selectOne-==> Preparing: SELECT id,serial_num,user_id,nft_hash,nft_name,register_entrust,opus_name,opus_category_id,opus_property,content_synopsis,create_process,opus_complete_date,opus_complete_province,opus_complete_city,publish_state,first_publish_date,first_publish_province,first_publish_city,authority_acquire_mode,authority_acquire_prove,authority_ascription_mode,authority_ascription_prove,opus_power_guarantee,apply_time,register_state,evidence_hash,evidence_date,reject_reason,content,register_code,create_date,update_date FROM tb_copyright_apply WHERE (nft_hash = ?)
2022-01-05 16:33:40.622 [http-nio-8001-exec-4] DEBUG c.fzm.common.mapper.CopyrightApplyMapper.selectOne-==> Parameters: 0xe9328a7685c2b69857c0c5c8f4b3c664d443a8c661f06eeb56bac79d2ee6aaa0(String)
2022-01-05 16:33:40.639 [http-nio-8001-exec-4] DEBUG c.fzm.common.mapper.CopyrightApplyMapper.selectOne-<== Total: 0
2022-01-05 16:33:40.670 [http-nio-8001-exec-4] INFO com.fzm.portal.aop.LogAop-请求路径:/nft/get/0xe9328a7685c2b69857c0c5c8f4b3c664d443a8c661f06eeb56bac79d2ee6aaa0,接口耗时:159ms
2022-01-05 16:36:04.060 [Thread-23] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Shutting down ExecutorService 'threadPoolTaskExecutor'
2022-01-05 16:36:04.112 [Thread-23] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closing ...
2022-01-05 16:36:04.118 [Thread-23] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-1} closed
2022-01-05 16:36:04.451 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 48952 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2022-01-05 16:36:04.451 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: nj
2022-01-05 16:36:05.416 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-05 16:36:05.417 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-05 16:36:05.421 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 3ms. Found 0 Redis repository interfaces.
2022-01-05 16:36:05.509 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner-No MyBatis mapper was found in '[com.fzm.common.mapper]' package. Please check your configuration.
2022-01-05 16:36:05.850 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2022-01-05 16:36:05.851 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2022-01-05 16:36:05.852 [restartedMain] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2022-01-05 16:36:05.852 [restartedMain] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-05 16:36:05.899 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2022-01-05 16:36:05.899 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext-Root WebApplicationContext: initialization completed in 1443 ms
2022-01-05 16:36:05.921 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext-Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityController': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.fzm.portal.controller.AuthorityController] from ClassLoader [org.springframework.boot.devtools.restart.classloader.RestartClassLoader@5c8934ab]
2022-01-05 16:36:05.921 [restartedMain] INFO org.apache.catalina.core.StandardService-Stopping service [Tomcat]
2022-01-05 16:36:05.927 [restartedMain] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-01-05 16:36:05.937 [restartedMain] ERROR org.springframework.boot.SpringApplication-Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityController': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.fzm.portal.controller.AuthorityController] from ClassLoader [org.springframework.boot.devtools.restart.classloader.RestartClassLoader@5c8934ab]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:289)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1290)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at com.fzm.portal.JoyingPortalApplication.main(JoyingPortalApplication.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.fzm.portal.controller.AuthorityController] from ClassLoader [org.springframework.boot.devtools.restart.classloader.RestartClassLoader@5c8934ab]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:481)
at org.springframework.util.ReflectionUtils.doWithLocalMethods(ReflectionUtils.java:321)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:267)
... 24 common frames omitted
Caused by: java.lang.NoClassDefFoundError: com/fzm/common/model/ResponseModel
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:463)
... 26 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.fzm.common.model.ResponseModel
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.springframework.boot.devtools.restart.classloader.RestartClassLoader.loadClass(RestartClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 30 common frames omitted
2022-01-05 16:36:10.194 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Starting JoyingPortalApplication on LAPTOP-AT8CNAMK with PID 48952 (D:\workspace\fzm-joying\joying-portal\target\classes started by tangtuo in D:\workspace\fzm-joying)
2022-01-05 16:36:10.194 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-The following profiles are active: nj
2022-01-05 16:36:10.701 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Multiple Spring Data modules found, entering strict repository configuration mode!
2022-01-05 16:36:10.701 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-01-05 16:36:10.704 [restartedMain] INFO o.s.d.r.config.RepositoryConfigurationDelegate-Finished Spring Data repository scanning in 2ms. Found 0 Redis repository interfaces.
2022-01-05 16:36:10.963 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat initialized with port(s): 8001 (http)
2022-01-05 16:36:10.964 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Initializing ProtocolHandler ["http-nio-8001"]
2022-01-05 16:36:10.964 [restartedMain] INFO org.apache.catalina.core.StandardService-Starting service [Tomcat]
2022-01-05 16:36:10.964 [restartedMain] INFO org.apache.catalina.core.StandardEngine-Starting Servlet engine: [Apache Tomcat/9.0.43]
2022-01-05 16:36:11.016 [restartedMain] INFO o.a.c.c.ContainerBase.[Tomcat-1].[localhost].[/]-Initializing Spring embedded WebApplicationContext
2022-01-05 16:36:11.016 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext-Root WebApplicationContext: initialization completed in 818 ms
2022-01-05 16:36:11.067 [restartedMain] INFO c.a.d.s.b.a.DruidDataSourceAutoConfigure-Init DruidDataSource
2022-01-05 16:36:11.968 [restartedMain] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-2} inited
2022-01-05 16:36:12.676 [restartedMain] INFO com.obs.services.ObsClient-Storage|1|HTTP+XML|ObsClient||||2022-01-05 16:36:12|2022-01-05 16:36:12|||0|
2022-01-05 16:36:12.676 [restartedMain] WARN com.obs.services.ObsClient-[OBS SDK Version=3.20.6.1];[Endpoint=https://obs.cn-east-3.myhuaweicloud.com:443/];[Access Mode=Virtul Hosting]
2022-01-05 16:36:12.845 [restartedMain] INFO org.redisson.Version-Redisson 3.16.0
2022-01-05 16:36:12.916 [redisson-netty-9-29] INFO o.r.connection.pool.MasterPubSubConnectionPool-1 connections initialized for 146.56.218.121/146.56.218.121:6379
2022-01-05 16:36:13.003 [redisson-netty-9-18] INFO org.redisson.connection.pool.MasterConnectionPool-24 connections initialized for 146.56.218.121/146.56.218.121:6379
2022-01-05 16:36:13.125 [restartedMain] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightApplyOwnerRelation.
2022-01-05 16:36:13.201 [restartedMain] WARN c.b.mybatisplus.core.metadata.TableInfoHelper-Warn: Could not find @TableId in Class: com.fzm.common.entity.CopyrightAuthorityRelation.
2022-01-05 16:36:13.301 [restartedMain] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Initializing ExecutorService 'threadPoolTaskExecutor'
2022-01-05 16:36:13.991 [restartedMain] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping-Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2022-01-05 16:36:14.136 [restartedMain] INFO o.s.b.d.autoconfigure.OptionalLiveReloadServer-LiveReload server is running on port 35729
2022-01-05 16:36:14.485 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol-Starting ProtocolHandler ["http-nio-8001"]
2022-01-05 16:36:14.488 [restartedMain] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer-Tomcat started on port(s): 8001 (http) with context path ''
2022-01-05 16:36:14.489 [restartedMain] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Context refreshed
2022-01-05 16:36:14.490 [restartedMain] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper-Found 1 custom documentation plugin(s)
2022-01-05 16:36:14.498 [restartedMain] INFO s.d.spring.web.scanners.ApiListingReferenceScanner-Scanning for api listing references
2022-01-05 16:36:14.520 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_1
2022-01-05 16:36:14.529 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_2
2022-01-05 16:36:14.542 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_3
2022-01-05 16:36:14.563 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getByIdUsingGET_1
2022-01-05 16:36:14.578 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_4
2022-01-05 16:36:14.595 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: addUsingPOST_1
2022-01-05 16:36:14.596 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_1
2022-01-05 16:36:14.602 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_5
2022-01-05 16:36:14.603 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: updateUsingPOST_1
2022-01-05 16:36:14.604 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_2
2022-01-05 16:36:14.609 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_6
2022-01-05 16:36:14.633 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_7
2022-01-05 16:36:14.637 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: publishUsingPOST_1
2022-01-05 16:36:14.645 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: saveUsingPOST_1
2022-01-05 16:36:14.651 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: getDetailUsingGET_1
2022-01-05 16:36:14.653 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_8
2022-01-05 16:36:14.655 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: listUsingGET_9
2022-01-05 16:36:14.656 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: deleteUsingPOST_3
2022-01-05 16:36:14.657 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: downloadUsingPOST_1
2022-01-05 16:36:14.657 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: uploadUsingPOST_1
2022-01-05 16:36:14.675 [restartedMain] INFO s.d.s.w.r.operation.CachingOperationNameGenerator-Generating unique operation named: updateUsingPOST_2
2022-01-05 16:36:14.681 [restartedMain] INFO com.fzm.portal.JoyingPortalApplication-Started JoyingPortalApplication in 4.547 seconds (JVM running for 211.971)
2022-01-05 16:36:14.683 [restartedMain] INFO o.s.b.d.a.ConditionEvaluationDeltaLoggingListener-Condition evaluation unchanged
2022-01-05 18:43:18.469 [SpringContextShutdownHook] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor-Shutting down ExecutorService 'threadPoolTaskExecutor'
2022-01-05 18:43:18.505 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-2} closing ...
2022-01-05 18:43:18.515 [SpringContextShutdownHook] INFO com.alibaba.druid.pool.DruidDataSource-{dataSource-2} closed
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment