平时没怎么注意,今天用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即可

平时没怎么注意,今天用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即可

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。