Не удается загрузить класс драйвера: org. postgresql .Driver Spring Boot Parent 2.3.0 - PullRequest
0 голосов
/ 30 мая 2020

Вот мой пом. xml

https://maven.apache.org/xsd/maven-4.0.0.xsd "> 4.0.0 org.springframework.boot spring-boot-starter-parent 2.2.4.RELEASE 2.3.0.RELEASE -> 2.3.0.RELEASE com.cab.booking cab-booking 0.0.1-SNAPSHOT cab-booking Платформа бронирования кабины

<properties>
    <java.version>1.8</java.version>
</properties>

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
        <exclusions>
            <exclusion>
                <groupId>org.junit.vintage</groupId>
                <artifactId>junit-vintage-engine</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>
    </plugins>
</build>

Вот мое приложение. файл свойств

enter image description here

Пробовал использовать postgresql версию 42.2.12, но не повезло.

Вот скриншот журнала ошибок.

enter image description here

...