JAVA错误提示: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.
2019-10-10 23:32
1421 查看
平时没怎么注意,今天用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即可
相关文章推荐
- 错误提示 the operation is not applicable to the current selection.Select a field which is not declared a
- 错误整理:Unable to add module to the current project as it is not of packaging type 'pom'
- The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.报该错误的一种原因。
- 对象的当前状态使该操作无效 or SPListItem Update Operation is not valid due to the current state of the object
- 错误解决:Unable to add module to the current project as it is not of package
- java 错误:Access restriction: The type Resource is not accessible due to restriction on required library
- 关于mybatis 提示的错误 Type interface com.souvi.ibatis.xxxMapper is not known to the Ma
- ASP.NET4.0错误:Operation is not valid due to the current state of the object
- 对象的当前状态使该操作无效 or SPListItem Update Operation is not valid due to the current state of the object
- 错误 the type "xxxx" is defined in an assembly that is not refernced.You must add a reference to assem
- Sharepoint Error : The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- 执行 maven 命令 报错Unable to add module to the current project as it is not of packaging type 'pom'
- 提示错误:The method replace in the type.. is not applicable for the argument......
- 错误解决:Unable to add module to the current project as it is not of packagi
- The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- Unable to add module to the current project as it is not of packaging type 'pom' 问题解决
- AS.NET2.0 用户控件错误!!The base class includes the field 'MyControl_1', but its type (MyControl) is not compatible with the type of control (ASP.MyControl_ascx).
- The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
- Unable to add module to the current project as it is not of packaging type 'pom'
- Mysql 出现错误The server is not configured as slave; fix in config file or with CHANGE MASTER TO