![]() : opening db: 'sqlite.db': Access deniedĪt (SQLiteConnection.java:226)Īt .(SQLiteConnection.java:61)Īt 3Connection.(JDBC3Connection.java:28)Īt 4Connection.(JDBC4Connection.java:21)Īt (JDBC.java:115)Īt .DriverDataSource.getConnection(DriverDataSource.java:138)Īt .PoolBase.newConnection(PoolBase.java:354)Īt .PoolBase.newPoolEntry(PoolBase.java:202)Īt .HikariPool.createPoolEntry(HikariPool.java:473)Īt .HikariPool.checkFailFast(HikariPool.java:554)Īt .HikariPool.(HikariPool.java:115)Īt .getConnection(HikariDataSource.java:112)Īt .(JdbcUtils.java:56)Īt .jdbc.JdbcConnectionFactory.(JdbcConnectionFactory.java:80)Īt .execute(Flyway.java:438)Īt .migrate(Flyway.java:149)Īt .(FlywayMigrationInitializer.java:65)Īt .(AbstractAutowireCapableBeanFactory.java:1855)Īt .(AbstractAutowireCapableBeanFactory.java:1792)Īt .(AbstractAutowireCapableBeanFactory.java:595)Īt .(AbstractAutowireCapableBeanFactory. 15:48:35,641 ERROR HikariPool: HikariPool-1 - Exception during pool initialization. ![]() ![]() 15:48:34,584 INFO HikariDataSource: HikariPool-1 - Starting. 15:48:34,570 INFO VersionPrinter: Flyway Community Edition 6.0.8 by Redgate 15:48:33,182 INFO ContextLoader: Root WebApplicationContext: initialization completed in 4059 ms 15:48:33,182 INFO : Initializing Spring embedded WebApplicationContext 15:48:33,091 INFO StandardEngine: Starting Servlet engine: 15:48:33,091 INFO StandardService: Starting service 15:48:33,090 INFO Http11NioProtocol: Initializing ProtocolHandler 15:48:33,072 INFO TomcatWebServer: Tomcat initialized with port(s): 0 (http) 15:48:29,029 INFO App: The following profiles are active: websocket,rest,sqlite,default 15:48:29,024 INFO App: Starting App v1.0.0-SNAPSHOT on NB340 with PID 28800 (C:\Users\User\AppData\Local\Temp\program.jar started by User in C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.2\jbr\bin) With which rights do get Plugins started and is there a way to let the ProcessBuilder have rights? I would like however avoid having each user restart their Ide as admin though. When I start IntelliJ as admin it works (and also if I later start it normal again, only once starting as admin is enough to solve the problem). I get the error above, that I can't access the database. bitweaver post your solution as an answer and accept it, please. No need to do thatyourself (use the framework dont try to work around it :) ). Spring Boot will initialize the DataSource and JdbcTemplate for you. properties to the application.properties file. However if I deploy the plugin and install it in a IntelliJ version it won't work. In this quick tutorial, we’ll go through steps to use an SQLite database in a JPA-enabled Spring Boot application. Remove your config class and add spring.datasource. When I start the jar from the commandline or from test, as well when I start the plugin with gradle:runIde it works fine and the database exists. This jar will start with SpringBoot and creates a sqlite database. I develop an IntelliJ plugin which starts an extra jar file with a ProcessBuilder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |