1怖喻、Error running Bit. Command line is too long. Shorten the command line via JA
解決辦法:
修改工作空間,路徑為:.idea --> workspace.xml
在propertiescomponent下面新增一行
<property name="dynamic.classpath" value="true" />
2水慨、如何通過idea查看jar包源碼鳍烁。
openwith jar包叨襟,然后youjian點擊jar包,選擇add as a library.
則可以看到j(luò)ar包幔荒。
3糊闽、idea當(dāng)中的javaagent
Premain-Class: com.intellij.rt.execution.application.AppMainV2$Agent
private static void startMonitor(final int portNumber, final boolean helperLibLoaded) {
Thread t = new Thread("Monitor Ctrl-Break") {
public void run() {
try {
Socket client = new Socket("127.0.0.1", portNumber);
public static void premain(String args, Instrumentation i) {
4、springboot2.6版本
直接用@SpringBootTest無法注入對應(yīng)的service爹梁。
通過新增@RunWith(SpringRunner.class)解決右犹。