Some time ago, when I was working on a SSM enterprise authority management system, I encountered a bug
project that failed to compile
. Why? I searched the Internet for a long time and didn't find the answer. Forget it, try to find out for yourself:
the literal meaning of the error report is lack of related dependencies , But the problem is coming. The service module has SpringSecurity dependency, and the web module also imports related dependencies. This problem shouldn't exist! ! !
Forget it, it may be a bug in IDEA, introduce it manually, and then it's ok, it's that simple.