DBApi-相关事宜记录

1、源码的版本是2.3.1

2、小问题记录

2.1、根pom文件报错

java 复制代码
<configuration>
    <source>1.8</source>
    <target>1.8</target>
    <encoding>utf-8</encoding>
</configuration>

解决办法:

java 复制代码
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>  
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>utf-8</encoding>
                </configuration>
            </plugin>

就是给一个指定的版本

<version>3.8.1</version>

2.2、gav依赖无法下载

java 复制代码
<!--        <dependency>-->
<!--            <groupId>com.github.freakchick</groupId>-->
<!--            <artifactId>orange</artifactId>-->
<!--            <version>1.0</version>-->
<!--        </dependency>-->

这个地址下载不下来。

解决方案:

从maven中央仓库里下载

java 复制代码
<!-- https://mvnrepository.com/artifact/io.github.freakchick/orange -->
        <dependency>
            <groupId>io.github.freakchick</groupId>
            <artifactId>orange</artifactId>
            <version>1.0</version>
        </dependency>
相关推荐
曹牧11 分钟前
文档格式:OFD
java
豆角焖肉36 分钟前
Maven进阶与搭建私服
java·maven
大不点wow1 小时前
Java序列化与反序列化:让对象走出JVM
java·开发语言·jvm
吃糖的小孩1 小时前
从只读页面到可控真实探针:我如何给 Owner Console 加手动诊断
前端
谷无姜1 小时前
为什么你的性能优化无效?可能是"木桶效应"在作祟
前端·性能优化
噢,我明白了1 小时前
Java中日期和字符串的处理
java·开发语言·日期
雾非雾1 小时前
《基于具身交互智能数字人技术:如何打造AI数字人宣讲平台"红厅智播”》
前端
dkbnull1 小时前
Spring Boot请求处理组件对比详解
java·spring boot
jun_bai1 小时前
Orthanc服务器使用java上传dicom影像文件
java·运维·服务器
顺风尿一寸1 小时前
记一次 Spring AOP 与定时任务引发的死锁排查
java