Compiler error while generating library
SummaryPega instance has been upgraded from PRPC 6.3 to Pega 7.2.1 version. In Pega 7.2.1 user is facing an exception when clicking on generate library button in the custom function.
Error MessagesError(s) detected while generating java.
Compiler reported: ---------- 1. ERROR in /com/pegarules/generated/mhmprpfw_plattsprpclib.java (at line 46) import de.odysseus.staxon.json.JsonXMLConfig; ^^^^^^^^^^^ The import de.odysseus cannot be resolved ---------- 2. ERROR in /com/pegarules/generated/mhmprpfw_plattsprpclib.java (at line 47) import de.odysseus.staxon.json.JsonXMLConfigBuilder; ^^^^^^^^^^^ The import de.odysseus cannot be resolved ----------
Steps to Reproduce1. Log into designer.
2. Click Records.
3. Click Technical.
4. Click Function.
5. Select function and try clicking on Compile or Generate Library.
6. Observe an error gets thrown.
Root CauseA defect or configuration issue in the operating environment:
The third party jars are not available at runtime and hence the error is getting thrown.
ResolutionPerform the following local-change:
compiler/DefaultPath is configured, however the actual jars were missing at the defined locations.
Follow these steps :
1. Define DSS setting
2. Create directory structure with the jars.
3. Restart the server.
Published November 22, 2016 - Updated November 25, 2016