Soul startup error: Error creating bean with name ‘requestMappingHandlerMapping’ defined in class path resource…

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'pluginHandleController' method 
org.dromara.soul.admin.controller.PluginHandleController#queryPluginHandles(String, Integer, Integer)
to {GET /plugin-handle}: There is already 'pluginHandleController' bean method


GetMapping or something like that, the same

Program error:

edis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

Redis.exceptions.responseerror: misconf redis is configured to save RDB snapshots, but it cannot be persisted on the disk at present. Commands that may modify datasets are disabled because this instance is configured to report errors during writes when RDB snapshots fail (stop writes on bgsave error option). Please check the redis log for details about RDB errors.

Analysis and processing

From the above error messages, we can clearly see that there is a problem when redis writes to the disk during RDB persistence. There are probably the following kinds of problems:

1. The disk is damaged (rarely)

2. The disk for writing persistent data is full

3. The disk cannot be accessed (for remote storage)

4. Insufficient access to the disk (should be the most frequent)

We checked the redis log on redis and found that it conforms to the fourth point above, so we modified the permissions of the directory, and then the problem was solved

Similar Posts: