- 博客(34)
- 资源 (9)
- 收藏
- 关注
原创 扣子平台搭建简单智能体并发布扣子商店
再次通过输入图片的url地址,进行识别测试。发布成功后,可以在扣子商店中搜索到。2)自动生成开场白,也可以手动编辑。c) 语音通话,需要先配置语音。添加插件成功后,上传图片测试。这里可以从扣子商店下架智能体。6)发布智能体到扣子平台。4)添加智能体背景图片。
2025-04-14 14:51:28
273
原创 thymeleaf API 官方文档地址
官方文档地址:https://www.thymeleaf.org/documentation.html在线 和 PDF 形式在线:Tutorial: Using Thymeleaf
2022-06-01 11:12:42
308
原创 springboot+vue+easyExcel 导出excel
easyexcel版本<dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.2.10</version> <exclusions> <exclusio
2021-11-12 21:33:56
1020
原创 mysql报错: SELECT command denied to bm_user ‘aaa‘@‘localhost‘ for table ‘bm_user‘
错误信息的字面意思是:表“bm_user”拒绝用户“aaa”@“localhost”的SELECT命令 ,用户没有查看bm_user表的权限,需要root账号授权 用户aaa对表bm_user的select操作权限以下2种原因:1.使用root账号登录数据库,执行授权SQLgrant select on adb.bm_user to 'aaa'@'localhost' IDENTIFIED BY '';授权后需要刷新权限才会生效:flush privileges;2.数据库 adb的用户
2021-10-29 14:55:47
455
原创 Error: Loading PostCSS Plugin failed: Cannot find module ./features/css-text-justify
ERROR Failed to compile with 186 errors下午4:44:06error in ./src/components/main.lessModule build failed (from ./node_modules/postcss-loader/src/index.js):Error: Loading PostCSS Plugin failed: Cannot find module './features/css-text-justify'Require...
2020-06-22 16:52:56
5273
原创 association和collection级联查询注意的地方
1)association级联查询association级联查询中,A,B,C三处必须一样2)collection级联查询collection级联查询中,1和2一致,3和4一致
2020-03-30 18:27:54
257
原创 No SecurityManager accessible to the calling code
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is a...
2019-11-24 14:46:17
3533
2
原创 Thymeleaf #numbers 显示千分位金额,保留小数位
#numbers.formatDecimal(numbwe,整数位,整数位千分位标识符,小数位,小数位表示符)${#numbers.formatDecimal(num,1,'COMMA',2,'POINT')}显示:99,999,999.991:表示整数位至少一位,不足以0补齐,如:num = 0.00,${#numbers.formatDecimal(num,0,'COMMA',...
2019-08-23 15:23:47
15102
6
原创 使用bootstrapValidator表单验证插件jQuery报too much recursion错误的解决办法
在form表单上添加class="form-group"
2019-08-19 11:35:34
298
原创 There is insufficient memory for the Java Runtime Environment to continue
# # There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (malloc) failed to allocate 136534 bytes for Chunk::new# An error report file with more inf...
2019-06-05 15:00:40
2390
转载 FATAL: remaining connection slots are reserved for non-replication superuser connections
2019-03-11 15:53:27.249 ERROR 560 --- [pool-1-thread-1] com.alibaba.druid.pool.DruidDataSource : init datasource error, url: jdbc:postgresql:/xxx/xxxorg.postgresql.util.PSQLException: FATAL: remai...
2019-03-11 16:02:22
31674
2
原创 Try setting a different JdbcType for this parameter or a different configuration property. Cause:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='year', mode=IN, javaType=class jav...
2019-03-08 14:53:38
5205
原创 org.apache.kafka.common.KafkaException: Failed to construct kafka producer
java.lang.ExceptionInInitializerErrorCaused by: org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaPro...
2019-02-02 17:07:56
39737
2
原创 windows kafka安装
1、下载kafkahttp://kafka.apache.org/downloads2、解压,进入config目录找到文件server.properties并打开3、找到并编辑log.dirs,修改为本地目录5、找到并编辑zookeeper.connect=localhost:2181,修改为zookeeper中配置的端口号Kafka会按照默认,在9092端口上运行,并...
2019-02-02 14:02:14
2567
原创 windows zookeeper安装
1、下载zookeeperhttp://zookeeper.apache.org/releases.html#download2、解压后,进入conf目录,复制zoo_sample.cfg,并重命名为zoo.cfg3、打开zoo.cfg,修改dataDir为本地目录4、添加环境变量,path 添加:%ZOOKEEPER_HOME%\bin5、zookeeper的默认...
2019-02-02 11:10:08
187
原创 java.util.Date转换LocalDateTime
Date date = new Date();ZoneId zoneId = ZoneId.of(ZoneId.SHORT_IDS.get("PST"));LocalDateTime localDateTime1 = LocalDateTime.ofInstant(date.toInstant(), zoneId);System.out.println(localDateTime1);...
2019-01-21 16:01:53
3576
原创 charts Y轴和X 轴的Label样式
options: { responsive: true, tooltips: { callbacks: { label: function(tooltipItem, data) { var label = data.labels[tooltipItem.index]; var ...
2019-01-09 18:52:37
833
原创 Mongodb org.springframework.core.convert.ConverterNotFoundException: No converter found capable
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [org.bson.Document] to type [java.lang.String] at org.springframework.core.convert.s...
2018-11-19 15:14:31
11990
原创 Mac 设置root密码
操作步骤:1. command键 + 空格键,输入终端,如下图,点击后打开终端2.键入sudo passwd root 然后提示输入当前登录用户密码,通过以后,提示输入两遍root的密码。这样就设置好root帐号密码了,可以用root来登录MacOS了。 3、用root登陆,修改文件权限...
2018-08-29 22:05:07
2864
转载 java编译时error: illegal character '\ufeff' 的解决办法
原文链接:https://blog.youkuaiyun.com/shixing_11/article/details/6976900最近开发人员通过SVN提交了xxx.java文件,因发布时该包有问题需要回退,故SCM将该xxx.java文件用editplus打开删除了新添的一行,删除后重新编译打包,却报了如下异常:java:[1,0] illegal character: \65279表面看着该文件确实没...
2018-06-27 18:01:58
32705
2
原创 idea创建springboot项目
1、打开IDEA,创建新项目File-->New-->Project 2、选择Spring Initializr,其他默认,点击next继续 3、填写group以及artifact,点击next继续 4、选择jar包,勾选web,mysql,mybatis,然后点击next继续 5、填写项目名称和保存路径, 最后点击 FInish 6、application.yml(项目建城时这个ap...
2018-05-08 16:39:02
156
原创 Can't read swagger JSON from http://localhost:8080/v2/api-docs?group=移动端接口文档
出现以上原因是因为groupName设置了中文1、将标红色的值改为英文就好了return new Docket(DocumentationType.SWAGGER_2) .apiInfo(apiInfo)//调用apiInfo方法,创建一个ApiInfo实例,里面是展示在文档页面信息内容 .groupName("移动端接口文档") .select(...
2018-05-08 15:19:08
13171
原创 使用mybatis generator 自动生成代码
1、在配置Maven pom.xml 文件中,增加以下插件 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin...
2018-04-26 15:08:03
230
原创 springboot配置druid数据源
1、在pom.xml中添加如下依赖<!-- Druid 数据连接池依赖 --><dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.28</version&am
2018-04-25 18:03:11
197
转载 mongodb安装
Mongodb下载地址:https://www.mongodb.com/download-center1、下载msi 2、选择“customer”选项重新指定安装目录,否则默认安装C盘,在D盘根目录下新建mongodb文件夹3、然后一直next就行。4、在mongodb目录下新建数据存储目录data,新建日志存放目录logs 5、在mongodb目录下新建mongo.config文件,并且写入d...
2018-04-25 15:16:54
203
原创 Ueditor整合七牛
非JSP上传,所以将后端语言相关的部分全部删除了,剩下的就是两个java类UeditorController.java和QiniuUtil.java1、下载Ueditor压缩包,解压后,粘贴到项目中 2、修改ueditor1.4.3/ueditor.config.js文件 上图中的action=config返回的数据格式和信息,和ueditor1.4.3/jsp/config.json一样上图中的...
2018-04-25 15:05:26
705
原创 hibernate中pojo映射,死循环
2018-04-24 10:19:17.394 ERROR 20232 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request ...
2018-04-24 11:30:10
351
registry-3.1.3jar包下载
2014-05-09
C#电影登录
2012-03-19
更换VS.NET 2010的皮肤
2011-05-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人