I am using Eclipse Juno with Java 1.7 and i have created a test project. Now the problem is with project explorer. Project explorer is not showing compilation errors if class have any error. I cleaned, closed , and rebuild the project but nothing is changed. It is still not showing errors in project explorer.It was working fine with Helios.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Have you checked Project/Build Automatically?
In eclipse you can right-click on a project and go Maven-->Update Maven Project and this will tell eclipse to update all of its local project settings (e.g. source and build paths) based upon the current pom.xml.
Go to the eclipse project -> check the Build Automatically. It will solve the problem. I had the same issue and resolved like this.
You must check the build Path configuration to point for the appropriate /src sources java folders, perform a clean up of the eclipse project as well as a maven clean. I had the same issue.
I have faced similar kind of problem in Eclipse Photon. I have cleaned, updated and build the project but nothing was working. Then I figured out that I have disabled problem reporting in preferences. Here is what I did to resolve the issue :
Preferences-->>Editor--> Checked report problems as you type checkbox
As I can see in your project explorer there is a RED exclamation mark over your project name which means there is a problem with the build path in your project. See here for more details.
Check the Build Path of the project by right clicking the project and select Build Path -> Configure Build Path. One problem I often encountered is different people using different Java SDK and so when the exact SDK is not available in your machine, you need to change to your Java SDK (via
JRE System Library -> Alternate JRE
). A better way to avoid this problem is to always select the JRE System Library from Workspace default JRE or Execution Environment.