My Oracle Support Banner

CM Code Compiles In Eclipse SDK But applyCm Fails (Doc ID 789944.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Utilities SDK - Version: and later   [Release: 2.2 and later ]
Information in this document applies to any platform.


CM code is able to compile in the Eclipse SDK on a Development machine but it is not possible to run the  applyCM command on the target environment (where there is no Eclipse).

Sample Error in the applyCM.log:
[echo] ...Finished generate artifacts

[echo] ...Compile cm
[javac] Compiling N source files to <target cm directory path>
[javac] path/ com.splwg.base.api.DataTransferObject<? extends com.splwg.base.api.BusinessEntity> cannot be dereferenced
[javac] ServicePoint_Id servicePointId = (ServicePoint_Id)(PageService.add("CILCSPPP", dataElement).getPrimaryRow().getId());
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: path/ uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

path/CMbuild.xml:LineNumber: Compile failed; see the compiler error output for details.


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

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

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