我已經用 jpabuddy 安裝了 intellij CE,但 jpa buddy 似乎沒有在我當前的專案中作業。
這是我當前的 pom.xml 依賴項部分
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jeasy</groupId>
<artifactId>easy-random-core</artifactId>
<version>4.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
這是我當前的 IDE 右側面板...如您所見,缺少 JPA 調色板。
我在 Kubuntu 22.04 中運行 IntelliJ


uj5u.com熱心網友回復:
經過對這個問題的一些研究https://stackoverflow.com/questions/71974527/jpa-buddy-missing-from-tool-window-in-intellij#:~:text=To see the JPA Buddy,is correct and reimport dependencies和 JPA BUDDY discord 中的一些見解我終于明白了這個問題:它以簡約模式運行運行。
您可以按照其主頁上的檔案禁用它:
https://www.jpa-buddy.com/documentation/minimalistic-mode/#enabling-minimalistic-mode
uj5u.com熱心網友回復:
我認為您需要安裝 JPA Buddy 插件才能在右側面板中看到一些內容。Maven JPA 依賴項是不夠的。
從市場轉到Preferences->Plugins并安裝 JPA Buddy。重新啟動 IntelliJ。
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/533903.html
標籤:智能理念
