Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Compiler error while generating library

SA-30650

Summary



Pega 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 Messages



Error(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 Reproduce



1. 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 Cause



A defect or configuration issue in the operating environment:

The third party jars are not available at runtime and hence the error is getting thrown.

Resolution



Perform the following local-change:

DSS setting
compiler/DefaultPath is configured, however the actual jars were missing at the defined locations.

Follow these steps :

1. Define DSS setting compiler/DefaultPath.
2. Create directory structure with the jars.
3. Restart the server.
 

Published November 26, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us