1.idea中要把xxxxmapping.xml文件放到Resources文件下,

idea和eclipse的区别idea和eclipse的区别

----------------------------------------------------------------------------------------------------------------------------

或者在pom中加入

<build>
<resources>
    <resource>
        <directory>src/main/java</directory>
        <includes>
            <include>**/*.xml</include>
        </includes>
    </resource>
</resources>
</build>

2.idea对静态文件 如css,js等无法加载的问题,应该在

-idea和eclipse的区别

在Spring_mvc.xml文件的最下面加上:

<mvc:default-servlet-handler/>

相关文章:

  • 2021-12-18
  • 2021-08-19
  • 2021-09-08
  • 2022-12-23
  • 2022-02-14
  • 2021-12-13
  • 2021-04-11
猜你喜欢
  • 2021-05-09
  • 2021-04-18
  • 2021-11-07
  • 2022-01-13
  • 2021-12-24
  • 2022-02-12
  • 2022-12-23
相关资源
相似解决方案