Recently, when compiling Web project, the page always prompts that the XX method is not defined as the XX class. But obviously it's all right.
And there was a red fork in the project, but the program didn't see any errors. Such as:
Workaround:
1. Open the problem window first to see unexpected errors.
Window-show view-other-found problem. Then you will see an error. As follows:
The project was not built due to "Could not delete '/build/com '.". Fix the problem, then try refreshing this project and building it since it could be inconsistent deyweb Unknown Java proble M
2. Open the Project Engineering catalogue. There's a build directory inside. There will be several class files under build. Then delete all the content under build.
OK, now it's time to compile the Web app properly.
Get!
The
Eclipse project always prompts the Red fork, but does not see what went wrong! The project is not built due to ' Could not delete