私は次のメソッドを持っているに可能投げかけます。私は間違っていますか?のAreは、Scalaの
@Transactional
def registerChildminderAccount(childminderAccount: ChildminderAccount): Boolean = {
childminderAccountDAO.save((ChildminderAccount) generateTokenForAccount(childminderAccount))//problem here!!
if (mailerService.requestChildminderConfirmation(childminderAccount)) {
return true
} else {
return false
}
}
は、私は次のエラーを取得する:私はChildminderAccountクラスにgenerateTokenForAccountを呼び出したvalue generateTokenForAccount is not a member of object com.bignibou.domain.ChildminderAccount
かのように。
誰でもお手伝いできますか? (return
のように)
ありがとうTomasz! – balteo