Java程序设计 Blog

关于 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

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

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

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

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

阅读(2565)   评论(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

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

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

Git官网下载与安装

Git官网下载与安装

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

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

Apache Tomcat 项目部署的两种方法

Apache Tomcat 项目部署的两种方法

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

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

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

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

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

阅读(1062)   评论(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异常的解决方法。

阅读(5241)   评论(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.

阅读(11763)   评论(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警告的解决方法

阅读(11125)   评论(2)   2019-07-26