Eclipse Maven error No compiler is provided in this environment

0 votes

I want to deploy my first modification and need to run a Maven install, but I am having trouble getting it to work.

Error output:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mrpapp: Compilation failure

[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

I am running a JDK and not a JRE and $JAVA_HOME (C:\Program Files (x86)\Java\jdk1.7.0_60) and it does have a javac.exe in its bin directory. Any help will be greatly appreciated.

Apr 28, 2022 in Other DevOps Questions by Kichu
• 19,050 points
1,053 views

1 answer to this question.

0 votes
On your pc, just go to windows  > Preference > Java > Installed JREs. Check if you have an entry pointing to your JDK path. If you don't have that in your path just click on the edit button and put the path you configured in your JAVA_HOME environment.

I hope this helps.
answered Apr 29, 2022 by narikkadan
• 63,420 points

Related Questions In Other DevOps Questions

0 votes
0 answers
0 votes
1 answer

IS app pool import fails with error message.configuration error…insufficient permissions

There is a config file at %SystemRoot%\System32\inetsrv\config\redirection.config Removed the ...READ MORE

answered Jun 19, 2018 in Other DevOps Questions by shubham
• 7,340 points
1,723 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,507 views
+2 votes
1 answer
0 votes
1 answer

This application has no explicit mapping for /error

One of the reason this error coccured ...READ MORE

answered May 2, 2022 in Other DevOps Questions by narikkadan
• 63,420 points
18,201 views
0 votes
1 answer

Java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse

Just follow these two steps: Step 1 Add This ...READ MORE

answered Apr 29, 2022 in Other DevOps Questions by narikkadan
• 63,420 points
2,285 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP