当前位置:网站首页>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
边栏推荐
- Two days of beautiful butterfly animation
- Tsinghua & Zhiyuan | cogview2: faster and better text image generation model
- Memcached foundation 1
- Shell脚本系列篇(1) 入门
- Summary of config mechanism and methods in UVM (1)
- memcached基础3
- Bootstrapblazor + FreeSQL actual combat chart usage (2)
- buuctf-pwn write-ups (6)
- 乔治·华盛顿大学 : Hanhan Zhou | PAC:多智能体强化学习中具有反事实预测的辅助价值因子分解
- Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions
猜你喜欢
Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions
Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km
XSS笔记(下)
I encountered some problems when connecting to the database. How can I solve them?
简单学习GoogleColab的入门级概念
IIS 部署静态网站和 FTP 服务
Esp32 add multi directory custom component
微博评论高性能高可用架构
XSS attack notes (Part 1)
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
随机推荐
get_sequencer的用法总结
LeetCode 142. Circular linked list II
1.44寸TFT-LCD显示屏取模教程
Keepalived 实现 Redis AutoFailover (RedisHA)12
SystemVerilog simulation speed increase
自定义类加载器对类加密解密
Amazon elasticache quickly builds a cache service cluster, which is fast
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
buuctf-pwn write-ups (6)
每日刷题记录 (五)
Unable to create a folder to save the sketch: MKDIR sketch
做了两天的唯美蝴蝶动画
How to convert an old keyboard into a USB keyboard and program it yourself?
Markdown table (consolidated)
getReader() has already been called for this request
Clip: learning transferable visual models from natural language monitoring
George Washington University: Hanhan Zhou | PAC: auxiliary value factor decomposition with counterfactual prediction in Multi-Agent Reinforcement Learning
在 IDEA 里看个书很过分嘛!
Keepalived 实现 Redis AutoFailover (RedisHA)14
Keepalived 实现 Redis AutoFailover (RedisHA)13