小编Shr*_*rma的帖子

找不到方法'sun.misc.Unsafe.defineClass(Ljava / lang / String; [BIILjava / lang / ClassLoader; Ljava / security / ProtectionDomain;)Ljava / lang / Class

我正在使用jdk-10.0.2gradle 4.7,在构建项目时遇到此错误。

    Unable to find method 'sun.misc.Unsafe.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;'.

Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins …
Run Code Online (Sandbox Code Playgroud)

java gradle spring-boot

6
推荐指数
2
解决办法
1177
查看次数

将谷歌表行编码为 base64 字符串

我有一个多列的谷歌表。我希望将每一行的值组合成一个字符串并将该字符串转换为 base64。

示例:工作表数据

A1           B1         C1        D1                         E1    
NewYork     Smith      kalk       smith@gmail.com          468783778
Run Code Online (Sandbox Code Playgroud)

细绳:

NewYork,Smith,kalk,smith@gmail.com,468783778
Run Code Online (Sandbox Code Playgroud)

结果 base64:

TmV3WW9yayxTbWl0aCxrYWxrLHNtaXRoQGdtYWlsLmNvbSw0Njg3ODM3Nzg=

base64 google-sheets-api google-sheets-macros

5
推荐指数
1
解决办法
3423
查看次数