|
报错如下,我之前在自己申请的企业号中,同步组织机构都成功了,但是现在要换到公司正式的企业号中时,报错,错误如下
==actionName==orgSynchToWeixinAction
2017-03-22 16:06:08 getWeixinBSessionID
2017-03-22 16:06:08 bsessionid:877CB2C2344D1A25C906DAFE88A690E8
2017-03-22 16:06:08 已经登录过:877CB2C2344D1A25C906DAFE88A690E8
2017-03-22 16:06:08 session 没有超时
2017-03-22 16:06:08 check login end getWeixinBSessionID
2017-03-22 16:06:09 action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity" name="orgSynchToWeixinAction" execute-context="configKey=wx811b855e73c9b6067;" content-type="application/xml"><parameters><parameter name="AccountType"><xbiz:simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XMLSchema#String">人员编码</xbiz:simple></parameter></parameters></action>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: me.chanjar.weixin.common.exception.WxErrorException: 微信错误 errcode=60003, errmsg=department not found
json:{"errcode":60003,"errmsg":"department not found"}
at me.chanjar.weixin.cp.api.WxCpServiceImpl.execute(WxCpServiceImpl.java:373)
at me.chanjar.weixin.cp.api.WxCpServiceImpl.departUpdate(WxCpServiceImpl.java:168)
at orgSynchronizeToWeixin.modifyWxDepart(orgSynchronizeToWeixin.java:464)
at orgSynchronizeToWeixin.modifyChangeofDepart(orgSynchronizeToWeixin.java:441)
at orgSynchronizeToWeixin.orgSynchToWeixin(orgSynchronizeToWeixin.java:147)
... 27 more
2017-03-22 16:06:09 微信错误 errcode=60003, errmsg=department not found
json:{"errcode":60003,"errmsg":"department not found"}
javax.servlet.ServletException: java.lang.RuntimeException: 微信错误 errcode=60003, errmsg=department not found
json:{"errcode":60003,"errmsg":"department not found"}
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 微信错误 errcode=60003, errmsg=department not found
json:{"errcode":60003,"errmsg":"department not found"}
at Synchweixin.doExec(Synchweixin.java:49)
at Synchweixin.execute(Synchweixin.java:24)
at com.justep.ui.JavaServer.runJava(Unknown Source)
at com.justep.ui.JavaServer.doJ(Unknown Source)
at com.justep.ui.JavaServer.service(Native Method)
... 17 more
|
|