You have provided a SnapshotTriggerDefinition bean and set it through the @Aggregate “snapshotTriggerDefinition” field, which typically should suffice to set up snapshotting for an Aggregate.
I’d personally first check whether your application is connected to Axon Server as desired.
Does it show up in the dashboard? Does it shows counts for other messages, like commands, events and queries?
If so, then I’d try to deduce whether the SnapshotTriggerDefinition you’ve set is actually being used.
This could of course be done through debugging, but wrapping the SnapshotTriggerDefinition and adding a log statement on the eventHandled method.
If it’s not being hit, then I am pretty certain it is not being configured, which might come down to a bean naming issue.
You could set the qualifier on the bean creation function of your SnapshotTriggerDefinition, or set the name field in your @Bean annotation to the name you want the bean to have.