在weblogic中部署时,在play framework 1.2.5中使用getter和setter的NoSuchMethodException

时间:2012-07-13 13:05:40

标签: playframework-1.x nosuchmethoderror

我正在为我的应用程序使用play框架。它在开发模式下正确工作,但在prod模式下给我一个错误

Execution exception (In /app/helper/FinansHelper.java around line 189)
NoSuchMethodException occured : finansServis.helper.KayitliIslemDto.getIpcMemo()

我该如何解决这个问题?

编辑:我的KayitliIslemDto课程

public class KayitliIslemDto {
    public IPCMemo ipcMemo;
    public TahsilatMemoOut tahsilatMemoOut;
    public HesabaHavaleMemoOut hesabaHavaleMemoOut;
    public IsmeHavaleMemoOut ismeHavaleMemoOut;

    public KayitliIslemDto(IPCMemo ipcMemo, IsmeHavaleMemoOut ismeHavaleMemoOut) {
        this.ipcMemo = ipcMemo;
        this.ismeHavaleMemoOut = ismeHavaleMemoOut;
    }

    public KayitliIslemDto(IPCMemo ipcMemo, HesabaHavaleMemoOut hesabaHavaleMemoOut) {
        this.ipcMemo = ipcMemo;
        this.hesabaHavaleMemoOut = hesabaHavaleMemoOut;
    }

    public KayitliIslemDto(IPCMemo ipcMemo, TahsilatMemoOut tahsilatMemoOut) {
        this.ipcMemo = ipcMemo;
        this.tahsilatMemoOut = tahsilatMemoOut;
    }

0 个答案:

没有答案