摘要:
今天使用SSM新增用户,遇到了上述问题。经过一番仔细检查,最后发现问题出现单引号上。 mybatis使用注解新增用户,不能使用单引号。把单引号去掉后,就可以实现新增用户了。 所以要注意以后,再使用注解实现新增语句要去掉单引号 : '' 阅读全文
摘要:
错误: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" r 阅读全文
摘要:
**描述:**java使用jedis连接服务器上的redis,遇到的报错。 问题: redis.clients.jedis.exceptions.JedisDataException: ERR AUTH <password> called without any password configure 阅读全文
摘要:
报错: 点击查看代码 Error creating bean with name 'bookController': Injection of resource dependencies failed; nested exception is org.springframework.beans.fa 阅读全文
摘要:
报错问题:访问不到静态资源 原因:可能被拦截了 解决步骤: 把路径引用方式改成 themleaf 方式 原来的方式: 修改过后的路径: 放行静态资源 新建一个 WebMvcConfig 类,把下面这段代码粘贴进去重启idea即可 点击查看代码 @Configuration public class 阅读全文
摘要:
问题:Failed to load property source from '.....' (classpath:/application.yml) 原因: 空格没有敲好 具体报错位置: 解决步骤: 把thymeleaf前面的空格去掉,对齐application即可。 阅读全文
摘要:
试着翻译了下,翻译不出来。。。。 然后百度查了下,发现是版本的问题,然后把版本降低了,从 4.13.2 到 4.12 还是不行。 再查了百度一下是要换成 4.10 版本,或者 导入hamcrest-core-1.3.jar 官网是这么说的: Includes the Hamcrest classes 阅读全文
摘要:
第一步 检查 查看本地是配置了的远程仓库地址 git remote -v 第二步 删除 根据第一步查询出来的链接,删除别名即可。 git remote rm ori 这样就删除成功了 阅读全文
摘要:
1.添加 $ git config --global user.name "yourName" $ git config --global user.email "your@email.com" 2.删除 git config --global --unset user.name "yourName 阅读全文
摘要:
这是官网链接:https://www.mysql.com/ 第一步:进入官网 进入到官网后,点击 DOWNLOADS 第二步:滑倒最下面 点击 MySQL Community (GPL) Downloads » 第三步:点击 MySQL Community Server 第四步:选择版本 在 Sel 阅读全文