IDEA 使用中各種小問題
目錄
- + IDEA:Cannot resolve symbol XXX
- + IDEA:'while' statement cannot complete without throwing an Exception
- + IDEA:JUnit 不能運作或沒有運作選項
- + IDEA : Your idea evaluation has.
- + IDEA 打包 Jar
+ IDEA:Cannot resolve symbol XXX
- File 菜單
- Invalidate Caches / Restart…
- Invalidate and Restart
+ IDEA:‘while’ statement cannot complete without throwing an Exception
可以在方法上添加注解
@SuppressWarnings("InfiniteLoopStatement")
消除報警
+ IDEA:JUnit 不能運作或沒有運作選項
- 添加 junit 包
- 檢視測試類通路權限是否為 public
- 檢視測試方法通路權限是否定義為 public
+ IDEA : Your idea evaluation has.
http://www.mamicode.com/info-detail-2931821.html
把 http://jetbrains-license-server 替換成 http://fls.jetbrains-agent.com
+ IDEA 打包 Jar
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsICM38FdsYkRGZkRG9lcvx2bjxiNx8VZ6l2cs0TPR1kMBRUTw0EVPpHOsJGcohVYsR2MMBjVtJWd0ckW65UbM5WOHJWa5kHT20ESjBjUIF2X0hXZ0xCMx81dvRWYoNHLrdEZwZ1Rh5WNXp1bwNjW1ZUba9VZwlHdssmch1mclRXY39CXldWYtlWPzNXZj9mcw1ycz9WL49zZuBnL4MDNyETM1kDM3ADOwAjMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)