注册

将服务器端导入JAVA出错

我把官方示例的emchat-server-java布署到了eclipse当中,把带着的libs包也都导入了,为什么还是显示import com.easemob.这些都不存在呢,感觉还是缺少包。要从哪里获取?
已邀请:
哦,看到了,是用一个命令实现,可我执行这个命令时,报如下错误:
Exception in thread "main" java.lang.RuntimeException: javax.net.ssl.SSLHandshak
eException: sun.security.validator.ValidatorException: PKIX path building failed
: sun.security.provider.certpath.SunCertPathBuilderException: unable to find val
id certification path to requested target
怎么得到所依赖的所有jar包呢,这个方法也不行呀: gradlew.bat distZip

报错:F:\workspace\WEBIM>gradlew.bat distZip
Downloading https://services.gradle.org/distributions/gradle-1.12-bin.zip

Exception in thread "main" java.lang.RuntimeException: javax.net.ssl.SSLHandshak
eException: sun.security.validator.ValidatorException: PKIX path building failed
: sun.security.provider.certpath.SunCertPathBuilderException: unable to find val
id certification path to requested target
是我哪里没设置好吗?
解决了,原来是我的文件夹多了一层。
https://github.com/easemob/emchat-server-examples/tree/master/emchat-server-java

gradle构建

要回复问题请先登录注册