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
Set your Errors/Warnings:
Steps:
1) Right click on the project and go to the properties.
2) Select Java Compiler -> Errors/Warnings.
3) Check the "Enable project specific settings"
I had the same problem. I checked the
.classpath
file of the Eclipse project. It had incorrect value ofsrc
so it was pointing to the wrong source of Java files.My file's incorrect entry:
I changed it to the correct entry:
Now, its working :)
Set your build path and java compiler:
Steps:
You can restore the errors to the package explorer by right clicking on an error in the problems pane and selecting show in and then select package explorer.