//代码如下:BufferedReader reader = new BufferedReader(new ReaderUTF8(servletContext.getResourceAsStream(path)));
//初始化ReaderUTF8编译异常
Access restriction: The constructor 'ReaderUTF8(InputStream)' is not API (restriction on required library 'C:\Program Files\Java\jre1.8.0_121\lib\rt.jar')1. ReaderUTF-8有公有构造2. JRE是1.8,可以看到有“rt.jar 但是上面有一本小书,这是怎么回事???3.项目编译版本也是1.8本人懵逼中。。。
添加回答
举报
0/150
提交
取消