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

更多ruoyi-nbcio功能请看演示系统gitee源代码地址前后端代码: https:giteenbachengruoyi-nbcio演示地址: http:218.75.87.38:

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

gitee源代码地址

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

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

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

gitee源代码地址

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

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

在线演示(包括H5) : http://218.75.87.38: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版本如下:

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754382264a5153765.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信