在springmvc扫描的时候,没有把前后台的路径的注解扫描到。

比如:

<mvc:annotation-driven />

如果只配下面的扫描,不配上面是不行的。所以如果<mvc:annotation-driven />很关键
<context:component-scan base-package="cn.com.syxPro.*" />

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-12-27
  • 2021-07-16
  • 2021-12-11
  • 2021-04-06
  • 2022-01-05
  • 2022-12-23
猜你喜欢
  • 2021-10-01
  • 2021-05-04
  • 2022-12-23
  • 2021-07-26
  • 2021-12-27
  • 2021-10-20
  • 2021-12-31
相关资源
相似解决方案