Java程序设计 Blog

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

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

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

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

SpringBoot在启动时报错:PageHelperAutoConfiguration的错误

SpringBoot在启动时报错: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

阅读(3875)   评论(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 错误。

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

Git官网下载与安装

Git官网下载与安装

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

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

Apache Tomcat 项目部署的两种方法

Apache Tomcat 项目部署的两种方法

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

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

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

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

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

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

Java连接MySQL数据库报出java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/demo错误

Java连接MySQL数据库报出java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/demo错误

Java利用JDBC技术连接MySQL数据库报java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/demo异常的解决方法。

阅读(7168)   评论(0)   2021-03-02

build path指定执行环境javase-1.8 工作区中没有安装与此环境严格兼容的JRE

build path指定执行环境javase-1.8 工作区中没有安装与此环境严格兼容的JRE

警告信息如下:Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.

阅读(16084)   评论(0)   2019-07-26

The compiler compliance specified is 1.8 but a JRE 12 is used

The compiler compliance specified is 1.8 but a JRE 12 is used

在使用 Spring Tool Suite 的时候,出现The compiler compliance specified is 1.8 but a JRE 12 is used警告的解决方法

阅读(15323)   评论(3)   2019-07-26

spring-tool-suite-4下载安装及报错的解决办法

spring-tool-suite-4下载安装及报错的解决办法

从官网下载了最新的spring-tool-suite-4-4.3.1.RELEASE-e4.12.0-win32.win32.x86_64.zip压缩包,解压后无法安装,提示没有找到JRE或JDK,需要首先安装JDK包。

阅读(21918)   评论(2)   2019-07-25