Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Not Showing Any Syntax Errors or Any Red Markers

enter image description here

enter image description here

As per the screenshot it is not displaying any errors and I am just creating a maven project and trying to create a class file and am trying to type something in the class, but it is not showing any kind of errors. Please Help me. And this is what showing in build path. Please help me how to solve this !!

like image 550
Sree Kanth Avatar asked Dec 29 '25 21:12

Sree Kanth


2 Answers

Open your projects Build path (Project > Properties > Java Build Path) Java Build Path make sure following:

  1. Your source folder is there in Source tab of build path.
  2. Goto Libraries tab and check for correct JRE version.
like image 153
Sumit Singh Avatar answered Jan 01 '26 09:01

Sumit Singh


Go to your project folder in eclipse workspace and run following command. Refresh the project afterwards.

mvn eclipse:eclipse
like image 39
Anuruddha Lanka Liyanarachchi Avatar answered Jan 01 '26 09:01

Anuruddha Lanka Liyanarachchi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!