maven
倾旎
这个作者很懒,什么都没留下…
展开
-
谷粒学院p46网关爆503问题
复制一下下面的pom,最上面的版本最好也一样gulimall-gateway<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https:原创 2022-01-17 14:26:16 · 714 阅读 · 1 评论 -
Cannot resolve com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:unknown
无法解析com。阿里巴巴。云:spring云启动器阿里巴巴nacos发现:未知添加依赖 <dependencyManagement> <dependencies> <!-- spring cloud alibaba 2.1.0.RELEASE--> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cl原创 2022-01-17 12:50:38 · 15088 阅读 · 4 评论 -
Could not find artifact org.springframework.cloud:spring-cloud-loadbalancer:jar:unknown in nexus-ali
spring-cloud-starter-loadbalancer 没有写版本或者版本不匹配解决方法 : 我这里 添加版本 版本修改为 2.2.0.RELEASE解决org.springframework.cloudspring-cloud-loadbalancer2.2.0.RELEASE原创 2022-01-17 12:48:57 · 2754 阅读 · 1 评论 -
解决Maven ‘parent.relativePath‘ of POM
解决方法 在该parent标签中加上 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.4.RELEASE</version> <relativePath /> </parent>.原创 2022-01-17 12:31:09 · 1786 阅读 · 0 评论 -
Invalid bound statement (not found): com.atguigu.eduservice.mapper.EduCourseMapper.getPublishCourseI
这个错误是有maven默认加载机制造成问题maveb加载的时候,吧java文件夹里面.java类型文件进行编译,如果是其他文件类型不会加载这里看的出已经把我们的文件后缀跟改成.class解决方案:1.复制xml到target目录中2.把xml文件放到resources目录中3.推荐使用:通过配置实现(1)pom.xml(2)项目application.properties1、在guli_edu的pom中配置如下节点<!-- 项目打包时会将java目录中的*.xml文件也进行打包原创 2021-06-07 21:45:09 · 2131 阅读 · 0 评论