ubuntu16.04 IDEA中运行maven项目

大致参考博客如下:

https://blog.csdn.net/czc9309/article/details/80304074

只是其中遇到了一些问题:

(1)tomcat需要提前安装,参考https://blog.csdn.net/qq_28851503/article/details/81545498

其中注意在环境文件中/etc/profile加入jdk和jre

(2)在配置tomcat server时,对于其中的tomcat而言,选择安装的tomacat文件夹,如果不能成功,则需要修改tomcat文件目录的权限,sudo chmod 777 -R tomcat文件目录名称

就可以运行通过。

猜你喜欢

转载自blog.csdn.net/wgllovemother/article/details/97388878