There is no getter for property named 'inserttime' in 'class com.wherwan.pojo.OJournal'
时间: 2023-11-19 12:44:30 浏览: 119
There is no getter for property named 'inserttime' in 'class com.wherwan.pojo.OJournal' 是指在类com.wherwan.pojo.OJournal中没有名为'inserttime'的属性的getter方法。这个错误通常是因为在该类中缺少了对应的getter方法。
相关问题
There is no getter for property named 'film' in 'class com.elaine.spb.pojo.work.StickFilm'
根据你提供的信息,'class com.elaine.spb.pojo.work.StickFilm' 类中没有名为 'film' 的属性的 getter 方法。这意味着在该类中无法直接获取 'film' 属性的值。你可以检查一下该类的定义,确保是否存在名为 'film' 的属性以及对应的 getter 方法。
There is no getter for property named 'params' in 'class com.dongting.paopao.manage.pojo.domain.SysDept'
The error message you mentioned suggests that there is no getter method for the 'params' property in the 'SysDept' class in the package 'com.dongting.paopao.manage.pojo.domain'. In Java, getter methods are typically used to access the values of private instance variables.
To resolve this issue, you should add a getter method for the 'params' property in the 'SysDept' class. The naming convention for getter methods is to prefix "get" followed by the capitalized property name. For example, if the property name is 'params', the corresponding getter method would be 'getParams()'.
Here's an example of how you can add a getter method for the 'params' property:
```java
public class SysDept {
private String params;
// Constructor, other methods, and properties...
public String getParams() {
return params;
}
// Other methods...
}
```
By adding this getter method, you will be able to access the value of the 'params' property using the `getParams()` method.
阅读全文
相关推荐
















