0
우리는 오류 메시지의Oozie 이메일 액션 탈출 태그
<email xmlns="uri:oozie:email-action:0.1">
<to>some-email</to>
<subject>some subject Failure</subject>
<body>
Error (Code) Message:(${wf:errorCode(wf:lastErrorNode())}) ${wf:errorMessage(wf:lastErrorNode())}
</body>
</email>
내용은 <init>
같은 텍스트를 가지고 다음 oozie 이메일 작용을 가지고있다. 이것은 oozie 이메일 작업은 다음 오류와 함께 실패하는 나는 그 문자를 탈출 할 수있는 방법을 찾을 수 없습니다 수
JDOMParseException: Error on line 36: The element type \"init\" must be terminated by the matching end-tag \"</init>\".
의 원인이됩니다. 어떤 제안이라도 도움이 될 것입니다. 몸이 일반 텍스트가 될 필요가 있기 때문에
응답 해 주셔서 감사합니다. 이 문제는 oozie 4.x 클라이언트 버전에서 수정 된 것 같습니다. 내 경우에는 클라이언트 버전이 3.x입니다. [escapexml] (https://commons.apache.org/proper/commons-lang/apidocs/org/)을 사용하는 맞춤 EL 함수를 작성하는 경로를 따라갔습니다. apache/commons/lang3/StringEscapeUtils.html # escapeXml10-java.lang.String-) 메소드를 사용하십시오. – rajkumarts