swagger添加线下会议成功但数据库instance_id为空

来源:4-11 创建线下会议申请(后端)(二)

蝴蝶是保护动物

2022-03-25

现象如题:
图片描述

emos-api后端输出信息:

Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@23993e8c] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@28e5cb3d] will not be managed by Spring
==>  Preparing: INSERT INTO tb_meeting SET title = ?, uuid = ?, `date` = ?, creator_id = ?, place = ?, `start` = ?, `end` = ?, `type` = ?, members = ?, `desc` = ?, instance_id = ?, status = ?, create_time = NOW()
==> Parameters: 市场部季度总结会(String), d9f8b21cf95349b8886f19e62cc5432a(String), 2022-03-27(String), 24(Integer), 大会议室A01(String), 09:30(String), 11:00(String), 2(Short), [15,24](String), 总结第二季度销售业绩(String), null, 1(Short)
<==    Updates: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@23993e8c]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5d3602f3] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@28e5cb3d] will not be managed by Spring
==>  Preparing: SELECT u.open_id AS openId, u.nickname, u.name, u.photo, u.sex, u.tel, u.email, d.dept_name AS dept, u.hiredate, u.status, ( SELECT GROUP_CONCAT( role_name separator "," ) FROM tb_role WHERE JSON_CONTAINS ( u.role, CONVERT ( id, CHAR ) ) ) AS roles FROM tb_user u LEFT JOIN tb_dept d ON u.dept_id = d.id WHERE u.id = ? AND u.status = 1
==> Parameters: 24(Integer)
<==    Columns: openId, nickname, name, photo, sex, tel, email, dept, hiredate, status, roles
<==        Row: oI59H5WbFPX0pZui8Ncd0zTeaUV0, 蒙浩程, 蒙浩程, https://thirdwx.qlogo.cn/mmopen/vi_32/vOYNibJV15ACtM1V234ibQ0Ca8u4eVnFBulLrRe9kIib6SPV1HSfyICUehwBp8hkoicvHQFxAG0FFp19djYj8icYfiaQ/132, 男, 18565772445, menghaocheng@qq.com, 管理部, 2022-03-24, 1, 超级管理员,部门经理
<==      Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5d3602f3]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f80542e] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@28e5cb3d] will not be managed by Spring
==>  Preparing: SELECT u2.id FROM tb_user u1 JOIN tb_user u2 ON u1.dept_id=u2.dept_id JOIN tb_role r ON JSON_CONTAINS(u2.role, CAST(r.id AS CHAR)) WHERE u1.id=? AND r.id=2 AND u1.status = 1 AND u2.status = 1 ORDER BY u2.create_time DESC LIMIT 1
==> Parameters: 24(Integer)
<==    Columns: id
<==        Row: 24
<==      Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f80542e]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@732bbb4] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@28e5cb3d] will not be managed by Spring
==>  Preparing: SELECT u.id FROM tb_user u JOIN tb_role r ON JSON_CONTAINS(u.role, CAST(r.id AS CHAR)) WHERE r.id=1 AND u.status = 1 ORDER BY u.create_time DESC LIMIT 1
==> Parameters: 
<==    Columns: id
<==        Row: 17
<==      Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@732bbb4]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@fbf0907] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@28e5cb3d] will not be managed by Spring
==>  Preparing: SELECT IF(COUNT(DISTINCT u.dept_id)=1,TRUE,FALSE ) AS bool FROM tb_meeting m JOIN tb_user u ON JSON_CONTAINS ( m.members, CAST( u.id AS CHAR ) ) WHERE m.uuid=? AND u.status = 1
==> Parameters: d9f8b21cf95349b8886f19e62cc5432a(String)
<==    Columns: bool
<==        Row: 0
<==      Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@fbf0907]
2022/03/25 16:50:38  ERROR  后端执行异常

workflow输出信息:

D:\doc.SpringBoot\imooc02\emos\emos-workflow>java -jar -Dfile.encoding=utf-8 emos-workflow.jar --spring.config.location=application.yml

################################################
#                                              #
#        ## #   #    ## ### ### ##  ###        #
#       # # #   #   # #  #  # # # #  #         #
#       ### #   #   ###  #  # # ##   #         #
#       # # ### ### # #  #  ### # # ###        #
#                                              #
# Obfuscation by Allatori Obfuscator v7.6 DEMO #
#                                              #
#           http://www.allatori.com            #
#                                              #
################################################


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.4.2)

16:50:10  INFO   Starting EmosWorkflowApplication using Java 17.0.2 on BF-202110041903 with PID 10824 (D:\doc.SpringBoot\imooc02\emos\emos-workflow\emos-workflow.jar started by Administrator in D:\doc.SpringBoot\imooc02\emos\emos-workflow)
16:50:10  INFO   No active profile set, falling back to default profiles: default
16:50:14  INFO   Multiple Spring Data modules found, entering strict repository configuration mode!
16:50:14  INFO   Bootstrapping Spring Data Redis repositories in DEFAULT mode.
16:50:14  INFO   Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces.
16:50:15  INFO   @Bean method DroolsConfiguration.kiePostProcessor is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
16:50:15  INFO   :: BeanFactoryPostProcessor::postProcessBeanFactory called ::
16:50:15  WARN   Unable to find pom.properties in /D:/doc.SpringBoot/imooc02/emos/emos-workflow/emos-workflow.jar!/BOOT-INF/classes
16:50:15  WARN   As folder project tried to fall back to pom.xml, but could not find one
16:50:15  WARN   Unable to load pom.properties from/D:/doc.SpringBoot/imooc02/emos/emos-workflow/emos-workflow.jar!/BOOT-INF/classes
16:50:15  INFO   Found project with releaseId: org.default:artifact:1.0.0
16:50:15  INFO   Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@5357c287' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
16:50:15  INFO   Bean 'methodSecurityConfig' of type [org.activiti.spring.boot.MethodSecurityConfig$$EnhancerBySpringCGLIB$$67c05571] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
16:50:15  INFO   Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
16:50:16  INFO   Logging initialized @7373ms to org.eclipse.jetty.util.log.Slf4jLog
16:50:16  INFO   Server initialized with port: 9090
16:50:16  INFO   jetty-9.4.35.v20201120; built: 2020-11-20T21:17:03.964Z; git: bdc54f03a5e0a7e280fab27f55c3c75ee8da89fb; jvm 17.0.2+8-LTS-86
16:50:16  INFO   Initializing Spring embedded WebApplicationContext
16:50:16  INFO   Root WebApplicationContext: initialization completed in 5924 ms
16:50:16  INFO   DefaultSessionIdManager workerName=node0
16:50:16  INFO   No SessionScavenger set, using defaults
16:50:16  INFO   node0 Scavenging every 660000ms
16:50:16  INFO   Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@545f80bf{application,/emos-workflow,[file:///C:/Users/Administrator/AppData/Local/Temp/jetty-docbase.9090.10705474355563513884/],AVAILABLE}
16:50:16  INFO   Started @8167ms
16:50:17  INFO

Using generated security password: 9a493745-0adb-41b2-b4ff-cfedc63a4ddc

16:50:17  INFO   Init DruidDataSource
16:50:17  INFO   {dataSource-1} inited
16:50:17  INFO   Initializing ExecutorService
16:50:17  INFO   Initializing ExecutorService 'AsyncTaskExecutor'
16:50:18  INFO   The following process definition files will be deployed: [leave.bpmn20.xml, meeting.bpmn20.xml, reim.bpmn20.xml]
16:50:18  INFO   Found 1 Process Engine Configurators in total:
16:50:18  INFO   class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$b8bc7d0f (priority:10000)
16:50:18  INFO   Executing beforeInit() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$b8bc7d0f (priority:10000)
16:50:19  INFO   Executing configure() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$b8bc7d0f (priority:10000)
16:50:19  INFO   ProcessEngine default created
16:50:22  INFO   Start creation of KieBase: defaultKieBase
16:50:22  INFO   End creation of KieBase: defaultKieBase
16:50:22  INFO   Using default implementation for ThreadExecutor
16:50:22  INFO   Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
16:50:22  INFO   Quartz Scheduler v.2.3.2 created.
16:50:22  INFO   Using db table-based data access locking (synchronization).
16:50:22  INFO   JobStoreCMT initialized.
16:50:22  INFO   Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.

16:50:22  INFO   Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
16:50:22  INFO   Quartz scheduler version: 2.3.2
16:50:22  INFO   JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@25b38203
16:50:23  INFO   Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@44aa2e13, org.springframework.security.web.context.SecurityContextPersistenceFilter@4b765e92, org.springframework.security.web.header.HeaderWriterFilter@2f995afc, org.springframework.security.web.authentication.logout.LogoutFilter@2199e845, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4a70d302, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@261b9a37, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@599a9cb2, org.springframework.security.web.session.SessionManagementFilter@715fa8c5, org.springframework.security.web.access.ExceptionTranslationFilter@a1691c0, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@dbddbe3]
16:50:24  INFO   Exposing 2 endpoint(s) beneath base path '/actuator'
16:50:24  INFO   Initializing Spring DispatcherServlet 'dispatcherServlet'
16:50:24  INFO   Initializing Servlet 'dispatcherServlet'
16:50:24  INFO   Completed initialization in 1 ms
16:50:24  INFO   Started ServerConnector@1bdf8190{HTTP/1.1, (http/1.1)}{0.0.0.0:9090}
16:50:24  INFO   Jetty started on port(s) 9090 (http/1.1) with context path '/emos-workflow'
16:50:24  INFO   Starting Quartz Scheduler now
16:50:24  INFO   Freed 0 triggers from 'acquired' / 'blocked' state.
16:50:24  INFO   Recovering 0 jobs that were in-progress at the time of the last shut-down.
16:50:24  INFO   Recovery complete.
16:50:24  INFO   Removed 0 'complete' triggers.
16:50:24  INFO   Removed 0 stale fired job entries.
16:50:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED started.
16:50:24  INFO   Started EmosWorkflowApplication in 15.106 seconds (JVM running for 15.769)
16:50:38  ERROR  鎵ц寮傚父
cn.hutool.crypto.CryptoException: SecurityException: JCE cannot authenticate the provider BC
        at cn.hutool.crypto.SecureUtil.createCipher(SecureUtil.java:987)
        at cn.hutool.crypto.symmetric.SymmetricCrypto.init(SymmetricCrypto.java:154)
        at cn.hutool.crypto.symmetric.SymmetricCrypto.<init>(SymmetricCrypto.java:124)
        at cn.hutool.crypto.symmetric.SymmetricCrypto.<init>(SymmetricCrypto.java:112)
        at cn.hutool.crypto.symmetric.SymmetricCrypto.<init>(SymmetricCrypto.java:101)
        at cn.hutool.crypto.symmetric.SymmetricCrypto.<init>(SymmetricCrypto.java:80)
        at cn.hutool.crypto.symmetric.AES.<init>(AES.java:49)
        at cn.hutool.crypto.SecureUtil.aes(SecureUtil.java:421)
        at com.example.emos.workflow.controller.WorkFlowController.checkTcode(za:487)
        at com.example.emos.workflow.controller.WorkFlowController.startMeetingProcess(za:13)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:517)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
        at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
        at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        at org.eclipse.jetty.server.Server.handle(Server.java:516)
        at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
        at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
        at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC
        at java.base/javax.crypto.Cipher.getInstance(Cipher.java:722)
        at cn.hutool.crypto.SecureUtil.createCipher(SecureUtil.java:985)
        ... 108 common frames omitted
Caused by: java.lang.IllegalStateException: zip file closed
        at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:831)
        at java.base/java.util.zip.ZipFile.getManifestName(ZipFile.java:1057)
        at java.base/java.util.zip.ZipFile$1.getManifestName(ZipFile.java:1100)
        at java.base/javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:461)
        at java.base/javax.crypto.JarVerifier.verifyJars(JarVerifier.java:317)
        at java.base/javax.crypto.JarVerifier.verify(JarVerifier.java:260)
        at java.base/javax.crypto.ProviderVerifier.verify(ProviderVerifier.java:130)
        at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.java:190)
        at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:218)
        at java.base/javax.crypto.Cipher.getInstance(Cipher.java:718)
        ... 109 common frames omitted

确认tcode是没有过期的:
图片描述
图片描述

“问答”中有多个相关问题,我看完之后也没有找到解决方法,因此向老师求助。

写回答

1回答

蝴蝶是保护动物

提问者

2022-03-26

把JDK换成15.0.2之后问题解决了。

0
5
Leith_Q
回复
weixin_慕瓜2493064
早就解决了,是我的角色权限没有调对
2022-04-23
共5条回复

SpringBoot+Vue3 项目实战,打造企业级在线办公系统

以业务为基础,贯穿前后端技术栈,获得企业级项目开发经验

2231 学习 · 1261 问题

查看课程