My Oracle Support Banner

OUTA Compilation Error Executing Test Flow (Doc ID 2899778.1)

Last updated on OCTOBER 03, 2022

Applies to:

Oracle Utilities Customer Cloud Service - Version 22B and later
Oracle Utilities Testing Accelerator - Version 6.0.0.3.0 and later
Information in this document applies to any platform.

Goal

On: 222B version, Environment Related

OUTA Compilation Error Executing Test Flow

When executing a test flow from UTA we are getting compilation errors preventing the flow from executing.

ERROR
-----------------------
Compilation failed. Please check the flow and try again.
Picked up JAVA_TOOL_OPTIONS: -Xms1g -Xmx3g -XX:ParallelGCThreads=2
src/com/oracle/tests/Test.java:12: error: Test is already defined in this compilation unit
import org.junit.Test;
^
src/com/oracle/tests/Test.java:49: error: incompatible types: Test cannot be converted to Annotation
@Test
^
2 errors


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. When executing a test flow from UTA we are getting compilation errors preventing the flow from executing.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.