当前位置: 移动技术网 > IT编程>开发语言>Java > ireport(1.2.7)的IllegalAccessError异常

ireport(1.2.7)的IllegalAccessError异常

2019年10月24日  | 移动技术网IT编程  | 我要评论

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端口相关的进程。
执行失败原因???

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网