开发者社区 问答 正文

Spring p标签在配置中报错问题 ?报错

图片说明
在xml中配置了,但是p标签的使用还是被报错。求解哇。

展开
收起
爱吃鱼的程序员 2020-06-23 20:24:43 819 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
    <?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:p="http://www.springframework.org/schema/p"xmlns:context="http://www.springframework.org/schema/context"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/contexthttp://www.springframework.org/schema/context/spring-context.xsd"><context:component-scanbase-package="org.springframework.samples.petclinic.web"/><!--...--></beans>

    你多加了一行:

    <!DOCTYPEbeans

    哪里多加了一行,实在看不出,

    2020-06-23 20:25:00
    赞同 展开评论