开发者

Why cleaning in Eclipse can cause error messages?

开发者 https://www.devze.com 2023-02-10 10:38 出处:网络
I cleaned my project in Eclipse and because of that, I think, I started to get the following error message:

I cleaned my project in Eclipse and because of that, I think, I started to get the following error message:

a开发者_JS百科t check.GameWindow$12.run(MyWindow.java:1253)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

So, I would like to ask why cleaning can cause error messages? I mean, the code before and after the cleaning is the same. Why it works differently before and after the cleaning.


In my opinion, something has changed in your code that you are not aware of. When you clean your project, the only thing Eclipse does is to delete .class files in your build/ directory and recompile all sources.

If you don't have compilation errors, there should be something wrong in an an anonymous inner class in check.GameWindow.

Please check.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号