大佬可以看一下我装了你的插件为什么启动不了呢
2024-09-28 15:35:27 E/mirai-hibernate-plugin: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:267)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:230)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.model.relational.Database.<init>(Database.java:44)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getDatabase(InFlightMetadataCollectorImpl.java:218)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:191)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:138)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:97)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:402)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:90)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:735)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:773)
at mirai-hibernate-plugin-2.5.1.mirai2.jar//xyz.cssxsh.mirai.hibernate.MiraiHibernatePlugin.onEnable(MiraiHibernatePlugin.kt:50)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:244)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:393)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:40)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:54)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:193)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:360)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Caused by: org.hibernate.HibernateException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Database may be already in use: "C:/Users/Administrator/Downloads/[TeaFox]mcl-1.0.3-协议-9.0.56/mcl-2.1.2/data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2.mv.db". Possible solutions: close all other connection(s); use the server mode [90020-214]
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:62)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:125)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:239)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:249)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:175)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:36)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:119)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:255)
... 37 more
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Database may be already in use: "C:/Users/Administrator/Downloads/[TeaFox]mcl-1.0.3-协议-9.0.56/mcl-2.1.2/data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2.mv.db". Possible solutions: close all other connection(s); use the server mode [90020-214]
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:58)
... 45 more
Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database may be already in use: "C:/Users/Administrator/Downloads/[TeaFox]mcl-1.0.3-协议-9.0.56/mcl-2.1.2/data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2.mv.db". Possible solutions: close all other connection(s); use the server mode [90020-214]
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.message.DbException.getJdbcSQLException(DbException.java:678)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.message.DbException.get(DbException.java:212)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.db.Store.convertMVStoreException(Store.java:168)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.db.Store.<init>(Store.java:145)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.engine.Database.<init>(Database.java:324)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.engine.Engine.openSession(Engine.java:92)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.engine.Engine.openSession(Engine.java:222)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.engine.Engine.createSession(Engine.java:201)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.Driver.connect(Driver.java:59)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:121)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
... 48 more
Caused by: org.h2.mvstore.MVStoreException: The file is locked: C:/Users/Administrator/Downloads/[TeaFox]mcl-1.0.3-协议-9.0.56/mcl-2.1.2/data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2.mv.db [2.1.214/7]
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.FileStore.open(FileStore.java:178)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.FileStore.open(FileStore.java:128)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.MVStore.<init>(MVStore.java:452)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.MVStore$Builder.open(MVStore.java:4082)
at mirai-hibernate-plugin-2.5.1.mirai2.jar[shared]//org.h2.mvstore.db.Store.<init>(Store.java:136)
... 60 more
2024-09-28 15:35:27 E/JvmPluginLoader: Failed to enable 'HuYanSession3' because dependencies not enabled: 'mirai-hibernate-plugin'