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