codegen build error from command line but eDesigner builds OK (Doc ID 1025286.1)

Last updated on JUNE 14, 2007

Applies to:

Oracle Java CAPS Core - Version: 5.1.2 and later
Microsoft Windows (32-bit)

Symptoms

Building ear file from the command line with the following syntax:

ant -propertyfile build.properties

It fails with the error in codegen.log:

[CodeGen] Error message:
[CodeGen] Could not unmarshal the given object ClassName:JCEManager/JavaCollaborationDefinition
[CodeGen] ClassLoader=com.stc.codegen.anttaskImpl.driver.CommandlineClassLoader
[CodeGen] Associated ClassNameMapper=null
[CodeGen] ClassNameMapper List=com.stc.model.common.impl.ProjectManagerImpl$ClassNameMapper,
[CodeGen] Error detail: Exception Name: java.lang.ClassNotFoundException
[CodeGen] Message: ClassName:JCEManager/JavaCollaborationDefinition
[CodeGen] ClassLoader=com.stc.codegen.anttaskImpl.driver.CommandlineClassLoader
[CodeGen] Associated ClassNameMapper=null
[CodeGen] ClassNameMapper List=com.stc.model.common.impl.ProjectManagerImpl$ClassNameMapper,
[CodeGen] Stack Trace: Message:
[CodeGen] ClassName:JCEManager/JavaCollaborationDefinition
[CodeGen] ClassLoader=com.stc.codegen.anttaskImpl.driver.CommandlineClassLoader
[CodeGen] Associated ClassNameMapper=null
[CodeGen] ClassNameMapper List=com.stc.model.common.impl.ProjectManagerImpl$ClassNameMappe

Cause

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 hundreds of Community platforms