Java程序设计 Blog

java 中如何进行数据类型转换,整型转换成字符串、数字字符串转换成整型以及判断一个变量的数据类型

java 中如何进行数据类型转换,整型转换成字符串、数字字符串转换成整型以及判断一个变量的数据类型

在 java 中进行数据类型的转换,是一个常用的功能。包括整型转换成字符串(利用 Integer.toString() 或 String.valueOf() 方法)、数字字符串转换成整型(利用 parseInt() 方法)以及判断一个变量的数据类型(利用 instanceof 关键字)。

阅读(204)   评论(0)   2024-01-29

IDEA 启动失败,弹出 Error launching IDEA Improperly specified VM option 错误弹窗

IDEA 启动失败,弹出 Error launching IDEA Improperly specified VM option 错误弹窗

Error launching IDEA Improperly specified VM option. To fix the problem, edit your JVM options and remove the options that are obsolete or not supported by the current version of the JVM.

阅读(463)   评论(0)   2023-11-01

【转载】Cannot resolve symbol 解决方案汇总(6种解决方案)

【转载】Cannot resolve symbol 解决方案汇总(6种解决方案)

Cannot resolve symbol 'xxx' 是比较常见一种错误,以下整理常见的六种解决方案。

阅读(339)   评论(0)   2023-10-27

关于 SpringBoot 分页 pagehelper 启动时报错:com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration 的解决方法

关于 SpringBoot 分页 pagehelper 启动时报错:com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration 的解决方法

SpringBoot 加入了 PageHelper 分页依赖后,启动报错: The dependencies of some of the beans in the application context form a cycle: com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

阅读(4034)   评论(0)   2022-12-06

关于idea每次新建项目时,Maven home directory都会使用默认路径的解决方法

关于idea每次新建项目时,Maven home directory都会使用默认路径的解决方法

我们在使用idea时,会发现明明已经设置了Maven home directory为自己下载的Maven路径了,再次新建项目时,idea又把Mavn home directory给重置成默认路径了。

阅读(3274)   评论(0)   2022-09-06

The dependencies of some of the beans in the application context form a cycle: com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

The dependencies of some of the beans in the application context form a cycle: com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

SpringBoot在启动时报错:APPLICATION FAILED TO START, The dependencies of some of the beans in the application context form a cycle:com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

阅读(3015)   评论(1)   2022-07-07

利用idea创建maven项目,报Unable to import Maven project错误的解决方案

利用idea创建maven项目,报Unable to import Maven project错误的解决方案

利用idea创建了一个maven项目,在pom.xml文件中导入mybatis相关依赖jar文件时,报出了 Unable to import Maven project 错误。

阅读(1585)   评论(0)   2022-04-13

Git官网下载与安装

Git官网下载与安装

本文介绍了Git的官网下载路径与安装操作步骤

阅读(3056)   评论(0)   2022-02-24

Apache Tomcat 项目部署的两种方法

Apache Tomcat 项目部署的两种方法

本文将为你介绍在 Tomcat 安装完毕后,项目部署的两种方法,以及这两种方法的优先级。

阅读(1031)   评论(0)   2022-02-07

Java 中如何用 Math.random() 生成一个随机数

Java 中如何用 Math.random() 生成一个随机数

本文通过实例演示1到99之间的随机数,100到999之间的随机数,100000到999999之间的随机数是如何生成的。

阅读(1374)   评论(0)   2021-10-13