“cannot resolve taglib with uri …” in JSP

After updating IntelliJ IDE, error messages appeared in jsp files.

“cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core”

(CMD + , in Mac)Preferences > Build, Execution, Deployment > Build Toolds > Gradle

if “Create separate module per source set” option is checked, make it unchecked.

Click Apply and OK button.

Then the IDE will refresh projects.

I guess this is happened because of Gradle source sets.

see links below for better solution

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.