spring mvc <mvc:default-servlet-handler /> 。
发布日期:2022-03-29 14:04:54 浏览次数:27 分类:博客文章

本文共 321 字,大约阅读时间需要 1 分钟。

spring mvc配置

<mvc:default-servlet-handler /> 时。

提示 The prefix "mvc" for element "mvc:default-servlet-handler" is not bound.

 

在头文件引入命令空间。

添加

xmlns:mvc="http://www.springframework.org/schema/mvc"

xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/-mvc-3.0.xsd"

注意版本号不是固定的

转载地址:https://www.cnblogs.com/1-Admin/p/6146910.html 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Could not parse mapping document from input stream hibernate配置异常
下一篇:S2SH CRUD 整合

发表评论

最新留言

感谢大佬
[***.8.128.20]2024年04月05日 06时15分32秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章