|
版本: |
BeX5V3.5 |
小版本号: |
|
|
|
数据库: |
Oracle |
服务器操作系统: |
Windows |
应用服务器: |
|
客户端操作系统: |
Windows 7 |
浏览器: |
Chrome |
|
|
本帖最后由 vakey 于 2020-12-7 08:53 编辑
使用了X5的OA公告模块,想要在审批的时候发一个提醒,引入了其他包里的方法,引用的包已经设置成源码路径,其他模块也能正常使用,但是OA这里一直报找不到符号,不知道如何解决,求解,如图
控制台错误代码
2020-12-07 08:52:10 [KSQL Time]sql 执行时间:1042ms, ksql:select t,t.sCustomerID,t.sWithdraw,t.sStatusID,t.sActualFinishTime,t.sPlanName,t.sVariable,t.sProcessTemplateItemSequence,t.sSummary,t.sFlowID,t.sAIStatusName,t.sDistributeTime,t.sETField32,t.sExecutorPosName,t.sStatusName,t.sETField31,t.sCreatorFName,t.sEDField21,t.sCreatorOgnName,t.sEDField24,t.sEIField41,t.sEIField42,t.sEDField22,t.sEIField43,t.sEDField23,t.sEIField44,t.sETField34,t.version,t.sETField33,t.sExpectFinishTime,t.sExecutorPersonName,t.sData2,t.sTypeName,t.sExecutorOgnName,t.sData1,t.sData4,t.sCreatorDeptName,t.sData3,t.sActivityNames,t.sCreatorPosName,t.sAIID,t.sLock,t.sActivity,t.sExpectStartTime,t.sProcessTemplateID2,t.sENField13,t.sENField14,t.sPlanID,t.sActive,t.sActivityInTemplate,t.sSequence,t.sKindID,t.sProcessName,t.sExecutorOgnID,t.sImportanceName,t.sCreatorPersonID,t.sCURL,t.sENField11,t.sENField12,t.sCode,t.sHints,t.sCreatorOgnID,t.sExecutorNames,t.sParent,t.sEmergencyName,t.sESField03,t.sTypeID,t.sESField04,t.sESField05,t.sESField06,t.sESField01,t.sESField02,t.sContent,t.sProcess,t.sExecuteMode,t.sCreatorPersonName,t.sCreateTime,t.sLimitTime,t.sWarningTime,t.sLimitSecond,t.sTempPermissionID,t.sSourceID,t.sEURL,t.sImportanceID,t.sCreatorPosID,t.sLastModifyTime,t.sESField07,t.sESField08,t.sExecutorPosID,t.sCreatorDeptID,t.sExecutorPersonID,t.sExecuteTime,t.sEBField51,t.sEBField52,t.sExecutorFName,t.sEBField53,t.sEBField54,t.sCreatorFID,t.sEmergencyID,t.sRemark,t.sAIStatusID,t.sActualStartTime,t.sCustomerName,t.sExecutorFID,t.sProjectID,t.sResponsible,t.sFrontID,t.sPreemptMode,t.sExecutorDeptName,t.sAIActive,t.sExecuteMode2,t.sName,t.sRemindMode,t.sProcessTemplateID,t.sExecutorDeptID,t.sCatalogID,t.sShortcut,t.sActivityName,t.sProjectName from SA_Task t where t.sFlowID = :flowID
2020-12-07 08:52:10 excute stream action, params:{"actions":[{"accept":"application/json","action":"externalAdvanceProcessAction","actionFlag":"__action_0__","activity":"applyActivity","contentType":"application/json","executeContext":"","executor":"/KCEmpfen4rWiyDbyqJ1.ogn/ScTtYiFh9coR64UOcDO.dpt/Dx8FWnzsJpeyAc0Jk1I.pos/DtXUGT2s4HzqLbbkqYU@Dx8FWnzsJpeyAc0Jk1I.psm","parameters":{"control":{"class":"com.justep.system.process.ProcessControl","object":{"@@tag":"process-control","customized-enabled":"false","dialog-enabled":"true","jump-enabled":"false","message":"","notice":[],"postscript":"","save-history":"true","status":"none","task-join":"false","task-join-mode":"tjmMultiple","to":[{"@activity-id":"B27BFCE856AA48E09EC87BB292EF6FC6","@id":"B27BFCE856AA48E09EC87BB292EF6FC6","@is-end":"false","@readonly":"false","@selected":"true","executor-kinds":" PSM","executor-range":[{"@@tag":"org-unit","fid":"/KCEmpfen4rWiyDbyqJ1.ogn/ScTtYiFh9coR64UOcDO.dpt/Dx8FWnzsJpeyAc0Jk1I.pos/DtXUGT2s4HzqLbbkqYU@Dx8FWnzsJpeyAc0Jk1I.psm","fname":"/xxxx/xxxx/xxxx/xxx/xxxx","responsible":"false"},{"@@tag":"org-unit","fid":"/KCEmpfen4rWiyDbyqJ1.ogn/Wopjrfboxc94AAG0EoP.dpt/tCiOSnf2nCemkorTNpi.pos/8IPkGSEdvOCAuvyo5lp@tCiOSnf2nCemkorTNpi.psm","fname":"/xxxx/xxxx/xxxx/xxx/xxxx","responsible":"false"}],"executors":[{"@@tag":"org-unit","fid":"/KCEmpfen4rWiyDbyqJ1.ogn/ScTtYiFh9coR64UOcDO.dpt/Dx8FWnzsJpeyAc0Jk1I.pos/DtXUGT2s4HzqLbbkqYU@Dx8FWnzsJpeyAc0Jk1I.psm","fname":"/xxxx/xxxx/xxxx/xxx/xxxx","responsible":false},{"@@tag":"org-unit","fid":"/KCEmpfen4rWiyDbyqJ1.ogn/Wopjrfboxc94AAG0EoP.dpt/tCiOSnf2nCemkorTNpi.pos/8IPkGSEdvOCAuvyo5lp@tCiOSnf2nCemkorTNpi.psm","fname":"/xxxx/xxxx/xxxx/xxx/xxxx","responsible":false}],"process":"/OA/knowledge/process/simplePublishKnowledge/simplePublishKnowledgeProcess","task-assign-mode":"together","task-relation-value":{"@@tag":"task-relation-value","SA_Task":"EAB416ABF8B54988B00B515AECACDA53","sActivity":"publishActivity","sActivityInTemplate":"publishActivity","sActivityName":"管理员发布","sCURL":"/OA/knowledge/process/simplePublishKnowledge/applyActivity.a","sEURL":"/OA/knowledge/process/simplePublishKnowledge/publishActivity.a","sExecuteMode":"temPreempt","sExecuteMode2":"","sLastModifyTime":"2020-12-07T08:51:56.514Z","sLock":"9A22E49638434128983AFBA3E3E9C7BA","sName":"信息发布审核:标题【111】","sPreemptMode":"tpmExecute","sProcess":"/OA/knowledge/process/simplePublishKnowledge/simplePublishKnowledgeProcess","sProcessName":"信息发布","sProcessTemplateID2":"","sSummary":"在供应商公告中发布111。","sTypeName":"信息发布"},"template":"","unit":"publishActivity"}]}},"task":"2CA28E297B2843AD9EB483D78B83A319"},"process":"/OA/knowledge/process/simplePublishKnowledge/simplePublishKnowledgeProcess"}]}
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 com.justep.micro.service.MicroServiceFilter.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: com.justep.exception.BusinessException: 编码: JUSTEP151044; 提示: 编译模块"/OA/knowledge/process/simplePublishKnowledge"中的类"SimplePublishKnowledge"出错
警告: [options] 未与 -source 1.5 一起设置引导类路径
警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
E:\DevTools\BeX5_V3.8\model\BIZ\OA_X\knowledge\process\simplePublishKnowledge\dsrc\SimplePublishKnowledge.java:4: 错误: 程序包com.subSRM不存在
import com.subSRM.SrmProcessUtils;
^
E:\DevTools\BeX5_V3.8\model\BIZ\OA_X\knowledge\process\simplePublishKnowledge\dsrc\SimplePublishKnowledge.java:5: 错误: 程序包com.subSRM不存在
import com.subSRM.SrmSysUtils;
^
E:\DevTools\BeX5_V3.8\model\BIZ\OA_X\knowledge\process\simplePublishKnowledge\dsrc\SimplePublishKnowledge.java:14: 错误: 找不到符号
SrmProcessUtils.processNotice(flowControl,"你有一条新的公告审批价流程待处理。",SrmSysUtils.getSRMOgnCodeByBizId("OA_KM_Knowledge", bizID));
^
符号: 变量 SrmSysUtils
位置: 类 SimplePublishKnowledge
E:\DevTools\BeX5_V3.8\model\BIZ\OA_X\knowledge\process\simplePublishKnowledge\dsrc\SimplePublishKnowledge.java:14: 错误: 找不到符号
SrmProcessUtils.processNotice(flowControl,"你有一条新的公告审批价流程待处理。",SrmSysUtils.getSRMOgnCodeByBizId("OA_KM_Knowledge", bizID));
^
符号: 变量 SrmProcessUtils
位置: 类 SimplePublishKnowledge
4 个错误
4 个警告
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.compile(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicClass(Unknown Source)
at com.justep.model.impl.ModelImpl$DynamicClassManager.getDynamicMethod(Unknown Source)
at com.justep.model.impl.ModelImpl.getModelMethod(Unknown Source)
at com.justep.system.action.Engine.invokeAction(Native Method)
at com.justep.system.action.Engine.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
at com.justep.system.process.ProcessUtils.advanceProcess(Unknown Source)
at ExternalProcessProcedure.advanceProcess(ExternalProcessProcedure.java:30)
... 30 more
|
|