- 博客(5)
- 收藏
- 关注
原创 springMVC基础工程搭建
1、配置springMVC,构建简单springMVC程序,需要先导入以下包,首先,需要导入springContext,springMVC也是基于spring。然后导入spring-webmvc,这是springMVC的核心依赖包,然后需要导入Servlet-api,这是因为springMVC需要配置一个dispathServlet,需要引入servlet依赖,需要使用前端资源,导入jsp依赖。在Servlet配置中需配置springmvc.xml的位置。3、配置SpringMVC.xml,
2023-08-17 20:36:28
86
1
原创 Failed to bind properties under ‘spring.redis.port‘ to int:
具体报错信息如下:Description:Failed to bind properties under 'spring.redis.port' to int: Property: spring.redis.port Value: 6379; Origin: class path resource [application.properties] - 19:20 Reason: failed to convert java.lang.String to int
2022-04-26 18:58:03
9248
2
原创 idea更新mysql表数据时,表中中文字符串为 ??
错误情况如下解决方法:1.修改idea字符编码设置转载:https://blog.youkuaiyun.com/huyaoyao18/article/details/1033498692.字符设置后,错误并没有解决在url后添加了?true&characterEncoding=utf-8&useSSL=false问题解决...
2021-08-12 08:52:35
262
原创 二维数组转化为二维列表的方法
String[][] str = new String[][]{ {"David", "3", "Ceviche"}, {"Corina", "10", "Beef Burrito"}, {"David", "3", "Fried Chicken"}, {"Carla", "5", "Water"}, {"Carla", "5", "Ceviche"}, {"Rous", "3", "Ceviche"}};.
2021-07-23 16:12:29
1945
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人