IDEA在windows环境下安装PlantUML

环境(idea2020.1)

一.插件下载地址

1.网站下载插件

https://plugins.jetbrains.com/plugin/7017-plantuml-integration

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

选择最新的 点击Download下载

IDEA在windows环境下安装PlantUML

下载后直接在plugins导入就行

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

导入后重启即可

2.在idea市场下载

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

重启idea

二、下载graphviz

重启后新建class的puml 出现如下问题

IDEA在windows环境下安装PlantUML 1.安装graphviz

https://graphviz.org/_pages/Download/Download_windows.html

IDEA在windows环境下安装PlantUML

下载后傻瓜式安装

2.配置环境变量

我是安装安装到e盘的 找到bin目录 复制路径,添加到系统环境path变量中

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

3.cmd命令窗口验证

输入dot -version

IDEA在windows环境下安装PlantUML

表示安装成功!

4.重启idea

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

IDEA在windows环境下安装PlantUML

如果还是提示上面的错误 没有显示

解决办法:

打开 open Settings

IDEA在windows环境下安装PlantUML

选择graphviz安装目录bin下的dot.exe 然后确定即可

IDEA在windows环境下安装PlantUML