
Bug
HelloWorld. py
后端敲门人
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring项目启动时 报错 expected single matching bean but found 2
产生原因大概率是bean被重复定义了,解决办法很简单,删掉多余的定义。但是呢,在公司,某些原因又不能删。。。比如找不到在哪多定义了一次,再比如大佬写的,不好删。于是乎,在注入时换个注解,告诉spring到底注入哪一个使用@Resource(name=”beanName”) 注入...原创 2022-01-24 16:45:28 · 1141 阅读 · 0 评论 -
node js 报 typeError, 并且在vscode控制台中无法识别 npm指令
做练习的时候发现,下载最新版的node (16.0),设置淘宝镜像的时候一直报typeError, 在vscode 中使用 npm指令时,发现好像无法识别这个指令。百思不得其解之后决定,回退版本,在官网上重新安装 10.0的版本,问题完美解决。总结: node 没事别下最新版,能有旧版本就用旧版本...原创 2022-01-24 16:39:14 · 834 阅读 · 0 评论 -
renrenFast 启动时 数据库连接不上,循环报错 om.mysql.cj.jdbc.exceptions.CommunicationsException: Communications l
renrenFast 启动时 数据库连接不上,循环报错 om.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure在url中添加 useSSL=falseurl: jdbc:mysql://192.168.85.128:3306/guli_admin?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&原创 2022-01-24 16:32:56 · 1565 阅读 · 2 评论 -
nextInt() 接收异常bug
nextInt() 接收异常bug废话不多说先看代码package com.Class;import java.util.Scanner;/**@author HelloWorld@create 2021-04-22-13:56@email [email protected]*/public class Test0 { public static void main(String[] args) { int num; Scanner scanner原创 2021-04-22 17:15:23 · 813 阅读 · 0 评论