[ https://issues.apache.org/jira/browse/SYNCOPE-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622307#comment-17622307 ]
Francesco Chicchiriccò commented on SYNCOPE-1702: ------------------------------------------------- In the Syncope 3 architecture there is a mandatory component to deploy, the [Keymaster|https://syncope.apache.org/docs/3.0/reference-guide.html#keymaster]. The Keymaster comes in two flavors, _self_ or via Zookeeper. The error reported above is telling that you need to specify which one are you using, and how Syncope Core should reach for it. The simplest way to fix is to add the following properties to your {{{}core.properties{}}}: {code:java} keymaster.address=http://localhost:9080/syncope/rest/keymaster keymaster.username=${anonymousUser} keymaster.password=${anonymousKey} {code} Those properties are configuring the _self_ Keymaster. Please note that such properties are just taken from {{{}core/src/test/resources/core-embedded.properties{}}}, available under your project's sources and used when running in [embedded mode|https://syncope.apache.org/docs/3.0/getting-started.html#embedded-mode] and that are needed by all components (Console, Enduser, WA, ...) of your deployment. Finally, let me note how what you are doing above is very close to what is performed by [https://github.com/apache/syncope/tree/master/docker/core] - which in turn is used to build the Syncope Core Docker image published at [https://hub.docker.com/r/apache/syncope] > NoSuchBeanDefinitionException when running Core in standalone mode > ------------------------------------------------------------------ > > Key: SYNCOPE-1702 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1702 > Project: Syncope > Issue Type: Improvement > Components: core > Affects Versions: 3.0.0-M1 > Environment: Rocky8.6, Java-11.0.16.1, Postgres server 14.5 > Reporter: Lionel Schwarz > Assignee: Francesco Chicchiriccò > Priority: Major > > Unable to run a Syncope core (built from Maven Archetype 3.0.0-M1) in > standalone mode: > > {{Field serviceOps in > org.apache.syncope.common.keymaster.client.api.startstop.KeymasterStartStop > required a bean of type > 'org.apache.syncope.common.keymaster.client.api.ServiceOps' that could not be > found.}} > > Here are steps to reproduce this: > * create new project from Maven archetype > * disable the SRA module > [(https://issues.apache.org/jira/projects/SYNCOPE/issues/SYNCOPE-1701)|https://issues.apache.org/jira/projects/SYNCOPE/issues/SYNCOPE-1701] > * add postgres driver dependency in {{core/pom.xml}} > * add "postgres" as spring profile in > {{core/src/main/resources/core.properties}} > {{spring.profiles.include[0]=postgres}} > * create file {{core/src/main/resources/core-postgres.properties}} as > explained at > [https://syncope.apache.org/docs/3.0/reference-guide.html#postgresql] > * build with > {{mvn -P executable clean verify -Dconf.directory=/opt/syncope3/conf > -Dbundles.directory=/opt/syncope3/bundles -Dlog.directory=/opt/syncope3/log}} > * deploy with > {{cp core/target/syncope.war /opt/syncope3/lib/}} > {{cp core/target/classes/*properties /opt/syncope3/conf}} > * start with > {{export LOADER_PATH=/opt/syncope3/conf,/opt/syncope3/lib}} > {{java -jar /opt/syncope3/lib/syncope.war}} > -- This message was sent by Atlassian Jira (v8.20.10#820010)