**問題:**Plantuml輸出的圖片爲下圖,即警告:不能找到Graphviz
```bash
Dot Executable:C:\Program Files(x86)\Graphviz2.38\bin
File does not exist
Cannot find Graphviz. You should
try
@staruml
testdot
@enduml
or
java -Jar plantumLJjar -testdot
```
解決方案: 參考 plantuml 關於 graphviz-dot 的官方文檔
-
下載並安裝 Graphviz v2.38
-
系統屬性-環境變量內添加GRAPVIZ_DOT:C:\Program Files(x86)\Graphviz2.38\bin
-
使用測試命令測試,如果出現截圖下方的白框中的黑字,即告成功
@startuml testdot @enduml