4

IDEA因Untrusted project无法导入jar包解决方法

 3 years ago
source link: https://www.pkslow.com/archives/idea-untrusted-project
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
技术之前,先读诗书:

可怜楼上月徘徊,应照离人妆镜台。

新版本的Intellij Idea有Project Security的概念,每次导入一个项目的时候,要判断是否是可信任的项目,如果是就要选择信任。

如果是一个没有被信任的项目,就会无法正常跑一些命令,如maven:

这会导致无法正常导入依赖的jar包:

把项目的路径加入到可信任的路径中去,配置如下:

重新启动,这样问题便解决了:


欢迎关注微信公众号<南瓜慢说>,将持续为你更新...

推荐阅读:
如何制定切实可行的计划并好好执行
容器技术(Docker-Kubernetes)
SpringBoot-Cloud相关
Https专题


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK