I use idea, and the error message is: cannot resolve symbol ‘log’
As shown in the figure:
Solution:
1. Install plug-ins: settings → plugins, enter LOM and press enter
2. Then select install, install the plug-in, and restart idea as prompted( I installed both here, and the problem was solved after restarting)