SpringBoot
阿祥l
励志成为百万博主
展开
-
Annotation processing is not supported for module cycles. Please ensure that all modules from cycle
这个是因为你在两个模块中相互依赖了 ,让程序觉得你循环依赖了,去掉其中一个依赖就好了。原创 2021-12-07 17:06:34 · 1657 阅读 · 0 评论 -
在SpringBoot中怎么使用controller实现页面之间的跳转
在SpringBoot中页面之间是不能直接相互跳转的,比如我们之前使用的location.href方法,使用它在boot中不能直接跳转页面了,那么要怎么去解决这个问题呢。 首先配置静态文件存放的地方spring.web.resources.static-locations: classpath:/static/存在static下面然后写一个index页面 里面写一个a标签然后在后台也写一个login接口让点击这个标签以后就可以跳到指定的页面这里我让它跳到main...原创 2021-12-02 21:23:10 · 4121 阅读 · 0 评论