Sree Kanth
Sree Kanth

Reputation: 59

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 !!

Upvotes: 3

Views: 5974

Answers (4)

Behram Buhariwala
Behram Buhariwala

Reputation: 103

Go to Build path -> Configure Build Path and check the libraries tab for any jar missing. This worked for me rather than cleaning and building again.

Upvotes: 0

Sumit Singh
Sumit Singh

Reputation: 15886

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.

Upvotes: 3

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

mvn eclipse:eclipse

Upvotes: 1

Mohammad Faisal
Mohammad Faisal

Reputation: 5959

Check Project > Build Automatically menu, also try Project > Clean.

enter image description here

Upvotes: 0

Related Questions