看到关于spring一本书上例子时,出现了错误: No adapter for handler Does your handler implement a supported interface like Controller 多次查看书中原码发现是一致的,后确认有可能是书中原码有误,故把旧的原码粘出,并针对错误进行了修改。 算是spring入门来的第一个问题吧,希望能开个好头。 (1)原配置文件
helloWorldAction
show
.........
(2)修改后的配置文件
action
show
.........
No adapter for handler Does your handler implement a supported interface like Controller
最新推荐文章于 2024-11-02 16:26:46 发布