请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

emos-workflow启动失败

################################################

#                                              #

#        ## #   #    ## ### ### ##  ###        #

#       # # #   #   # #  #  # # # #  #         #

#       ### #   #   ###  #  # # ##   #         #

#       # # ### ### # #  #  ### # # ###        #

#                                              #

# Obfuscation by Allatori Obfuscator v7.6 DEMO #

#                                              #

#           http://www.allatori.com            #

#                                              #

################################################



  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v2.4.2)


20:27:09  INFO   Starting EmosWorkflowApplication using Java 15.0.2 on DESKTOP-6L611LS with PID 8280 (D:\Codeing_Project\Emos\emos-workflow\emos-workflow.jar started by 77 in D:\Codeing_Project\Emos\emos-workflow)

20:27:09  INFO   No active profile set, falling back to default profiles: default

20:27:12  INFO   Multiple Spring Data modules found, entering strict repository configuration mode!

20:27:12  INFO   Bootstrapping Spring Data Redis repositories in DEFAULT mode.

20:27:12  INFO   Finished Spring Data repository scanning in 17 ms. Found 0 Redis repository interfaces.

20:27:12  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.

20:27:12  INFO   :: BeanFactoryPostProcessor::postProcessBeanFactory called ::

20:27:12  WARN   Unable to find pom.properties in /D:/Codeing_Project/Emos/emos-workflow/emos-workflow.jar!/BOOT-INF/classes

20:27:12  WARN   As folder project tried to fall back to pom.xml, but could not find one

20:27:12  WARN   Unable to load pom.properties from/D:/Codeing_Project/Emos/emos-workflow/emos-workflow.jar!/BOOT-INF/classes

20:27:12  INFO   Found project with releaseId: org.default:artifact:1.0.0

20:27:13  INFO   Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@4b3c354a' 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)

20:27:13  INFO   Bean 'methodSecurityConfig' of type [org.activiti.spring.boot.MethodSecurityConfig$$EnhancerBySpringCGLIB$$2a362a3d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

20:27:13  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)

20:27:13  INFO   Logging initialized @6518ms to org.eclipse.jetty.util.log.Slf4jLog

20:27:13  INFO   Server initialized with port: 9090

20:27:13  INFO   jetty-9.4.35.v20201120; built: 2020-11-20T21:17:03.964Z; git: bdc54f03a5e0a7e280fab27f55c3c75ee8da89fb; jvm 15.0.2+7-27

20:27:14  INFO   Initializing Spring embedded WebApplicationContext

20:27:14  INFO   Root WebApplicationContext: initialization completed in 4781 ms

20:27:14  INFO   DefaultSessionIdManager workerName=node0

20:27:14  INFO   No SessionScavenger set, using defaults

20:27:14  INFO   node0 Scavenging every 600000ms

20:27:14  INFO   Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@350b3a17{application,/emos-workflow,[file:///C:/Users/77/AppData/Local/Temp/jetty-docbase.9090.5612383800615264384/],AVAILABLE}

20:27:14  INFO   Started @7284ms

20:27:14  INFO


Using generated security password: 4279bf64-82ca-41fd-adde-af15af6e7493


20:27:14  INFO   Init DruidDataSource

20:27:15  INFO   {dataSource-1} inited

20:27:15  INFO   Initializing ExecutorService

20:27:15  INFO   Initializing ExecutorService 'AsyncTaskExecutor'

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.springframework.boot.loader.jar.Handler (file:/D:/Codeing_Project/Emos/emos-workflow/emos-workflow.jar) to constructor sun.net.www.protocol.jar.Handler()

WARNING: Please consider reporting this to the maintainers of org.springframework.boot.loader.jar.Handler

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

20:27:17  INFO   The following process definition files will be deployed: [leave.bpmn20.xml, meeting.bpmn20.xml, reim.bpmn20.xml, leave.bpmn20.xml, meeting.bpmn20.xml, reim.bpmn20.xml]

20:27:18  INFO   Found 1 Process Engine Configurators in total:

20:27:18  INFO   class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$7b3251db (priority:10000)

20:27:18  INFO   Executing beforeInit() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$7b3251db (priority:10000)

20:27:19  INFO   Executing configure() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfiguration$$EnhancerBySpringCGLIB$$7b3251db (priority:10000)

20:27:19  INFO   ProcessEngine default created

20:27:21  INFO   Start creation of KieBase: defaultKieBase

20:27:21  INFO   End creation of KieBase: defaultKieBase

20:27:22  INFO   Using default implementation for ThreadExecutor

20:27:22  INFO   Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

20:27:22  INFO   Quartz Scheduler v.2.3.2 created.

20:27:22  INFO   Using db table-based data access locking (synchronization).

20:27:22  INFO   JobStoreCMT initialized.

20:27: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.


20:27:22  INFO   Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.

20:27:22  INFO   Quartz scheduler version: 2.3.2

20:27:22  INFO   JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@1a950fdd

20:27:22  INFO   Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@22ead351, org.springframework.security.web.context.SecurityContextPersistenceFilter@6637a365, org.springframework.security.web.header.HeaderWriterFilter@7fd99443, org.springframework.security.web.authentication.logout.LogoutFilter@c2cf597, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1ef31f71, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@27976390, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@68af87ad, org.springframework.security.web.session.SessionManagementFilter@1213ffbc, org.springframework.security.web.access.ExceptionTranslationFilter@4665428b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@31834a2b]

20:27:23  INFO   Exposing 2 endpoint(s) beneath base path '/actuator'

20:27:23  INFO   Initializing Spring DispatcherServlet 'dispatcherServlet'

20:27:23  INFO   Initializing Servlet 'dispatcherServlet'

20:27:23  INFO   Completed initialization in 1 ms

20:27:24  INFO   Started ServerConnector@4b6166aa{HTTP/1.1, (http/1.1)}{0.0.0.0:9090}

20:27:24  INFO   Jetty started on port(s) 9090 (http/1.1) with context path '/emos-workflow'

20:27:24  INFO   Starting Quartz Scheduler now

20:27:24  INFO   Freed 0 triggers from 'acquired' / 'blocked' state.

20:27:24  INFO   Recovering 0 jobs that were in-progress at the time of the last shut-down.

20:27:24  INFO   Recovery complete.

20:27:24  INFO   Removed 0 'complete' triggers.

20:27:24  INFO   Removed 0 stale fired job entries.

20:27:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED started.

20:27:24  INFO   Started EmosWorkflowApplication in 16.136 seconds (JVM running for 16.943)

20:27:24  ERROR  Error while closing command context

java.lang.NullPointerException: Cannot invoke "org.activiti.engine.impl.persistence.entity.DeploymentEntity.setNew(boolean)" because "deployment" is null

        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:122)

        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedProcessDefinitionById(DeploymentManager.java:76)

        at org.activiti.engine.impl.util.ProcessDefinitionUtil.getBpmnModel(ProcessDefinitionUtil.java:65)

        at org.activiti.engine.impl.cmd.GetBpmnModelCmd.execute(GetBpmnModelCmd.java:41)

        at org.activiti.engine.impl.cmd.GetBpmnModelCmd.execute(GetBpmnModelCmd.java:26)

        at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37)

        at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78)

        at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57)

        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42)

        at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48)

        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:59)

        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)

        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)

        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29)

        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44)

        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39)

        at org.activiti.engine.impl.RepositoryServiceImpl.getBpmnModel(RepositoryServiceImpl.java:142)

        at org.activiti.runtime.api.model.impl.APIProcessDefinitionConverter.from(APIProcessDefinitionConverter.java:40)

        at org.activiti.runtime.api.model.impl.APIProcessDefinitionConverter.from(APIProcessDefinitionConverter.java:24)

        at org.activiti.runtime.api.model.impl.ListConverter.from(ListConverter.java:27)

        at org.activiti.spring.ProcessDeployedEventProducer.onApplicationEvent(ProcessDeployedEventProducer.java:48)

        at org.activiti.spring.ProcessDeployedEventProducer.onApplicationEvent(ProcessDeployedEventProducer.java:31)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:426)

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383)

        at org.springframework.boot.context.event.EventPublishingRunListener.running(EventPublishingRunListener.java:111)

        at org.springframework.boot.SpringApplicationRunListeners.lambda$running$6(SpringApplicationRunListeners.java:79)

        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)

        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)

        at org.springframework.boot.SpringApplicationRunListeners.running(SpringApplicationRunListeners.java:79)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:341)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)

        at com.example.emos.workflow.EmosWorkflowApplication.main(ab:38)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.base/java.lang.reflect.Method.invoke(Method.java:564)

        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)

        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)

20:27:24  ERROR  Application run failed

java.lang.NullPointerException: Cannot invoke "org.activiti.engine.impl.persistence.entity.DeploymentEntity.setNew(boolean)" because "deployment" is null

        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:122)

        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedProcessDefinitionById(DeploymentManager.java:76)

        at org.activiti.engine.impl.util.ProcessDefinitionUtil.getBpmnModel(ProcessDefinitionUtil.java:65)

        at org.activiti.engine.impl.cmd.GetBpmnModelCmd.execute(GetBpmnModelCmd.java:41)

        at org.activiti.engine.impl.cmd.GetBpmnModelCmd.execute(GetBpmnModelCmd.java:26)

        at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37)

        at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78)

        at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57)

        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42)

        at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48)

        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:59)

        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)

        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)

        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29)

        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44)

        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39)

        at org.activiti.engine.impl.RepositoryServiceImpl.getBpmnModel(RepositoryServiceImpl.java:142)

        at org.activiti.runtime.api.model.impl.APIProcessDefinitionConverter.from(APIProcessDefinitionConverter.java:40)

        at org.activiti.runtime.api.model.impl.APIProcessDefinitionConverter.from(APIProcessDefinitionConverter.java:24)

        at org.activiti.runtime.api.model.impl.ListConverter.from(ListConverter.java:27)

        at org.activiti.spring.ProcessDeployedEventProducer.onApplicationEvent(ProcessDeployedEventProducer.java:48)

        at org.activiti.spring.ProcessDeployedEventProducer.onApplicationEvent(ProcessDeployedEventProducer.java:31)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:426)

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383)

        at org.springframework.boot.context.event.EventPublishingRunListener.running(EventPublishingRunListener.java:111)

        at org.springframework.boot.SpringApplicationRunListeners.lambda$running$6(SpringApplicationRunListeners.java:79)

        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)

        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)

        at org.springframework.boot.SpringApplicationRunListeners.running(SpringApplicationRunListeners.java:79)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:341)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311)

        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)

        at com.example.emos.workflow.EmosWorkflowApplication.main(ab:38)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)

        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.base/java.lang.reflect.Method.invoke(Method.java:564)

        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)

        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)

20:27:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED paused.

20:27:24  INFO   Stopped ServerConnector@4b6166aa{HTTP/1.1, (http/1.1)}{0.0.0.0:9090}

20:27:24  INFO   node0 Stopped scavenging

20:27:24  INFO   Destroying Spring FrameworkServlet 'dispatcherServlet'

20:27:24  INFO   Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@350b3a17{application,/emos-workflow,[file:///C:/Users/77/AppData/Local/Temp/jetty-docbase.9090.5612383800615264384/],STOPPED}

20:27:24  INFO   Shutting down Quartz Scheduler

20:27:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED shutting down.

20:27:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED paused.

20:27:24  INFO   Scheduler quartzScheduler_$_NON_CLUSTERED shutdown complete.

20:27:24  INFO   Shutting down ExecutorService 'AsyncTaskExecutor'

20:27:24  INFO   {dataSource-1} closed


正在回答

1回答

你的JDK不是15.0.2的吧

0 回复 有任何疑惑可以回复我~
  • 提问者 慕运维0057756 #1
    20:27:09  INFO   Starting EmosWorkflowApplication using Java 15.0.2 on DESKTOP-6L611LS with PID 8280 (D:\Codeing_Project\Emos\emos-workflow\emos-workflow.jar started by 77 in D:\Codeing_Project\Emos\emos-workflow)
    
    是15.0.2的,换了环境变量了
    回复 有任何疑惑可以回复我~ 2022-06-05 15:41:59
  • 提问者 慕运维0057756 #2
    已解决,数据库版本问题。
    回复 有任何疑惑可以回复我~ 2022-06-05 18:19:09
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信