Hi all,

I have created  CMP Entity Bean in VAJ 4.0 and exported the classes as jar
and made an ear in AAT.

While generating code for deployment , I got the following error . Can any
one help me to solve this.

/Helper.jar(Class: test.CustTestBean): CHKJ2907E: Cannot validate because
the test.CustTestBean type cannot be reflected. Ensure that it, and all of
its dependencies, are included in the classpath.
/Helper.jar(Method: findByPrimaryKey(test.CustTestKey), Class:
test.CustTestHome): CHKJ2433W: Cannot validate this method because the
test.CustTest type cannot be reflected. Ensure that test.CustTest, and all
of its dependencies, are included in the classpath.
/Helper.jar(Method: create(java.lang.String), Class: test.CustTestHome):
CHKJ2433W: Cannot validate this method because the test.CustTestBean type
cannot be reflected. Ensure that test.CustTestBean, and all of its
dependencies, are included in the classpath.
/Helper.jar(Class: test.CustTest): CHKJ2907E: Cannot validate because the
test.CustTest type cannot be reflected. Ensure that it, and all of its
dependencies, are included in the classpath.
/Helper.jar(Field: Id, Class: test.CustTestKey): CHKJ2206E: The field must
be a <cmp-field> of CustTest. Read section 9.4.7.2 of the EJB 1.1
specification.
ejbModule/META-INF/ejb-jar.xml(Enterprise bean: CustTest): CHKJ2802E:
<ejb-class> class test.CustTestBean, or one of its supertypes, cannot be
reflected. The type which cannot be reflected is test.CustTestBean.
ejbModule/META-INF/ejb-jar.xml(Enterprise bean: CustTest): CHKJ2804E:
<remote> interface test.CustTest, or one of its supertypes, cannot be
reflected. The type which cannot be reflected is test.CustTest.
Shutting down workbench.
Execution Halted: Validation Errors Reported
5 Errors, 2 Warnings, 0 Informational Messages
Delete undeployed module file C:\Documents and Settings\admin\Local
Settings\Temp\Test_ear\Helper_source.jar
Save the deployed modules as EAR file C:\Backup_12th\Deployed_Test.ear

Thanks in Advance,
Ravisankar

Reply via email to