Skip to main content
Skip table of contents

Prioritize - Troubleshooting [EUA010] Exit Code for Java Project

Problem

While running a Prioritize scan with the Unified Agent, it can return [EUA000] which indicates the analysis is completed successfully. If the scan completed with any code other than a [EUA000] code, it will return the [-100] exit code.

This article describes how to troubleshooting the [EUA010] exit code in a Java-related (Maven/Gradle) project.

Solution

The Unified Agent will return [EUA010] exit code when a dependency filename was not found or is possibly corrupted. In most of the case, this means one of your dependency files cannot be found in the global/local cache folder.

  1. Make sure the project builds successfully with no errors.

  2. Confirm the dependency Jar file that marked as EUA010 exist in one of the following cache folders (by default):

    • Windows -

      1. C:\Users\<User_Name>\.m2\repository\

      2. C:\Users\<User_Name>\.gradle\caches\modules-2\files-2.1\

    • Linux -

      1. /home/<User_Name>/.m2/repository/

      2. /home/<User_Name>/.gradle/caches/modules-2/files-2.1/

  3. If the local cache folder is different than the default, please set the following parameter:

    • For Maven project

      • maven.m2RepositoryPath=/local/cache/folder

    • For Gradle project

      • gradle.localRepositoryPath=/local/cache/folder

  4. If the Jar file doesn’t exist, please download the missing Jar to this folder, or set the following parameter:

    • For Maven project

      • maven.downloadMissingDependencies=true

    • For Gradle project

      • gradle.downloadMissingDependencies=true

  5. Re-run the Prioritize scan.

If the issue still persists, please contact Mend Support.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.