导入 java.util.Base64 无法解析
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29227170/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 14:53:52 来源:igfitidea点击:
The import java.util.Base64 cannot be resolved
提问by Samiksha Sardal
I am using a .jsp file and the following line gives an error
我正在使用 .jsp 文件,以下行给出了错误
<%@page import="java.util.Base64"%>
The import java.util.Base64 cannot be resolved
导入 java.util.Base64 无法解析
回答by Eran
java.util.Base64was added in Java 8. Perhaps you are using an older version of Java.
java.util.Base64是在 Java 8中添加的。也许您使用的是旧版本的 Java。