当前位置:网站首页>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
边栏推荐
- Buuctf PWN write UPS (6)
- Bs-gx-016 implementation of textbook management system based on SSM
- TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
- George Washington University: Hanhan Zhou | PAC: auxiliary value factor decomposition with counterfactual prediction in Multi-Agent Reinforcement Learning
- Amazon elasticache quickly builds a cache service cluster, which is fast
- Cookie, sessionstorage, localstorage differences
- Interface isolation principle
- 学习DiscoDiffusion的最基础操作
- memcached基础
- 简单学习GoogleColab的入门级概念
猜你喜欢

Clip: learning transferable visual models from natural language monitoring

XSS攻击笔记(上)

TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘

Bs-gx-016 implementation of textbook management system based on SSM

图论知识及其应用初步调研

博日科技招股书失效,中金公司已停止对其辅导,放弃港交所上市?

TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
![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]](/img/cc/a0be58eddc72c22a9a6ee5c61eb81a.png)
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]

Ml: a detailed introduction to the division of the top ten roles, backgrounds, responsibilities and outputs of the machine learning engineering team

使用NetworkX对社交网络进行系统的分析:Facebook网络分析案例
随机推荐
Structure the fifth operation of the actual camp module
Cookie, sessionstorage, localstorage differences
世界很大,有人把二维码纹在脖子上
Clip: learning transferable visual models from natural language monitoring
NLP: brief introduction of transformer in NLP natural language field (pre training technology), NLP model development (elmo/gpt/bert/mt-dnn/xlnet/roberta/albert), detailed introduction to classic case
[the path of system analyst] Chapter 6: duplicate demand engineering (case paper)
Memcached foundation 4
Beyond lithium battery -- the concept of battery in the future
Solve the problem that only one line of text is displayed or not displayed in u8glib
Daily question brushing record (V)
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]
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
Keepalived 实现 Redis AutoFailover (RedisHA)12
Flutter series: flow in flutter
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
getReader() has already been called for this request
Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions
自定义类加载器对类加密解密
Shell脚本系列篇(1) 入门
在 IDEA 里看个书很过分嘛!