Building the Android JDBC Driver

本文档详细介绍了如何为Android平台构建并使用BerkeleyDB (BDB) JDBC驱动的过程,包括所需的Android SDK与NDK安装、BerkeleyDB包的下载与配置、JDBC库的构建步骤及如何在Eclipse中进行测试验证。

http://blog.sina.com.cn/s/blog_4c5a84ac010162xo.html

This section describes how to build and use the BDB JDBC driver for Android. Note that the BDB JDBC driver cannot currently be built on a Windows platform.

  1. Download and install the Android SDK. The installation instructions can be found here:

    http://developer.android.com/sdk/installing.html

  2. Download and install the Android NDK. It can be found here:

    http://developer.android.com/sdk/ndk/index.html

  3. Build the BDB JDBC libraries.

    1. If you do not already have it, download the Berkeley DB package from here:

      http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html

      Note that you must be using a 5.3.x or higher version of the product in order for these instructions to work. Once you have the package, unpack it:

      $ tar zxvf db-x.y.z.tar.gz $ cd db-x.y.z

      Where x.y.z the major, minor, and point release version of the Berkeley DB distribution which you are using.

      Also, note that in the following instructions, the directory denoted by db-x.y.z, above, is referred to as .

    2. Build an x86/x64 JDBC package. This is required because the building process will generate target files which are required to build Android NDK. Also, the built JAR file can be imported by eclipse, which will then convert it to the Android Dalvik JAR format.

      To do this, edit /lang/sql/jdbc/SQLit/Database.java and replace all instances of System.loadLibrary("sqlite_jni") with System.loadLibrary("oracle-jdbc").

      Once you have done this, configure and make the library. The following example shows the minimum configuration options that you need to use in order to configure the Berkeley DB JDBC driver. For your particular installation, other configuration options might be interesting to you. See Configuring Berkeley DB and Android Configuration Options for more information.

      cd /build_unix ../dist/configure --enable-jdbc && make
  4. Build the Android NDK:

    $ cd /build_android/jdbc/jni $ /ndk-build

    This results in the following required files:

    /build_android/jdbc/libs/armeabi/liboracle-jdbc.so
    /build_android/jdbc/libs/armeabi/dbsql
    /build_unix/jdbc/sqlite.jar

Having built the JDBC driver, you can now use it with your project. You can do this using Eclipse and the ADT plugin, which you can get from here:

http://developer.android.com/sdk/eclipse-adt.html

To make sure everything is working:

  1. Start Eclipse and create an Android project. Use:

    • test_jdbc as the Android project name.

    • Create it as an Android 3.2 project.

    • For the package name, use example.jdbc.

  2. This results in an empty code file. Copy and paste the following example code into that file:

    package example.testjdbc; import SQLite.*; import java.io.*; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import java.sql.*; public class Test_jdbcActivity extends Activity { 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
  3. Copy the following files into place:

    $ cd /test_jdbc $ mkdir -p libs/armeabi $ cp -r /build_android/jdbc/libs/armeabi/liboracle-jdbc.so \ libs/armeabi $ cp -r /build_unix/jdbc/sqlite.jar libs
  4. Back in Eclipse, right click the project name, and select the refresh option to reload the project from the directory. The two new files that were copied into place in the previous step are now included in the project view.

  5. Convert the JAR file to the Android Dalvik format:

    1. Right-click on your project.

    2. Choose Build Path -> Configure Build Path

    3. Click the Libraries tab.

    4. Click Add JARS.

  6. Run the project:

    1. Choose Property -> Android and select any one of the usable build targets.

    2. Right click the project. Choose Run As -> Android

  7. Verify your installation. After a short pause (depending on the speed of your system), the application logo is displayed. Use the Android adb command line application to make sure the application is running as expected:

    $ cd /platform-tools $ ./adb logcat I/System.out( 539): Appstart: I/System.out( 539): Coffee Break Coffees and Prices: I/System.out( 539): Colombian 7.99 I/System.out( 539): French_Roast 8.99 I/System.out( 539): Espresso 9.99 I/System.out( 539): Colombian_Decaf 8.99 I/System.out( 539): French_Roast_Decaf 9.99

    You can also check if the database (example.db) exists in the emulator:

    $ ./adb shell ls /data/data/example.testjdbc example.db example.db-journal lib

    Finally, check the database using the BDB SQL shell:

    $ ./adb push /build_android/jdbc/libs/armeabi/dbsql \ /data/data/example.testjdbc 326 KB/s (1293760 bytes in 3.865s) $ ./adb shell root@android:/ # cd /data/data/example.testjdbc root@android:/data/data/example.testjdbc # ./dbsql example.db Berkeley DB 11g Release 2, library version 11.2.5.2.36 Enter ".help" for instructions Enter SQL statements terminated with a ";" dbsql> .tables COFFEES dbsql> select * from COFFEES; Colombian|101|7.99|0|0 French_Roast|49|8.99|0|0 Espresso|150|9.99|0|0 Colombian_Decaf|101|8.99|0|0 French_Roast_Decaf|49|9.99|0|0 dbsql> .quit

 

C:\Users\86180\.jdks\openjdk-24.0.1\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\86180\IdeaProjects\javafx -Djansi.passthrough=true -Dmaven.home=C:\Users\86180\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5 -Dclassworlds.conf=C:\Users\86180\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\bin\m2.conf "-Dmaven.ext.class.path=C:\Users\86180\AppData\Local\Programs\IntelliJ IDEA Ultimate 2025.1.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Users\86180\AppData\Local\Programs\IntelliJ IDEA Ultimate 2025.1.2\lib\idea_rt.jar=62746" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath C:\Users\86180\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds-2.6.0.jar;C:\Users\86180\.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2025.1.2 clean javafx:run WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/C:/Users/86180/.m2/wrapper/dists/apache-maven-3.8.5-bin/5i5jha092a3i37g0paqnfr15e0/apache-maven-3.8.5/lib/jansi-2.4.0.jar) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/C:/Users/86180/.m2/wrapper/dists/apache-maven-3.8.5-bin/5i5jha092a3i37g0paqnfr15e0/apache-maven-3.8.5/lib/guava-25.1-android.jar) WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.example:javafx-project >--------------------- [INFO] Building JavaFX 停车场管理系统 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javafx-project --- [INFO] Deleting C:\Users\86180\IdeaProjects\javafx\target [INFO] [INFO] >>> javafx-maven-plugin:0.0.8:run (default-cli) > process-classes @ javafx-project >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javafx-project --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ javafx-project --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 11 source files with javac [debug release 24 module-path] to target\classes [INFO] [INFO] <<< javafx-maven-plugin:0.0.8:run (default-cli) < process-classes @ javafx-project <<< [INFO] [INFO] [INFO] --- javafx-maven-plugin:0.0.8:run (default-cli) @ javafx-project --- [WARNING] Module name not found in <mainClass>. Module name will be assumed from module-info.java 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO <init> ����: δ�ҵ�MySQL JDBC��������ȷ����������� java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:463) at java.base/java.lang.Class.forName(Class.java:454) at javafx@1.0-SNAPSHOT/dao.VehicleDAO.<init>(VehicleDAO.java:33) at javafx@1.0-SNAPSHOT/service.ParkingService.<init>(ParkingService.java:17) at javafx@1.0-SNAPSHOT/view.controller.MainController.initialize(MainController.java:47) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at javafx.base@24/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:112) at javafx.fxml@24/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:78) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2658) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2533) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3304) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3264) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3235) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3211) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3191) at javafx.fxml@24/javafx.fxml.FXMLLoader.load(FXMLLoader.java:3186) at javafx@1.0-SNAPSHOT/view.Main.start(Main.java:16) at javafx.graphics@24/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(LauncherImpl.java:840) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$5(PlatformImpl.java:444) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419) at javafx.graphics@24/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168) at java.base/java.lang.Thread.run(Thread.java:1447) 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO getConnection ��Ϣ: �������ӵ�MySQL���ݿ�: jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO getConnection ����: MySQL���ݿ�����ʧ�� java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:638) at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:199) at javafx@1.0-SNAPSHOT/dao.VehicleDAO.getConnection(VehicleDAO.java:45) at javafx@1.0-SNAPSHOT/dao.VehicleDAO.selectAllVehicles(VehicleDAO.java:122) at javafx@1.0-SNAPSHOT/service.ParkingService.getAllVehicles(ParkingService.java:76) at javafx@1.0-SNAPSHOT/view.controller.MainController.loadVehicleData(MainController.java:100) at javafx@1.0-SNAPSHOT/view.controller.MainController.initialize(MainController.java:92) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at javafx.base@24/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:112) at javafx.fxml@24/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:78) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2658) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2533) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3304) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3264) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3235) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3211) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3191) at javafx.fxml@24/javafx.fxml.FXMLLoader.load(FXMLLoader.java:3186) at javafx@1.0-SNAPSHOT/view.Main.start(Main.java:16) at javafx.graphics@24/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(LauncherImpl.java:840) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$5(PlatformImpl.java:444) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419) at javafx.graphics@24/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168) at java.base/java.lang.Thread.run(Thread.java:1447) 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO getConnection ����: �������: 0 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO getConnection ����: SQL״̬: 08001 6�� 15, 2025 5:27:58 ���� dao.VehicleDAO getConnection ����: ������Ϣ: No suitable driver found for jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::allocateMemory has been called by com.sun.marlin.OffHeapArray (file:/C:/Users/86180/.m2/repository/org/openjfx/javafx-graphics/24/javafx-graphics-24-win.jar) WARNING: Please consider reporting this to the maintainers of class com.sun.marlin.OffHeapArray WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "connection" is null at javafx@1.0-SNAPSHOT/dao.VehicleDAO.selectAllVehicles(VehicleDAO.java:123) at javafx@1.0-SNAPSHOT/service.ParkingService.getAllVehicles(ParkingService.java:76) at javafx@1.0-SNAPSHOT/view.controller.MainController.loadVehicleData(MainController.java:100) at javafx@1.0-SNAPSHOT/view.controller.MainController.initialize(MainController.java:92) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at javafx.base@24/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:112) at javafx.fxml@24/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:78) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2658) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2533) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3304) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3264) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3235) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3211) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3191) at javafx.fxml@24/javafx.fxml.FXMLLoader.load(FXMLLoader.java:3186) at javafx@1.0-SNAPSHOT/view.Main.start(Main.java:16) at javafx.graphics@24/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(LauncherImpl.java:840) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$5(PlatformImpl.java:444) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419) at javafx.graphics@24/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168) at java.base/java.lang.Thread.run(Thread.java:1447) 6�� 15, 2025 5:28:02 ���� dao.VehicleDAO getConnection ��Ϣ: �������ӵ�MySQL���ݿ�: jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai 6�� 15, 2025 5:28:02 ���� dao.VehicleDAO getConnection ����: MySQL���ݿ�����ʧ�� java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:638) at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:199) at javafx@1.0-SNAPSHOT/dao.VehicleDAO.getConnection(VehicleDAO.java:45) at javafx@1.0-SNAPSHOT/dao.VehicleDAO.selectAllVehicles(VehicleDAO.java:122) at javafx@1.0-SNAPSHOT/service.ParkingService.getAllVehicles(ParkingService.java:76) at javafx@1.0-SNAPSHOT/service.ParkingService.getVehicleCount(ParkingService.java:111) at javafx@1.0-SNAPSHOT/view.controller.MainController.updateStatistics(MainController.java:112) at javafx@1.0-SNAPSHOT/view.controller.MainController.initialize(MainController.java:93) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at javafx.base@24/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:112) at javafx.fxml@24/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:78) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2658) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2533) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3304) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3264) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3235) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3211) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3191) at javafx.fxml@24/javafx.fxml.FXMLLoader.load(FXMLLoader.java:3186) at javafx@1.0-SNAPSHOT/view.Main.start(Main.java:16) at javafx.graphics@24/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(LauncherImpl.java:840) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$5(PlatformImpl.java:444) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419) at javafx.graphics@24/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168) at java.base/java.lang.Thread.run(Thread.java:1447) 6�� 15, 2025 5:28:02 ���� dao.VehicleDAO getConnection ����: �������: 0 6�� 15, 2025 5:28:02 ���� dao.VehicleDAO getConnection ����: SQL״̬: 08001 6�� 15, 2025 5:28:02 ���� dao.VehicleDAO getConnection ����: ������Ϣ: No suitable driver found for jdbc:mysql://localhost:3306/parking_system?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "connection" is null at javafx@1.0-SNAPSHOT/dao.VehicleDAO.selectAllVehicles(VehicleDAO.java:123) at javafx@1.0-SNAPSHOT/service.ParkingService.getAllVehicles(ParkingService.java:76) at javafx@1.0-SNAPSHOT/service.ParkingService.getVehicleCount(ParkingService.java:111) at javafx@1.0-SNAPSHOT/view.controller.MainController.updateStatistics(MainController.java:112) at javafx@1.0-SNAPSHOT/view.controller.MainController.initialize(MainController.java:93) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at javafx.base@24/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:112) at javafx.fxml@24/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:78) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2658) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2533) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3304) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3264) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3235) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3211) at javafx.fxml@24/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3191) at javafx.fxml@24/javafx.fxml.FXMLLoader.load(FXMLLoader.java:3186) at javafx@1.0-SNAPSHOT/view.Main.start(Main.java:16) at javafx.graphics@24/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(LauncherImpl.java:840) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$5(PlatformImpl.java:444) at javafx.graphics@24/com.sun.javafx.application.PlatformImpl.lambda$runLater$4(PlatformImpl.java:419) at javafx.graphics@24/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@24/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168) at java.base/java.lang.Thread.run(Thread.java:1447) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.126 s [INFO] Finished at: 2025-06-15T17:28:06+08:00 [INFO] ------------------------------------------------------------------------ 进程已结束,退出代码为 0
06-16
[INFO] Scanning for projects... [INFO] [INFO] ------------------------< com.example:b-spring >------------------------ [INFO] Building b-spring 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- Downloading from alimaven: https://maven.aliyun.com/repository/public/org/projectlombok/lombok/1.18.30/lombok-1.18.30.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/projectlombok/lombok/1.18.30/lombok-1.18.30.pom (1.5 kB at 3.4 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-boot-starter/3.5.5/mybatis-plus-boot-starter-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-boot-starter/3.5.5/mybatis-plus-boot-starter-3.5.5.pom (3.9 kB at 70 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/boot/spring-boot-dependencies/2.7.15/spring-boot-dependencies-2.7.15.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/boot/spring-boot-dependencies/2.7.15/spring-boot-dependencies-2.7.15.pom (110 kB at 1.4 MB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/datastax/oss/java-driver-bom/4.14.1/java-driver-bom-4.14.1.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/datastax/oss/java-driver-bom/4.14.1/java-driver-bom-4.14.1.pom (4.1 kB at 75 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/dropwizard/metrics/metrics-bom/4.2.19/metrics-bom-4.2.19.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/dropwizard/metrics/metrics-bom/4.2.19/metrics-bom-4.2.19.pom (7.5 kB at 97 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/dropwizard/metrics/metrics-parent/4.2.19/metrics-parent-4.2.19.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/dropwizard/metrics/metrics-parent/4.2.19/metrics-parent-4.2.19.pom (20 kB at 285 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/codehaus/groovy/groovy-bom/3.0.19/groovy-bom-3.0.19.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/codehaus/groovy/groovy-bom/3.0.19/groovy-bom-3.0.19.pom (26 kB at 420 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/infinispan/infinispan-bom/13.0.18.Final/infinispan-bom-13.0.18.Final.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/infinispan/infinispan-bom/13.0.18.Final/infinispan-bom-13.0.18.Final.pom (18 kB at 290 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/infinispan/infinispan-build-configuration-parent/13.0.18.Final/infinispan-build-configuration-parent-13.0.18.Final.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/infinispan/infinispan-build-configuration-parent/13.0.18.Final/infinispan-build-configuration-parent-13.0.18.Final.pom (16 kB at 188 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/jboss/jboss-parent/36/jboss-parent-36.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/jboss/jboss-parent/36/jboss-parent-36.pom (66 kB at 833 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/jackson/jackson-bom/2.13.5/jackson-bom-2.13.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/jackson/jackson-bom/2.13.5/jackson-bom-2.13.5.pom (17 kB at 280 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/jackson/jackson-parent/2.13/jackson-parent-2.13.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/jackson/jackson-parent/2.13/jackson-parent-2.13.pom (7.4 kB at 158 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/oss-parent/43/oss-parent-43.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/fasterxml/oss-parent/43/oss-parent-43.pom (24 kB at 332 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/glassfish/jersey/jersey-bom/2.35/jersey-bom-2.35.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/glassfish/jersey/jersey-bom/2.35/jersey-bom-2.35.pom (19 kB at 322 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/eclipse/jetty/jetty-bom/9.4.51.v20230217/jetty-bom-9.4.51.v20230217.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/eclipse/jetty/jetty-bom/9.4.51.v20230217/jetty-bom-9.4.51.v20230217.pom (18 kB at 315 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/junit/junit-bom/5.8.2/junit-bom-5.8.2.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/junit/junit-bom/5.8.2/junit-bom-5.8.2.pom (5.6 kB at 122 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/jetbrains/kotlin/kotlin-bom/1.6.21/kotlin-bom-1.6.21.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/jetbrains/kotlin/kotlin-bom/1.6.21/kotlin-bom-1.6.21.pom (9.3 kB at 144 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/jetbrains/kotlinx/kotlinx-coroutines-bom/1.6.4/kotlinx-coroutines-bom-1.6.4.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/jetbrains/kotlinx/kotlinx-coroutines-bom/1.6.4/kotlinx-coroutines-bom-1.6.4.pom (4.3 kB at 81 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/apache/logging/log4j/log4j-bom/2.17.2/log4j-bom-2.17.2.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/apache/logging/log4j/log4j-bom/2.17.2/log4j-bom-2.17.2.pom (8.1 kB at 131 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/apache/logging/logging-parent/5/logging-parent-5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/apache/logging/logging-parent/5/logging-parent-5.pom (3.3 kB at 57 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/apache/apache/24/apache-24.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/apache/apache/24/apache-24.pom (20 kB at 303 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/micrometer/micrometer-bom/1.9.14/micrometer-bom-1.9.14.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/micrometer/micrometer-bom/1.9.14/micrometer-bom-1.9.14.pom (7.1 kB at 154 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/mockito/mockito-bom/4.5.1/mockito-bom-4.5.1.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/mockito/mockito-bom/4.5.1/mockito-bom-4.5.1.pom (3.0 kB at 43 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/netty/netty-bom/4.1.97.Final/netty-bom-4.1.97.Final.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/netty/netty-bom/4.1.97.Final/netty-bom-4.1.97.Final.pom (13 kB at 214 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/squareup/okhttp3/okhttp-bom/4.9.3/okhttp-bom-4.9.3.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/squareup/okhttp3/okhttp-bom/4.9.3/okhttp-bom-4.9.3.pom (3.0 kB at 50 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/oracle/database/jdbc/ojdbc-bom/21.5.0.0/ojdbc-bom-21.5.0.0.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/oracle/database/jdbc/ojdbc-bom/21.5.0.0/ojdbc-bom-21.5.0.0.pom (13 kB at 195 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/prometheus/simpleclient_bom/0.15.0/simpleclient_bom-0.15.0.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/prometheus/simpleclient_bom/0.15.0/simpleclient_bom-0.15.0.pom (5.8 kB at 89 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/prometheus/parent/0.15.0/parent-0.15.0.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/prometheus/parent/0.15.0/parent-0.15.0.pom (12 kB at 186 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/querydsl/querydsl-bom/5.0.0/querydsl-bom-5.0.0.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/querydsl/querydsl-bom/5.0.0/querydsl-bom-5.0.0.pom (7.2 kB at 123 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/r2dbc/r2dbc-bom/Borca-SR2/r2dbc-bom-Borca-SR2.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/r2dbc/r2dbc-bom/Borca-SR2/r2dbc-bom-Borca-SR2.pom (3.8 kB at 83 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/projectreactor/reactor-bom/2020.0.35/reactor-bom-2020.0.35.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/projectreactor/reactor-bom/2020.0.35/reactor-bom-2020.0.35.pom (4.6 kB at 84 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/rest-assured/rest-assured-bom/4.5.1/rest-assured-bom-4.5.1.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/rest-assured/rest-assured-bom/4.5.1/rest-assured-bom-4.5.1.pom (5.8 kB at 129 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/io/rsocket/rsocket-bom/1.1.3/rsocket-bom-1.1.3.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/io/rsocket/rsocket-bom/1.1.3/rsocket-bom-1.1.3.pom (2.6 kB at 55 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/data/spring-data-bom/2021.2.15/spring-data-bom-2021.2.15.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/data/spring-data-bom/2021.2.15/spring-data-bom-2021.2.15.pom (5.7 kB at 121 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/spring-framework-bom/5.3.29/spring-framework-bom-5.3.29.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/spring-framework-bom/5.3.29/spring-framework-bom-5.3.29.pom (5.7 kB at 109 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/integration/spring-integration-bom/5.5.18/spring-integration-bom-5.5.18.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/integration/spring-integration-bom/5.5.18/spring-integration-bom-5.5.18.pom (9.2 kB at 151 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/security/spring-security-bom/5.7.10/spring-security-bom-5.7.10.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/security/spring-security-bom/5.7.10/spring-security-bom-5.7.10.pom (5.7 kB at 81 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/springframework/session/spring-session-bom/2021.2.2/spring-session-bom-2021.2.2.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/springframework/session/spring-session-bom/2021.2.2/spring-session-bom-2021.2.2.pom (3.1 kB at 62 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus/3.5.5/mybatis-plus-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus/3.5.5/mybatis-plus-3.5.5.pom (2.4 kB at 45 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-core/3.5.5/mybatis-plus-core-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-core/3.5.5/mybatis-plus-core-3.5.5.pom (2.9 kB at 52 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-annotation/3.5.5/mybatis-plus-annotation-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-annotation/3.5.5/mybatis-plus-annotation-3.5.5.pom (1.4 kB at 34 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/github/jsqlparser/jsqlparser/4.6/jsqlparser-4.6.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/github/jsqlparser/jsqlparser/4.6/jsqlparser-4.6.pom (26 kB at 389 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis/3.5.15/mybatis-3.5.15.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis/3.5.15/mybatis-3.5.15.pom (17 kB at 210 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-parent/41/mybatis-parent-41.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-parent/41/mybatis-parent-41.pom (50 kB at 701 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-extension/3.5.5/mybatis-plus-extension-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-extension/3.5.5/mybatis-plus-extension-3.5.5.pom (5.0 kB at 92 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-spring/2.1.2/mybatis-spring-2.1.2.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-spring/2.1.2/mybatis-spring-2.1.2.pom (12 kB at 151 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-parent/36/mybatis-parent-36.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/org/mybatis/mybatis-parent/36/mybatis-parent-36.pom (52 kB at 579 kB/s) Downloading from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-spring-boot-autoconfigure/3.5.5/mybatis-plus-spring-boot-autoconfigure-3.5.5.pom Downloaded from alimaven: https://maven.aliyun.com/repository/public/com/baomidou/mybatis-plus-spring-boot-autoconfigure/3.5.5/mybatis-plus-spring-boot-autoconfigure-3.5.5.pom (3.1 kB at 41 kB/s) [INFO] [INFO] --- dependency:3.8.1:tree (default-cli) @ b-spring --- [INFO] com.example:b-spring:jar:0.0.1-SNAPSHOT [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:3.5.6:compile [INFO] | +- org.springframework.boot:spring-boot-starter:jar:3.5.6:compile [INFO] | | +- org.springframework.boot:spring-boot:jar:3.5.6:compile [INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:3.5.6:compile [INFO] | | | +- ch.qos.logback:logback-classic:jar:1.5.18:compile [INFO] | | | | \- ch.qos.logback:logback-core:jar:1.5.18:compile [INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.24.3:compile [INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.24.3:compile [INFO] | | | \- org.slf4j:jul-to-slf4j:jar:2.0.17:compile [INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile [INFO] | | \- org.yaml:snakeyaml:jar:2.4:compile [INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:3.5.6:compile [INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.19.2:compile [INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.19.2:compile [INFO] | | | \- com.fasterxml.jackson.core:jackson-core:jar:2.19.2:compile [INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.19.2:compile [INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.19.2:compile [INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.19.2:compile [INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.5.6:compile [INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.46:compile [INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.46:compile [INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:10.1.46:compile [INFO] | +- org.springframework:spring-web:jar:6.2.11:compile [INFO] | | +- org.springframework:spring-beans:jar:6.2.11:compile [INFO] | | \- io.micrometer:micrometer-observation:jar:1.15.4:compile [INFO] | | \- io.micrometer:micrometer-commons:jar:1.15.4:compile [INFO] | \- org.springframework:spring-webmvc:jar:6.2.11:compile [INFO] | +- org.springframework:spring-aop:jar:6.2.11:compile [INFO] | +- org.springframework:spring-context:jar:6.2.11:compile [INFO] | \- org.springframework:spring-expression:jar:6.2.11:compile [INFO] +- com.mysql:mysql-connector-j:jar:9.4.0:runtime [INFO] +- org.projectlombok:lombok:jar:1.18.30:compile (optional) [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.5.6:test [INFO] | +- org.springframework.boot:spring-boot-test:jar:3.5.6:test [INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.5.6:test [INFO] | +- com.jayway.jsonpath:json-path:jar:2.9.0:test [INFO] | | \- org.slf4j:slf4j-api:jar:2.0.17:compile [INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:test [INFO] | | \- jakarta.activation:jakarta.activation-api:jar:2.1.4:test [INFO] | +- net.minidev:json-smart:jar:2.5.2:test [INFO] | | \- net.minidev:accessors-smart:jar:2.5.2:test [INFO] | | \- org.ow2.asm:asm:jar:9.7.1:test [INFO] | +- org.assertj:assertj-core:jar:3.27.4:test [INFO] | | \- net.bytebuddy:byte-buddy:jar:1.17.7:test [INFO] | +- org.awaitility:awaitility:jar:4.2.2:test [INFO] | +- org.hamcrest:hamcrest:jar:3.0:test [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.12.2:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.12.2:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.3.0:test [INFO] | | | +- org.junit.platform:junit-platform-commons:jar:1.12.2:test [INFO] | | | \- org.apiguardian:apiguardian-api:jar:1.1.2:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.12.2:test [INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.12.2:test [INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.12.2:test [INFO] | +- org.mockito:mockito-core:jar:5.17.0:test [INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.17.7:test [INFO] | | \- org.objenesis:objenesis:jar:3.3:test [INFO] | +- org.mockito:mockito-junit-jupiter:jar:5.17.0:test [INFO] | +- org.skyscreamer:jsonassert:jar:1.5.3:test [INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test [INFO] | +- org.springframework:spring-core:jar:6.2.11:compile [INFO] | | \- org.springframework:spring-jcl:jar:6.2.11:compile [INFO] | +- org.springframework:spring-test:jar:6.2.11:test [INFO] | \- org.xmlunit:xmlunit-core:jar:2.10.4:test [INFO] \- com.baomidou:mybatis-plus-boot-starter:jar:3.5.5:compile [INFO] +- com.baomidou:mybatis-plus:jar:3.5.5:compile [INFO] | +- com.baomidou:mybatis-plus-core:jar:3.5.5:compile [INFO] | +- com.baomidou:mybatis-plus-annotation:jar:3.5.5:compile [INFO] | +- com.baomidou:mybatis-plus-extension:jar:3.5.5:compile [INFO] | +- org.mybatis:mybatis:jar:3.5.15:compile [INFO] | \- com.github.jsqlparser:jsqlparser:jar:4.6:compile [INFO] +- org.mybatis:mybatis-spring:jar:2.1.2:compile [INFO] +- com.baomidou:mybatis-plus-spring-boot-autoconfigure:jar:3.5.5:compile [INFO] +- org.springframework.boot:spring-boot-autoconfigure:jar:3.5.6:compile [INFO] \- org.springframework.boot:spring-boot-starter-jdbc:jar:3.5.6:compile [INFO] +- com.zaxxer:HikariCP:jar:6.3.3:compile [INFO] \- org.springframework:spring-jdbc:jar:6.2.11:compile [INFO] \- org.springframework:spring-tx:jar:6.2.11:compile [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.408 s [INFO] Finished at: 2025-10-14T15:22:49+08:00 [INFO] ------------------------------------------------------------------------ PS D:\b-spring> 这个是输出 你看一下是否冲突
10-15
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值