---
title: "Unable to instantiate Action, login,  defined for  解决方法"
author: "ding43930053"
date: "2013-11-23T00:49:00Z"
tags: []
slug: "unable-to-instantiate-action-login-defined-for"
draft: false
lastmod: "2013-11-25T22:44:19Z"
id: 1980581
url: "https://ding43930053.iteye.com/blog/1980581"
---

报错Unable to instantiate Action, login, defined for .......

struts2 spring 整合时报错，原因是action 里面没有写setDao(Dao dao),必须填写setter