ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

第一次用java17记录运行ruoyi-vue-plus5.X版本

2026/9/17 16:04:21 拓冰建站 浏览量
第一次用java17记录运行ruoyi-vue-plus5.X版本

更多ruoyi-nbcio功能请看演示系统

gitee源代码地址

前后端代码: https://gitee.com/nbacheng/ruoyi-nbcio

演示地址: http://122.227.135.243:9666

更多nbcio-boot功能请看演示系统

gitee源代码地址

后端代码: https://gitee.com/nbacheng/nbcio-boot

前端代码:https://gitee.com/nbacheng/nbcio-vue.git

在线演示(包括H5) : http://122.227.135.243:9888

1、安装java17,同时设置jre为17

2、下载编译,编译出现下面错误

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test)

单元测试部分修改如下:

 <!-- 单元测试使用 --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>${maven-surefire-plugin.version}</version><configuration><skipTests>true</skipTests></configuration></plugin>

3、运行出现下面错误

spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts

不影响运行的情况下也可以不需要考虑或者排除一下也可以

<!-- SpringWeb模块 --><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId><exclusions><exclusion><groupId>commons-logging</groupId><artifactId>commons-logging</artifactId></exclusion></exclusions>	</dependency>

运行成功如下:

4、前端用它的ts vue3版本如下: