Project 'com.imooc.pan:r-pan-parent:1.0' not found

来源:2-4 基于SpringBoot初始化项目

慕姐9832373

2023-12-26

新建framework模块,粘贴进去pom.xml报错

<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>r-pan-parent</artifactId>
        <groupId>com.imooc.pan</groupId>
        <version>1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>r-pan-framework</artifactId>

    <packaging>pom</packaging>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

</project>

错误提示:Project ‘com.imooc.pan:r-pan-parent:1.0’ not found ,Tag name: artifactId Description : The artifact id of the parent project to inherit from. Version : 4.0.0

写回答

1回答

RubinChu

2023-12-26

查看一下是不是版本号或者父Pom的配置不对哇

0
2
RubinChu
回复
慕姐9832373
这个同学可以对照源码看一下哈,要是确认都正确,刷新一下本地ide的maven哈
2023-12-27
共2条回复

SpringBoot+Vue3+Element Plus打造私人分布式存储系统

SpringBoot+Vue3+Element Plus 仿百度网盘实战

274 学习 · 346 问题

查看课程