String name = "还重复"; 2019-01-08 16:49 采纳率: 14.3%
浏览 2399
已采纳

说是找不到实体类,但是是有的,有没有大佬

2019-01-08 16:34:30.883[DubboServerHandler-192.168.176.14:20802-thread-8] ERROR com.alibaba.dubbo.rpc.filter.ExceptionFilter 87 invoke - [DUBBO] Got unchecked and undeclared exception which called by 192.168.176.14. service: com.tydic.crm.api.business.interfaces.LogOpenNumberErrApi, method: logOpenNumberErrApi, exception: java.lang.RuntimeException: Can't find DataService: com.tydic.crm.db.po.LogOpenNumberErrPO, dubbo version: 2.5.3, current host: 192.168.176.14 java.lang.RuntimeException: Can't find DataService: com.tydic.crm.db.po.LogOpenNumberErrPO
at com.tydic.uda.service.factory.DefaultDataServiceFactory.getDataService(DefaultDataServiceFactory.java:178) ~[uda-1.3.1.2.jar:?]
at com.tydic.uda.service.factory.DefaultDataServiceFactory.getDataService(DefaultDataServiceFactory.java:187) ~[uda-1.3.1.2.jar:?]
at com.tydic.uda.service.support.DataServiceProxy.getDataService(DataServiceProxy.java:34) ~[uda-1.3.1.2.jar:?]
at com.tydic.uda.service.support.DataServiceProxy.query(DataServiceProxy.java:67) ~[uda-1.3.1.2.jar:?]
at com.tydic.crm.db.impl.LogOpenNumberErrServImpl.queryLogOpenNumberErrByRecover(LogOpenNumberErrServImpl.java:30) ~[crm_db.jar:?]
at com.tydic.crm.core.innet.impl.OperateLogOpenNUmberErrCoreServImpl.selectLogOpenNUmberErr(OperateLogOpenNUmberErrCoreServImpl.java:29) ~[crm_innet_core.jar:?]
at com.tydic.crm.core.innet.impl.OperateLogOpenNUmberErrCoreServImpl$$FastClassBySpringCGLIB$$2a2b258c.invoke() ~[crm_innet_core.jar:?]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at com.tydic.crm.core.innet.impl.OperateLogOpenNUmberErrCoreServImpl$$EnhancerBySpringCGLIB$$e20fe48e.selectLogOpenNUmberErr() ~[crm_innet_core.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_141]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]

             public JSONObject logOpenNumberErrApi() throws PubOutputDTO {
    Log4jUtil.logInfo("开户失败补偿调用", this.getClass());

    List<LogOpenNumberErrPO> list = logOpenNumberErrServ.queryLogOpenNumberErrByRecover("0");//出错报的是这一行
       JSONObject jsonObject = null;

    for (LogOpenNumberErrPO logList : list) {
        logger.info("查询LogOpenNumberErr结束,出参为"+logList);
        String errPoint = logList.getErr_point();
        logger.info("错误标志位Err_point,为"+errPoint);
        JSONObject jsonObjectInput = JSONObject.fromObject(logList.getInput_message());
        JSONObject jsonObjectOutput = JSONObject.fromObject(logList.getOutput_message());

        try{
            logger.info("开户重入服务入参jsonObjectInput:"+jsonObjectInput+"jsonObjectOutput:"+jsonObjectOutput);
            logOpenNumberErrCoreServ.LogOpenNumberErrCoreTrans(jsonObjectInput,  jsonObjectOutput, logList);
        }catch (PubOutputDTO e) {
            jsonObject = JSONObject.fromObject(e.toMap());
            logger.error("开户重入服务异常出参json形式:" + jsonObject.toString());
       }

   }
    return jsonObject;

}

            //这个是查询的实现
             @Override
public List<LogOpenNumberErrPO> queryLogOpenNumberErrByRecover(String recover) {
    return SERVICE.query(Condition.build("queryLogOpenNumberErrByRecover")
            .filter("recover", recover)
    );
}

            这个是xml里面的查询方法

              <query name="queryLogOpenNumberErrByRecover">
        SELECT
        LOG_OPEN_ID, ERR_POINT, ERR_MESSAGE, INPUT_MESSAGE, CREATE_DATE, UPDATE_DATE,RECOVER,REMARK,OUTPUT_MESSAGE
        FROM  LOG_OPEN_NUMBER_ERR WHERE RECOVER =  #{filter.recover}
    </query>
  • 写回答

3条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 unity 使用 Vuforia 导入Model target 成功后database下拉菜单不显示导入的内容
      • ¥15 VBA跨工作簿获取目标工作簿内已有数据的列号
      • ¥30 Dijkstra‘s 最短路径
      • ¥15 在线教育培训平台,主要以点播视频和在线练习测试为主,除将视频做切片外,有其他哪种方式降低流量?(关键词-带宽速率)
      • ¥20 用c语音或c++实现银行叫号系统
      • ¥15 人工智能 规则正向演绎和推理
      • ¥20 基于STM32F401的电子密码锁设计
      • ¥15 famamacbeth回归中遇到only size-1 arrays can be converted to Python scalars,求解答
      • ¥15 单片机多个自锁按键的编程实践
      • ¥15 用python操作redis存储中文后,再取出的数据变成了乱码怎么办?