今天一個問題讓我困擾了很久,新建一個session bean后,執(zhí)行程序一直報錯:
org.jboss.seam.InstantiationException: Could not instantiate Seam component: xxxAction
找了好久,終于發(fā)現(xiàn)了錯誤原因,
原來是對應(yīng)的@Stateful的session bean對應(yīng)的接口沒有標(biāo)注:@Local
The devil's in the Details!果然如此啊
org.jboss.seam.InstantiationException: Could not instantiate Seam component: xxxAction
找了好久,終于發(fā)現(xiàn)了錯誤原因,
原來是對應(yīng)的@Stateful的session bean對應(yīng)的接口沒有標(biāo)注:@Local
The devil's in the Details!果然如此啊