Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]"
Java调用JavaScript时,若出现这个异常信息,是由于javascript文件中到导包不正确,将导包:
importPackage(java.util.ArrayList);改成 importPackage(java.util);
Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]" instead
相关热门文章
给主人留下些什么吧!~~
评论热议