Hello everyone.
I'm in faced with a problem of Opening the UI designer.
After finished the installation of Bonita Studio Community and Bonita Platform in reference to the document, I started Bonita Studio and Bonita Platform(Of cource configured environment variable JRE_HOME).
They worked well.
Then, I made a new diagram and pushed "Open ui designer button", but the browser displayed "404."
This trouble looks same to the following, but ui-designer.log is a little bit different.
https://documentation.bonitasoft.com/bonita/7.12/ui-designer-overview#toc10
How can I solve this trouble?
My environments:
Bonita: community 2021.1
JAVA: Ver.8 update281
OS: Win10 proffesional
Browser: Google Chrome
Here is the ui-designer.log:
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer -
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - d8888b. .d88b. d8b db d888888b d888888b .d8b. .d8888. .d88b. d88888b d888888b
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - 88 `8D .8P Y8. 888o 88 `88' `~~88~~' d8' `8b 88' YP .8P Y8. 88' `~~88~~'
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - 88oooY' 88 88 88V8o 88 88 88 88ooo88 `8bo. 88 88 88ooo 88
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - 88~~~b. 88 88 88 V8o88 88 88 88~~~88 `Y8b. 88 88 88~~~ 88
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - 88 8D `8b d8' 88 V888 .88. 88 88 88 db 8D `8b d8' 88 88
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - Y8888P' `Y88P' VP V8P Y888888P YP YP YP `8888Y' `Y88P' YP YP
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - ====================================================================================================
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - UI-DESIGNER : Community edition v.1.12.41
10:51:20 [localhost-startStop-1] INFO o.b.w.d.SpringWebApplicationInitializer - ====================================================================================================
10:51:20 [localhost-startStop-1] INFO o.s.w.c.ContextLoader - Root WebApplicationContext: initialization started
10:51:22 [localhost-startStop-1] INFO o.h.v.i.u.Version - HV000001: Hibernate Validator 5.4.1.Final
10:51:22 [localhost-startStop-1] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'clientInboundChannelExecutor'
10:51:22 [localhost-startStop-1] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'clientOutboundChannelExecutor'
10:51:23 [localhost-startStop-1] WARN o.s.w.c.s.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'migrationResource' defined in file [C:\BonitaStudioCommunity-2021.1\workspace\.metadata\.plugins\org.bonitasoft.studio.designer\.extract\webapps\bonita\WEB-INF\classes\org\bonitasoft\web\designer\controller\MigrationResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceInitializer': Invocation of init method failed; nested exception is java.lang.RuntimeException: Unhandled exception
10:51:23 [localhost-startStop-1] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'clientOutboundChannelExecutor'
10:51:23 [localhost-startStop-1] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'clientInboundChannelExecutor'
10:51:23 [localhost-startStop-1] ERROR o.s.w.c.ContextLoader - Context initialization failed
org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error: [<html>
<head>
<title>Status page</title>
</head>
<body style="font-family: sans-serif;">
<p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Internal Server Error</p>
<p>The server encou... (486 bytes)]
at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:100)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:172)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:112)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:785)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:743)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:717)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:470)
at org.bonitasoft.web.designer.studio.workspace.StudioWorkspaceResourceHandler.doPost(StudioWorkspaceResourceHandler.java:170)
at org.bonitasoft.web.designer.studio.workspace.StudioWorkspaceResourceHandler.postSave(StudioWorkspaceResourceHandler.java:112)
... 63 common frames omitted
Wrapped by: java.lang.RuntimeException: Unhandled exception
at org.bonitasoft.web.designer.studio.workspace.StudioWorkspaceResourceHandler.handleResourceException(StudioWorkspaceResourceHandler.java:196)
at org.bonitasoft.web.designer.studio.workspace.StudioWorkspaceResourceHandler.postSave(StudioWorkspaceResourceHandler.java:114)
at org.bonitasoft.web.designer.studio.repository.RepositoryAspect.postSaveAndUpdateDate(RepositoryAspect.java:56)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:626)
at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
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:747)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at org.bonitasoft.web.designer.repository.WidgetRepository$$EnhancerBySpringCGLIB$$cffee32a.updateLastUpdateAndSave(<generated>)
at org.bonitasoft.web.designer.workspace.Workspace.createWidget(Workspace.java:169)
at org.bonitasoft.web.designer.workspace.Workspace.ensureWidgetRepositoryFilled(Workspace.java:155)
at org.bonitasoft.web.designer.workspace.Workspace.initialize(Workspace.java:74)
at org.bonitasoft.web.designer.workspace.WorkspaceInitializer.contextInitialized(WorkspaceInitializer.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
... 37 common frames omitted
Wrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceInitializer': Invocation of init method failed; nested exception is java.lang.RuntimeException: Unhandled exception
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
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:1287)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:885)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789)
... 24 common frames omitted
Wrapped by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'migrationResource' defined in file [C:\BonitaStudioCommunity-2021.1\workspace\.metadata\.plugins\org.bonitasoft.studio.designer\.extract\webapps\bonita\WEB-INF\classes\org\bonitasoft\web\designer\controller\MigrationResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceInitializer': Invocation of init method failed; nested exception is java.lang.RuntimeException: Unhandled exception
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5014)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Thank you in advance.