当前位置:网站首页>Some exception handling for idea plug-in development
Some exception handling for idea plug-in development
2022-06-27 01:40:00 【Gu Jianjie】
0. New plug-in project
Official recommendation gradle Way to create

choice InteliJ Platform Plugin
1.ideaIC Download failed
Development idea Plug in time dependency idea community edition , namely ideaIC As library. It is equivalent to you developing springboot The program requires a variety of spring The same dependence . because idea Official recommendation for plug-in development gradle How to create a project , but gradle Pull it ideaIC Dependency is often pulled unsuccessfully , Therefore, it needs to be downloaded manually ideaIC Dependency and add to local .
This address indicates ideaIC-2021.2.1 Version depends on , According to what your plug-ins depend on ideaIC The numbers here need to be changed due to different versions . And with your biuld.gradle Match the version in
intellij {
version = '2021.2.1'
plugins = ['com.intellij.java']
updateSinceUntilBuild = false
sameSinceUntilBuild = false
}Download it zip package , Put it here gradle Warehouse , If it has not been modified, it is usually in %USER%/.gradle/caches/modules-2/files-2.1
for example ideaIC The path is com/jetbrains/intellij/idea/ideaIC/2021.2.1.
Will download the zip Package calculation hash, use gitbash Tools sha1sum.exe ideaIC-2021.2.1.zip To calculate the hash value , And create this hash Value named folder , then gradle reload Instead of downloading, you can directly use the local cache .
2.gradle build Failure
No value has been specified for property 'compilerClassPathFromMaven' in task ':instrumentCode'
This mistake is due to idea plug-in unit gradle-intellij-plugin Version problem caused , take build.gradle The medium version is reduced to 1.1.3 It can be solved in a moment .
plugins {
id 'org.jetbrains.intellij' version '1.1.2'
id 'java'
}Corresponding issue:No value has been specified for property 'compilerClassPathFromMaven' in task ':instrumentCode' · Issue #752 · JetBrains/gradle-intellij-plugin · GitHub
边栏推荐
- Operating instructions and Q & A of cec-i China learning machine
- Memcached foundation 3
- 【毕业季】角色转换
- UVM in UVM_ config_ Use of DB in sequence
- Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
- 博日科技招股书失效,中金公司已停止对其辅导,放弃港交所上市?
- Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km
- memcached基础4
- TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
- Generate flow chart with code, and how to use markdown
猜你喜欢

【毕业季】角色转换

Continuous delivery blue ocean application

Custom class loader encrypts and decrypts classes

Weibo comments on high performance and high availability architecture

架构实战营模块五作业

你的case真的pass了吗?

Hid device descriptor and keyboard key value corresponding coding table in USB protocol

The most difficult 618 in history, TCL won the first place in both jd.com and tmall.com shares in the TV industry

Recursion will make strtok more attractive

接口测试框架实战(一) | Requests 与接口请求构造
随机推荐
Custom jsp[if, foreach, data, select] tag
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
Database interview questions +sql statement analysis
Solve the problem that only one line of text is displayed or not displayed in u8glib
Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]
Parameter transfer method between two pages
How to measure the thickness of glass substrate by spectral confocal
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
Unable to create a folder to save the sketch: MKDIR sketch
接口测试框架实战(一) | Requests 与接口请求构造
递归是会更秀strtok
JSON parsing, esp32 easy access to time, temperature and weather
简单学习GoogleColab的入门级概念
Buuctf PWN write UPS (6)
Summary of config mechanism and methods in UVM (1)
Pointer compression for JVM
30 MySQL tutorial MySQL storage engine overview
Encapsulation of unified result set
Bootstrapblazor + FreeSQL actual combat chart usage (2)
uvm中的config机制方法总结(一)