Pages

Wednesday, June 16, 2010

Errors logged during code generation

I had done an extension on Contract table & during the code generation the following errors are logged.

Errors logged during code generation

Failed to generate code for interface com.XXX.mdm.entityObject.EObjXContractExtData due to exception: com.ibm.pdq.tools.exception.GenerationException: Cannot resolve binding for method /**
 *
 *
 * Select XContract by parameters.
 * @generated
 */
@Select(sql=getEObjXContractExtSql) @EntityMapping(parameters=EObjXContractExtKeyField,results=EObjXContractExtAllFields) Iterator getEObjXContractExt(Long pkName);
.
  Possibly a classpath issue.

 
Remove the JRE System library & add it.

Validate the model & regenerate the code.

No comments:

Post a Comment