https编程遇到PKIX:unable to find valid certification path to requested target 的问题

https编程遇到PKIX:unable to find valid certification path to requested target 的问题

2016-12-01

解决方案见:解决PKIX:unable to find valid certification path to requested target 的问题

其中:java InstallCert [hostname] 会报错:错误: 找不到或无法加载主类

需要加包明,因为使用简单的java命令运行一个.class文件,不仅需要使用该类的全限定类名,而且需要在当前路径下有该类的包层次文件夹(参考:windows命令行中java和javac、javap使用详解(java编译命令))

posted @ 2016-12-01 18:34  明-Ming  阅读(890)  评论(0编辑  收藏  举报