-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用 unifiedOrder 出错 #1518
Labels
Comments
我是用的是 jdk7。网上是说需要升级到8。但我的环境受限。未必能升级到8。有什么办法处理码 |
你的报错怎么出现的, |
这个接口。默认使用使用jdk8的内置包。我使用的是jdk7就报错了。详细描述如下: |
工程中,pom 默认依赖的包 xstream 。其实版本是依赖jdk8的。因为Base64$Encoder 已经在jdk8内置加入了。所以工程引入的 xstream 将 Base64$Encoder 删除了。所以如果使用jdk7.无论是jdk内置,还是 xstream 都没有这个借口了(jdk7还没有升级加入,工程默认的xstrem也移除了)。所以需要手工在自己的工程里引入一个 xstream 的jdk7版本 |
|
你的问题跟这个是一样的 |
收到。谢谢!祝社区越来越好
…------------------ 原始邮件 ------------------
发件人: "Binary Wang"<[email protected]>;
发送时间: 2020年4月28日(星期二) 上午9:31
收件人: "Wechat-Group/WxJava"<[email protected]>;
抄送: "黄日燕-男的"<[email protected]>;"Author"<[email protected]>;
主题: Re: [Wechat-Group/WxJava] 调用 unifiedOrder 出错 (#1518)
#1362
你的问题跟这个是一样的
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
报这个错误
nested exception is java.lang.NoClassDefFoundError: java/util/Base64$Encoder
The text was updated successfully, but these errors were encountered: