依赖活动-spring-boot-starter 未找到

Dependency activiti-spring-boot-starter not found

我正在启动 spring-boot 并且无法从此存储库下载 activiti 依赖项 - https://repo.maven.apache.org/maven2

错误 - 找不到工件 org.activiti:activiti-spring-boot-starter:pom:central (https://repo.maven.apache.org/maven2)

<?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://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>[enter image description here][1]
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.5.10</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.example</groupId>
    <artifactId>demo</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>demo</name>
    <description>Demo project for Spring Boot</description>
    <properties>
        <java.version>1.8</java.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.activiti</groupId>
            <artifactId>activiti-spring-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

</project>

错误提示版本未知: Could not find artifact org.activiti:activiti-spring-boot-starter:pom:unknown.

您可以像这样指定一个版本:

<dependency>
   <groupId>org.activiti</groupId>
   <artifactId>activiti-spring-boot-starter</artifactId>
   <version>7.1.0.M6</version>
</dependency>

我发现 here. However are you sure you have the right dependency? Looking at this guide 显示的依赖项是:

<dependency>
  <groupId>org.activiti</groupId>
  <artifactId>spring-boot-starter-basic</artifactId>
  <version>${activiti.version}</version>
</dependency>

区别是 activiti-spring-boot-starter ->spring-boot-starter-basic