I am attempting to embed a memory only instance of Apache James in a Java application but running into an error.
I'm following the example here:
The error I receive is:
Failed to start application (with profile [dev]): org.apache.commons.configuration2.ex.ConfigurationException: You need to configure a Processor with name error
Here's my code:
private static final Module PROTOCOLS = Modules.combine(
        new IMAPServerModule(),
        new ProtocolHandlerModule(),
        new MailRepositoryTaskSerializationModule(),
        new SMTPServerModule());
private static final Module CUSTOM_SERVER_MODULE = Modules.combine(
        new MailetProcessingModule(),
        new MailboxModule(),
        new MemoryDataModule(),
        new MemoryEventStoreModule(),
        new MemoryUsersRepositoryModule(),
        new MemoryMailboxModule(),
        new MemoryQuotaModule(),
        new MemoryMailQueueModule(),
        new TaskManagerModule(),
        new RawPostDequeueDecoratorModule(),
        binder -> binder.bind(MailetContainerModule.DefaultProcessorsConfigurationSupplier.class)
                .toInstance(BaseHierarchicalConfiguration::new));
private static final Module CUSTOM_SERVER_AGGREGATE_MODULE = Modules.combine(
        CUSTOM_SERVER_MODULE,
        PROTOCOLS);
private final GuiceJamesServer inMemMailServer;
public MailServerImpl() {
    Configuration config = Configuration.builder()
            .workingDirectory(myConfigDir)
            .configurationPath(new Configuration.ConfigurationPath(myConfigDir))
            .build();
    this.inMemMailServer = GuiceJamesServer
            .forConfiguration(config)
            .combineWith(CUSTOM_SERVER_AGGREGATE_MODULE);
}