Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]&quot

Java调用JavaScript时,出现这个异常信息,由于javascript文件正确,包:
importPackage(java.util.ArrayList);改成 importPackage(java.util); 

Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]" instead

阅读(752) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted on 2016-01-25 16:35  玄冬  阅读(470)  评论(0编辑  收藏  举报