table of Contents
problem
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration.persistenceExceptionTranslationPostProcessor
the reason
In the pom file, the imported file version is incompatible, and the jar package conflicts.
solution
(1) Click the button to clear cache and restart
(2) Annotate the conflicting package
In the pom file that may send conflicts, use the shortcut keys ,Ctrl+Alt+Shift+u
to 红色的线
view the conflicting jar package through the following figure :
Zoom in to see the specific conflicting jar package.
Go to the pom file, find the conflicting jar package, and comment it out.
The project is ready to run.