会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
javahepeng
博客园
首页
新随笔
联系
订阅
管理
随笔 - 19
文章 - 0
评论 - 1
阅读 -
19810
1
2
下一页
2025年3月7日
springboot - could not be registered. A bean with that name has already been defined and overriding is disabled.
摘要: 报错提示如上注册错误,说明有相同的 bean的名称,因此在 启动springboot时,增加如下设置,点击 edit,增加如下信息 spring.main.allow-bean-definition-overriding=true
阅读全文
posted @ 2025-03-07 11:47 javahepeng
阅读(87)
评论(0)
推荐(0)
2024年11月25日
java util.Date 转 LocalDateTime
摘要: Date date=new Date();ZoneId zoneId = ZoneId.of("Asia/Shanghai");LocalDateTime localDateTime1 = LocalDateTime.ofInstant(date.toInstant(), zoneId);Syste
阅读全文
posted @ 2024-11-25 12:14 javahepeng
阅读(51)
评论(0)
推荐(0)
2024年11月19日
javax.xml.ws.EndPoint报错
摘要: 可能的原因,检查下 jdk版本, 在jdk8> 以上版本中,已经弃用该对象。 先安装jdk21,然后 再安装jdk1.8, 项目中有用到该对象,提示无法正常加载。(前提 确保所有jar都正常引入) 排查步骤, 看下 idea 开发工具中 jdk的配置版本, javax.xml.ws.EndPoint
阅读全文
posted @ 2024-11-19 09:31 javahepeng
阅读(203)
评论(0)
推荐(0)
2024年10月26日
idea 将文件夹改成source
摘要: 首先可以 使用idea 右键选择 要更改的文件 make Directory as 选择 sources Root 如果文件 不能选择, 可以 IDEA 直接点击 FILE 菜单 ,然后选择 Project Structure 然后 在 Modules 中,可以将文件夹 更改类型。
阅读全文
posted @ 2024-10-26 21:34 javahepeng
阅读(316)
评论(0)
推荐(0)
2023年1月3日
Eclipse git提交代码 覆盖问题
摘要: 创建本地分支 拉取远程分支到本地 进行代码更新 然后 commit 然后将本地代码推送到远程分支 再发起合入请求 使用elipse 提交合入代码时, 注意push 提交远程分支时, 选择中 要选择 如果选择 merge 在发起合入请求,会有很多覆盖,给代码合入造成不便,切记,切记。
阅读全文
posted @ 2023-01-03 15:02 javahepeng
阅读(187)
评论(0)
推荐(0)
2021年6月8日
springboot-maven打包项目
摘要: 在project 标签内,新增一下内容 <build> <plugins> <!--打包项目--> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactI
阅读全文
posted @ 2021-06-08 10:01 javahepeng
阅读(52)
评论(0)
推荐(0)
2021年6月4日
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
摘要: 在Spring Boot项目中,出现这个错误有两种情况: 一,在main方法所在的类忘记添加@SpringBootApplication 二,缺少依赖,添加即可 1 2 3 4 <dependency> <groupId>org.springframework.boot</groupId> <art
阅读全文
posted @ 2021-06-04 12:11 javahepeng
阅读(758)
评论(0)
推荐(0)
2021年2月23日
python 获取近几周日期
摘要: import datetimedef get_Next_day(count): today = datetime.datetime.today().date() for i in range(count): next_week_start = today + datetime.timedelta(d
阅读全文
posted @ 2021-02-23 16:33 javahepeng
阅读(172)
评论(0)
推荐(0)
2020年11月6日
vue node Failed at the iview-admin
摘要: npm ERR! iview-admin@1.3.1 dev: `webpack-dev-server --content-base ./ --open --inline --hot --compress --config build/webpack.dev.config.js` npm ERR!
阅读全文
posted @ 2020-11-06 10:11 javahepeng
阅读(922)
评论(0)
推荐(0)
2020年7月10日
python 读取xls文件
摘要: import xlrdfrom xlrd import xldate_as_tuplefrom IPScriptUtil import *from serverTest import *import reimport datetime'''xlrd中单元格的数据类型数字一律按浮点型输出,日期输出成一
阅读全文
posted @ 2020-07-10 16:37 javahepeng
阅读(760)
评论(0)
推荐(0)
1
2
下一页
公告
https://wz.cnblogs.com/my/ 学习https://xiaolincoding.com/
昵称:
javahepeng
园龄:
8年2个月
粉丝:
0
关注:
8
<
2025年6月
>
日
一
二
三
四
五
六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
点击右上角即可分享