上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 83 下一页

2024年5月13日

'sh' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

摘要: 我们在windows系统中执行:sh nacos-config.sh -h 127.0.0.1命令是报错的。 报错:'sh' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 但是作为一名软件开发人员,我们的电脑上一般都是安装有git的。 这个时候,我们可以使用git执行上面的命令就可以了,因 阅读全文

posted @ 2024-05-13 10:46 ~码铃薯~ 阅读(832) 评论(0) 推荐(0) 编辑

2024年5月2日

Field registration in org.springframework.cloud.client.serviceregistry.ServiceRegistryAutoConfiguration$ServiceRegistryEndpointConfiguration required a single bean, but 2 were found:

摘要: Field registration in org.springframework.cloud.client.serviceregistry.ServiceRegistryAutoConfiguration$ServiceRegistryEndpointConfiguration required 阅读全文

posted @ 2024-05-02 16:50 ~码铃薯~ 阅读(17) 评论(0) 推荐(0) 编辑

2024年4月14日

java: 无法访问org.mybatis.spring.annotation.MapperScan、类文件具有错误的版本 61.0, 应为 52.0

摘要: 使用的Mybatis-spring依赖的版本3.0.1太高,将版本改为2.2.2 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> 阅读全文

posted @ 2024-04-14 11:26 ~码铃薯~ 阅读(453) 评论(0) 推荐(0) 编辑

2024年4月5日

不支持发行版本 19、类文件具有错误的版本 61.0, 应为 55.0

摘要: spring的版本和Java的版本一定要修改为合适的才行。 阅读全文

posted @ 2024-04-05 22:23 ~码铃薯~ 阅读(60) 评论(0) 推荐(0) 编辑

2024年2月4日

二进制转十进制

摘要: public class Test09 { public static void main(String[] args) { //0b 表示二进制 System.out.println(0b11111111111111111111111111111111); // 运行结果: -1 } } 阅读全文

posted @ 2024-02-04 20:56 ~码铃薯~ 阅读(3) 评论(0) 推荐(0) 编辑

2024年2月3日

原码、反码、补码、移码

摘要: 原码、反码、补码、移码 背景:为了解决计算机中减法计算的问题,因为计算机中只有加法器,减法的计算是要转换成加法才能进行。 原码 二进制首位为标志位 正数 标志位为0 0 x x x x x x x 负数 标志位为1 1 x x x x x x x 示例: 14 = 00001110 -21 = 10 阅读全文

posted @ 2024-02-03 17:42 ~码铃薯~ 阅读(482) 评论(0) 推荐(0) 编辑

计算机中的基本运算

摘要: 二进制的算术运算 1.二进制的加法运算 示例: 0+0=0 0+1=1 1+0=1 1+1=10 1011+1001=10100 2,二进制的减法运算 示例: 1-1=0 1-0=1 0-0=0 0-1=1(解释一下这个,可以看作是向前借 1,看作 2-1) 1101-1010=0011(当然前面的 阅读全文

posted @ 2024-02-03 10:03 ~码铃薯~ 阅读(103) 评论(0) 推荐(0) 编辑

2024年2月1日

ArrayBlockingQueue使用

摘要: package org.example; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ArrayBlockingQueue; /** * 用数组实现的阻塞队列 */ public cla 阅读全文

posted @ 2024-02-01 19:48 ~码铃薯~ 阅读(11) 评论(0) 推荐(0) 编辑

2023年11月12日

在不安装Oracle数据库的情况下,安装Oracle客户端

摘要: 阅读全文

posted @ 2023-11-12 11:41 ~码铃薯~ 阅读(12) 评论(0) 推荐(0) 编辑

2023年10月21日

Function接口

摘要: java中提供的Function接口,public interface Function<T, R> { 主要的作用,是将一个输入转换成另一个输出。 阅读全文

posted @ 2023-10-21 15:28 ~码铃薯~ 阅读(6) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 83 下一页

导航