Compilation of Java actions failed

0
Hey there, During the training "Learn to Build an SAP App" I receive the following message "Compilation of Java actions failed" (while trying to run the app locally). Why? And how can I fix it? Error details.
asked
2 answers
2

Check your project\userlib folder for duplicate java libraries. Usually you would want to retain the higest version. Change the old library extension to .excluded in case of backup.

Then sync with project directory in Studio Pro, clean deployment directory from Studio Pro and click run again.

answered
0

This looks like you’ve duplicated SapODataConnector module and called it SapODataConnector_2. This contents of the Java actions inside haven’t been renamed though, so you have duplicates causing the problem you are seeing above. The solution is to delete your SapODataConnector_2 module, or go through the code in every Java action to make sure it is correctly renamed. I’d suggest the delete option.

answered