我是Gradle的新手,正在阅读这里的Spring Tutorial:
http://spring.io/guides/gs/gradle/
我到达它告诉我添加此任务的部分:
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
Run Code Online (Sandbox Code Playgroud)
我运行gradle包装器,它创建了gradlew和gradlew.bat文件.
试图运行这两个我得到这个例外:
Downloading https://services.gradle.org/distributions/gradle-2.3-bin.zip
Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.val
idator.ValidatorException: PKIX path building failed: sun.security.provider.cert
path.SunCertPathBuilderException: unable to find valid certification path to req
uested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.
java:1341)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.jav
a:153)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.
java:1312)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339
)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323
)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:
563)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1300)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http
sURLConnectionImpl.java:254) …Run Code Online (Sandbox Code Playgroud) 使用Firebase的电子邮件和密码设置时,似乎密码没有安全限制.
例如,我可以创建以下用户:
firebaseRef.createUser(
{
email: "john.doe@example.org",
password: "j"
});
Run Code Online (Sandbox Code Playgroud)
我想至少设置一个最小密码长度.firebase是否提供了这样做的方法?
我不确定发生了什么.但每当我尝试使用git推送或拉动时,我会收到此消息"致命:存储库'https:// ....'未找到".我通常使用bitbucket的源代码树,但是当我从命令行尝试时收到相同的错误.
我很困惑的原因是我没有做任何应该更改存储库的事情.这个存储库已经有来自我和其他团队成员的数百次提交,自从我们创建它以来没有任何改变.我们很少使用任何高级功能,甚至不使用分支,只需拉,推,提交和合并.任何可能发生的事情以及如何解决它?
我已经尝试删除并重新添加原点但没有运气.