I am getting the following error message.
[checking class CabinPS]
[wrote E:\newejb\chap1\bean\ejbcgen\CabinPS.class]
E:\newejb\chap1\bean\ejbcgen\CabinBeanEOImpl.java:56: Incompatible type for =. Can't convert int to CabinPK.
pk = bean.id;
^
1 error
[done in 3385 ms]
Exec failed .. exiting
Steps I followed
1)jar -cvf cabin2.jar *.class META-INF/*.xml
2)java weblogic.ejbc -verbose -compiler javac cabin2.jar deployablecabin.jar
Discussions
EJB programming & troubleshooting: can any boby help me build deployable jar file in weblogic 5.1.
-
can any boby help me build deployable jar file in weblogic 5.1. (2 messages)
- Posted by: suresh t
- Posted on: August 19 2000 15:00 EDT
Threaded Messages (2)
- can any boby help me build deployable jar file in weblogic 5.1. by Madhu Sudhan on August 19 2000 22:14 EDT
- can any boby help me build deployable jar file in weblogic 5.1. by Mike Sprague on August 21 2000 00:39 EDT
-
can any boby help me build deployable jar file in weblogic 5.1.[ Go to top ]
- Posted by: Madhu Sudhan
- Posted on: August 19 2000 22:14 EDT
- in response to suresh t
Hi suresh..
It's not the prob with the Deploable jar files..It's type casting with ur primary key class.Check once again whether it's properly casted or not.. -
can any boby help me build deployable jar file in weblogic 5.1.[ Go to top ]
- Posted by: Mike Sprague
- Posted on: August 21 2000 00:39 EDT
- in response to suresh t
This problem is caused by you specifying a Primary
key class AND a data field for the PK. In the deployer
tool, when you enter the PK the type should be NONE
unless you are using a java.lang.string etc. for your
PK.
I'm not sure of the XML tag that you need to remove,
I use the deployer tool for that.