尝试使用 jdk 1.8 构建时,javax.net.ssl 不存在

问题描述

我正在尝试使用 SSL 并尝试包含包 javax.net.ssl。当我编译 Eclipse 时告诉我这个包不存在。

有人知道我做错了什么吗?

我没有在 maven 中包含任何明确的依赖,因为我相信它应该在基本的 JDK 中......

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
(default-compile) on project SSLTest: Compilation failure: Compilation failure: 
[ERROR] package javax.net.ssl does not exist

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)