<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>groupId</groupId>
<artifactId>mvDB</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.34.0</version>
</dependency>
</dependencies>
</project>
我使用的是最新版本的 intelliJ
它列出了与依赖相关的所有 3 行都存在问题。
Dependency 'org.xerial:sqlite-jdbc:3.34.0' not found
Dependency 'org.xerial:sqlite-jdbc:3.34.0' not found
Dependency 'org.xerial:sqlite-jdbc:3.34.0' not found
谢谢!
答案 0 :(得分:1)
我非常喜欢 JetBrains 工具。 确保在更改 pom.xml 后单击 Load Maven Changes 按钮 (Ctrl+Shift+O) image of button