![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
遇到的Java错误
海绵宝宝的大大世界
这个作者很懒,什么都没留下…
展开
-
java两个模块之间调用无法注入问题
java两个模块之间调用service注入问题遇到上述问题需要加入以下语句@SpringBootApplication(scanBasePackages = {“com.heisenberg.weather.pro”,“com.heisenberg.authmgr”})@MapperScan(basePackages = {“com.heisenberg.weather_pro.mapper”,“com.heisenberg.authmgr.dao”})需要在调用别的模块的主程序上加入scanB原创 2022-05-22 17:48:38 · 1364 阅读 · 0 评论 -
将html界面转化jsp页面
将html界面转化jsp页面将html文件后缀变成jsp,之后加入以下几行<%@page isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><c:set value="${pageContext.request.contex原创 2022-05-14 10:14:34 · 1219 阅读 · 0 评论 -
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded 的俩种解决办法
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded的解决方式第一种解决方式@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})在引导类中上加以上注解第二种解决方式可能你的resources文件夹不是** 有效 **的资源文件夹,所以需要设置为--------》即可解决问题!...原创 2022-05-05 15:35:47 · 225 阅读 · 0 评论