Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException

Every time I am creating a maven simple project i am getting below error. Please let me know what might the solution. I have tried many ways to resolve it but failed. what might be the reason?

Is this because of eclipse or because of repository or any certificate issue?

CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven- compiler-plugin:3.1

enter image description here

like image 918
chinmaya Avatar asked Oct 07 '16 21:10

chinmaya


3 Answers

I have solved this by using the eclipse "Update Maven Project" (ALT+F5) feature and check the option "Force Update of Snapshots/Releases".

like image 54
CyberPlayerOne Avatar answered Oct 18 '22 21:10

CyberPlayerOne


Yes, when we check "Force Update of Snapshots/Releases" for Updating maven project the error is resolved and it works fine.

  • Press ALT+F5 to open sub-window "Update Maven Project" feature or You can right click on your project -> Maven -> Update Project
  • Check the option "Force Update of Snapshots/Releases"
like image 27
KC_911723 Avatar answered Oct 18 '22 21:10

KC_911723


Yes, if you read the error details, it says, plugin is cached and not pulled/pushed from/to remote repository. Hence we should do force update, by using the eclipse "Update Maven Project" feature and check the option "Force Update of Snapshots/Releases".

like image 1
Saurabh Agrawal Avatar answered Oct 18 '22 22:10

Saurabh Agrawal