ireport(1.2.7)的IllegalAccessError异常

本小妞迷上赌 提交于 2019-12-02 05:07:16

ireport版本1.2.7

IllegalAccessError异常:

Exception in thread "main" java.lang.IllegalAccessError: tried to access class i
t.businesslogic.ireport.plugin.checkupdate.CheckUpdate$1 from class it.businessl
ogic.ireport.plugin.checkupdate.CheckUpdate
        at it.businesslogic.ireport.plugin.checkupdate.CheckUpdate.call(CheckUpd
ate.java:56)
        at it.businesslogic.ireport.gui.MainFrame.loadPlugins(MainFrame.java:956
9)
        at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:738)
        at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7299)

解压目录:

启动异常:

原因:加载plugin时,无法加载checkupdate.xml成功。执行it.businesslogic.ireport.plugin.checkupdate.CheckUpdate报错。

处理办法1:
找到checkupdate.xml,关闭ireport后,将它删除掉再重启ireport后发现已经没有这个错误了
处理办法2:
找到checkupdate.xml,关闭ireport后,配置loadOnStartup为false再重启ireport后发现已经没有这个错误了

猜想:之前使用正常,电脑就杀死过一个80端口相关的进程。
执行失败原因???,有人知晓,请指出。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!