Unable to load class 'org.gradle.api.plugins.MavenPlugin'

Error occurred when I update gradle.

Same issue here!

same problem, after updating gradle to 8.0.1

Same issue here after updating from 7.5.1 to 8.0.1

  1. Press Ctr+Alt+Shift+s after that upgrade gradel version to the latest one
  2. Check the java version in your system
  3. configure gradle jdk to that version