×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

An error occurs when deploying EJB,please help

When I tried to deploy my EJB app on Jboss server, I got this error msg.
note: RoleBean is a CMP bean
15:49:55,587 WARN [verifier] EJB spec violation:
Bean : RoleBean
Method : public String ejbCreate(String, String, String, int) throws CreateException
Section: 10.6.5
Warning: For each ejbCreate(...) method, the entity bean class must define a matching ejbPostCreate(...) metho
d.

I checked my RoleBean, and find the ejbCreate(...) method and ejbPostCreate(...) method are perfectly matched. Is there any other possible cause for this error?

Thank you in advance.
Report