JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar

Posted 陈彦斌

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar相关的知识,希望对你有一定的参考价值。

  平时没怎么注意,今天用Eclipse自动生成Set Get方法时提示错误,错误信息如下:

The operation is not applicable to the current selection.Select a field which is not declared as type variable or a type that declares such fields.

 

 原因:

 

解决方案:将光标定位到类内部自动生成Set、Get即可

 

以上是关于JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar的主要内容,如果未能解决你的问题,请参考以下文章

错误记录Android Studio 运行报错 ( There is not enough memory to perform the requested operation. )

关于eclipse保存代码很慢,提示the user operation is waiting的问题

java se the operation is not applicable to the current selection

工具使用 eclipse the user operation is waiting for Building Working to be completed。

vs问题解决:an operation is not legal in the current state

在Ubuntu上运行PPOCRLabel启动错误:FatalError: `Process abort signal` is detected by the operating system.