当我尝试在API Manager 2.0.0管理员门户中使用日志分析器功能时,我收到此错误
ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.EcmaError: TypeError: Cannot call property authenticate in object [JavaPackage org.wso2.carbon.an
alytics.jsservice.Utils]. It is not a function, it is "object". (/portal/controllers/apis/analytics.jag#90) {org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.EcmaError: TypeError: Cannot call property authenticate in object [JavaPackage org.wso2.carbon.analytics.jsservice.Utils]. It is not a function,
it is "object". (/portal/controllers/apis/analytics.jag#90)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
at ...
我该如何解决这个问题?
看起来像是一个jaggery app的问题,因为我在尝试加载Api-Avaliability页面时遇到了另一个错误。
ERROR {org.jaggeryjs.jaggery.core.manager.WebAppManager} - org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: < (/admin/site/blocks/api-availability/ajax/api-availability.jag#71) {org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.EcmaError: SyntaxError: Unexpected token: < (/admin/site/blocks/api-availability/ajax/api-availability.jag#71)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebAppManager.java:588)
at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:508)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
...