Examples of code snippets to use Bonita
See READMEs of each projects
Examples of code snippets to use Bonita
Home Page: http://community.bonitasoft.com
License: GNU Lesser General Public License v2.1
process definition id is a long in database, and truncated when using rest API, so i can't start a process using json result
when debuging, the corrrect value is return by api call, but should be converted/changed to string value, due to json conversion
Also on Community Answers @ http://community.bonitasoft.com/answers/maven-example-does-not-work-642
trying the Maven example with 6.4.1 works fine but when changing only the bonita.home to point to a 6.4.2 system I get an error. The code does not change at all:
Seems to fail on
getPlatformAPI(session).createAndInitializePlatform();
CODE:
private static void createPlatform() throws BonitaException {
// login as platform administrator
PlatformSession session = doPlatformLogin(PLATFORM_ADMIN,
PLATFORM_PASSWORD);
System.out.println("Got a Session: "+session.toString());
try {
System.out.println("Creating and initializing the platform ...");
// create and initialize the platform
getPlatformAPI(session).createAndInitializePlatform();
System.out.println("Platform created and initialized!");
System.out.println("Starting node ...");
// start the node (make scheduler service to start)
getPlatformAPI(session).startNode();
System.out.println("Node started!");
} finally {
// logout
doPlatformLogout(session);
}
}
Feb 11, 2015 2:44:09 PM org.hibernate.type.TypeFactory$TypeScopeImpl injectSessionFactory
WARN: HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@4fb77a00 after already scoped org.hibernate.internal.SessionFactoryImpl@16aabee3
Got a Session: SessionImpl [id=2889886930029740249, creationDate=Wed Feb 11 14:44:20 AST 2015, duration=3600000, userName=platformAdmin, userId=0, technicalUser=false]
Creating and initializing the platform ...
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
Feb 11, 2015 2:44:21 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
WARN: SQL Error: 42102, SQLState: 42S02
Feb 11, 2015 2:44:21 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Table "PLATFORM" not found; SQL statement:
select splatformi0_.id as id1_33_, splatformi0_.created as created2_33_, splatformi0_.createdBy as createdB3_33_, splatformi0_.initialVersion as initialV4_33_, splatformi0_.previousVersion as previous5_33_, splatformi0_.version as version6_33_ from platform splatformi0_ limit ? [42102-170]
Feb 11, 2015 2:44:22 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@1720d4d7: startup date [Wed Feb 11 14:44:22 AST 2015]; parent: org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@3fc52f9e
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-actor-mapping-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-archive-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-authentication-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-category-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-command-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-connector-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-connector-service-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-data-instance-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-data-transient.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-dependency-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-document-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-events-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-expression-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-expression-resolver.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-external-identity-mapping-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-identity-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-log-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-log-technical-slf4j.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-login.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-permission.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-comment-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-definition-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-instance-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-profile-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-supervisor-mapping-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-tenant-configuration.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-theme-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-time-tracker.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-user-filter-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-work-factory.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-work-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bos-operation-api-impl.xml]
Feb 11, 2015 2:44:22 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [E:\Bonita\Bonita 642\BonitaBPMCommunity-6.4.2-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg.xml]
Feb 11, 2015 2:44:23 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9fa27e9: defining beans [actorMappingService,archiveService,authenticationService,categoryService,commandService,defaultCommandProvider,canStartProcessDefinition,isInvolvedInHumanTask,isUserProcessSupervisor,createSupervisor,getSupervisor,deleteSupervisor,searchProcessSupervisors,importProfiles,executeActionsAndTerminate,isAllowedToStartProcess,isAllowedToSeeOverviewForm,isAllowedToSeeInstanciationForm,searchAssignedTasksSupervisedBy,searchArchivedTasksSupervisedBy,getUpdatedVariableValuesForProcessDefinition,getUpdatedVariableValuesForActivityInstance,getUpdatedVariableValuesForProcessInstance,searchProcessDefinitionsSupervisedBy,searchSCommentSupervisedBy,isAllowedToStartProcesses,addEntityMemberCommand,removeEntityMemberCommand,searchEntityMembersCommand,searchEntityMembersForUserCommand,deleteEntityMembersCommand,searchWaitingEventsCommand,advancedStartProcessCommand,connectorExecutor,connectorServiceSub,connectorService,connectorInstanceService,dataInstanceService,dataExpressionExecutorStrategy,transientDataService,transientDataExpressionExecutorStrategy,dependencyService,documentService,documentURLProvider,eventService,expressionService,expressionExecutorStrategyProvider,constantExpressionExecutorStrategy,groovyScriptExpressionExecutorStrategy,inputExpressionExecutorStrategy,patternExpressionExecutorStrategy,xPathReadExpressionExecutorStrategy,engineConstantExpressionExecutorStrategy,listExpressionExecutorStrategy,equalityComparator,inequalityComparator,binaryComparatorMapper,binaryComparatorExecutor,logicalComplementExecutor,conditionExpressionExecutorStrategy,javaMethodCallExpressionExecutorStrategy,expressionResolverService,externalIdentityMappingService,identityService,queriableLoggerStrategy,syncQueriableLoggerService,tenantTechnicalLoggerService,loginService,permissionService,commentService,processDefinitionManager,activityInstanceService,processInstanceService,tokenService,gatewayInstanceService,transitionService,eventInstanceService,profileService,supervisorMappingService,tenantConfiguration,timerEventTriggerJobListener,themeService,timeTracker,userFilterService,userFilterServiceSub,bonitaExecutorServiceFactory,workService,operationService,operationExecutorStrategyProvider,leftOperandHandlerProvider,assignmentOperationExecutorStrategy,dataLeftOperandHandler,transientDataLeftOperandHandler,externalDataLeftOperandHandler,javaMethodOperationExecutorStrategy,xpathUpdateQueryOperationExecutorStrategy,documentLeftOperandHandler,documentListLeftOperandHandler,queriableLogSessionProvider,tenantRecorderSync,searchEntitiesDescriptor,flowNodeExecutor,containerRegistry,bpmInstancesCreator,flowNodeStateManager,eventsHandler,transitionConditionEvaluator,defaultTransitionGetter,implicitGatewayTransitionEvaluator,inclusiveGatewayTransitionEvaluationStrategy,exclusiveGatewayTransitionEvaluationStrategy,inclusiveTransitionEvaluator,exclusiveTransitionEvaluator,parallelGatewayTransitionEvaluator,transitionEvaluator,processExecutor,transactionalProcessInstanceInterruptor,documentReferenceExpressionExecutorStrategy,documentListReferenceExpressionExecutorStrategy,dependencyResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@609919c9
Feb 11, 2015 2:44:23 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9fa27e9: defining beans [actorMappingService,archiveService,authenticationService,categoryService,commandService,defaultCommandProvider,canStartProcessDefinition,isInvolvedInHumanTask,isUserProcessSupervisor,createSupervisor,getSupervisor,deleteSupervisor,searchProcessSupervisors,importProfiles,executeActionsAndTerminate,isAllowedToStartProcess,isAllowedToSeeOverviewForm,isAllowedToSeeInstanciationForm,searchAssignedTasksSupervisedBy,searchArchivedTasksSupervisedBy,getUpdatedVariableValuesForProcessDefinition,getUpdatedVariableValuesForActivityInstance,getUpdatedVariableValuesForProcessInstance,searchProcessDefinitionsSupervisedBy,searchSCommentSupervisedBy,isAllowedToStartProcesses,addEntityMemberCommand,removeEntityMemberCommand,searchEntityMembersCommand,searchEntityMembersForUserCommand,deleteEntityMembersCommand,searchWaitingEventsCommand,advancedStartProcessCommand,connectorExecutor,connectorServiceSub,connectorService,connectorInstanceService,dataInstanceService,dataExpressionExecutorStrategy,transientDataService,transientDataExpressionExecutorStrategy,dependencyService,documentService,documentURLProvider,eventService,expressionService,expressionExecutorStrategyProvider,constantExpressionExecutorStrategy,groovyScriptExpressionExecutorStrategy,inputExpressionExecutorStrategy,patternExpressionExecutorStrategy,xPathReadExpressionExecutorStrategy,engineConstantExpressionExecutorStrategy,listExpressionExecutorStrategy,equalityComparator,inequalityComparator,binaryComparatorMapper,binaryComparatorExecutor,logicalComplementExecutor,conditionExpressionExecutorStrategy,javaMethodCallExpressionExecutorStrategy,expressionResolverService,externalIdentityMappingService,identityService,queriableLoggerStrategy,syncQueriableLoggerService,tenantTechnicalLoggerService,loginService,permissionService,commentService,processDefinitionManager,activityInstanceService,processInstanceService,tokenService,gatewayInstanceService,transitionService,eventInstanceService,profileService,supervisorMappingService,tenantConfiguration,timerEventTriggerJobListener,themeService,timeTracker,userFilterService,userFilterServiceSub,bonitaExecutorServiceFactory,workService,operationService,operationExecutorStrategyProvider,leftOperandHandlerProvider,assignmentOperationExecutorStrategy,dataLeftOperandHandler,transientDataLeftOperandHandler,externalDataLeftOperandHandler,javaMethodOperationExecutorStrategy,xpathUpdateQueryOperationExecutorStrategy,documentLeftOperandHandler,documentListLeftOperandHandler,queriableLogSessionProvider,tenantRecorderSync,searchEntitiesDescriptor,flowNodeExecutor,containerRegistry,bpmInstancesCreator,flowNodeStateManager,eventsHandler,transitionConditionEvaluator,defaultTransitionGetter,implicitGatewayTransitionEvaluator,inclusiveGatewayTransitionEvaluationStrategy,exclusiveGatewayTransitionEvaluationStrategy,inclusiveTransitionEvaluator,exclusiveTransitionEvaluator,parallelGatewayTransitionEvaluator,transitionEvaluator,processExecutor,transactionalProcessInstanceInterruptor,documentReferenceExpressionExecutorStrategy,documentListReferenceExpressionExecutorStrategy,dependencyResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@609919c9
Node not started. Method 'org.bonitasoft.engine.api.LoginAPI.login' cannot be called until node has been started (PlatformAPI.startNode())
Exception in thread "main" org.bonitasoft.engine.platform.NodeNotStartedException: The current node has not been started yet. Method PlatformAPI.startNode() must be called previously.
at org.bonitasoft.engine.api.impl.ServerAPIImpl.checkMethodAccessibility(ServerAPIImpl.java:286)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIOutsideTransaction(ServerAPIImpl.java:279)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:272)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:128)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:88)
at com.sun.proxy.$Proxy10.login(Unknown Source)
at org.bonitasoft.example.App.doTenantLogin(App.java:1118)
at org.bonitasoft.example.App.deleteUser(App.java:1052)
at org.bonitasoft.example.App.main(App.java:180)
current version is 7.9.0,
when changing bonita.version to 7.11.4, main app fails with this exception below
it seems H2 database is not cleared when updating bonita version
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'schedulerExecutor' defined in class path resource [bonita-platform-community.xml]: Unsatisfied dependency expressed through bean property 'BOSSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'jobService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'tenantRecorderSyncForPlatform' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantRecorderSyncForPlatform' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'persistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistenceService': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1515)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1395)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.bonitasoft.engine.service.impl.SpringBeanAccessor.initializeContext(SpringBeanAccessor.java:65)
at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getContext(SpringBeanAccessor.java:53)
at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getService(SpringBeanAccessor.java:40)
at org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor.getPlatformSessionService(SpringPlatformServiceAccessor.java:97)
at org.bonitasoft.engine.LocalLoginMechanism.login(LocalLoginMechanism.java:40)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.