This content has been marked as final.
Show 3 replies
-
1. Re: [b]EJB2.0 entity bean must not be an abstract class?!!![
palob Jul 4, 2002 12:04 PM (in response to vvinjamur)Hi,
it looks like JBoss expects CMP 1.x.
Check ejb-jar.xml if there is element
<cmp-version>2.x</cmp-version> in entity bean definition.
See ejb-jar_2_0.dtd for more details.
Regards,
Pavol -
2. Re: [b]EJB2.0 entity bean must not be an abstract class?!!![
dsundstrom Jul 4, 2002 12:35 PM (in response to vvinjamur)No the problem is you have not declared the EJB 2.0 doctype. If you do not have the doctype declaration, which is required by the EJB spec, you get EJB 1.1. The EJB 2.0 doctype follows:[pre]
<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd"> [/pre] -
3. Re: [b]EJB2.0 entity bean must not be an abstract class?!!![
vvinjamur Jul 5, 2002 5:59 AM (in response to vvinjamur)Thanks a lot for the suggestion it worked perfectly...