1, open event annotation drive, I have been an error,
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'org. Springframework. Context. Event. InternalEventListenerProcessor' : Initialization of bean failed; Nested exception is Java. Lang. NoSuchMethodError: 'Boolean org. Springframework. Core. The annotation. AnnotationUtils. IsCandidateClass (Java. Lang. Class, Java. Lang. Class)'
2, when use mapperLocations, has been submitted to the
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'org. Mybatis. Spring. SqlSessionFactoryBean# 0' defined in the class path resource [spring. XML] : Initialization of bean failed; Nested exception is org. Springframework. Beans. TypeMismatchException: Failed to convert the property value of type 'Java. Lang. String' to the required type 'org. Springframework. Core. IO. Resource []' for the property 'mapperLocations'; Nested exception is Java. Lang. IllegalArgumentException: Could not resolve the resource location pattern [classpath: com/test/SSM/mapper/*. XML] : class path resource com/test/SSM/mapper/always be resolved to the URL because it does not exist



CodePudding user response:
May be a jar package version of the problemCodePudding user response:
To check whether there is the preferred path, if there is no need only on the corresponding resources to establish the corresponding files, to see whether there is a corresponding path mapper. The XML, if no files are needed, because no files will be submitted to the mybatis
Wrong,
Review: the classpath: com/test/SSM/mapper/*. XML
CodePudding user response:
Is there any further solve informationThis all don't know how to do now,,,
CodePudding user response:
Are you a new build project