CM Code Compiles In Eclipse SDK But applyCm Fails
(Doc ID 789944.1)
Last updated on FEBRUARY 20, 2019
Applies to:
Oracle Utilities SDK - Version 2.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
CM code is able to compile in the Eclipse Oracle Utilities Application Framework Development (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
compile:
[echo] ...Compile cm
[javac] Compiling N source files to <target cm directory path>
[javac] path/cmModuleName1.java:LineNumber: 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/cmModuleName2.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
path/CMbuild.xml:LineNumber: Compile failed; see the compiler error output for details.
compile:
[echo] ...Compile cm
[javac] Compiling N source files to <target cm directory path>
[javac] path/cmModuleName1.java:LineNumber: 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/cmModuleName2.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
path/CMbuild.xml:LineNumber: Compile failed; see the compiler error output for details.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |