Cannot create an EJB3 session bean with Eclipse 3.4.0 [message #219869] |
Mon, 01 September 2008 13:00  |
Eclipse User |
|
|
|
I just installed Eclipse 3.4.0 with Jboss 4.0.5 and I was trying to create
my first session bean. I created the EJB project but when I tried to add a
session bean the Create EJB 3.0 Session Bean wizard will not show my EJB
project in the top drop down list of the window. I am stuck.
I tried, as someone suggested to create just a POJI and a POJO with the
appropriate annotations. The two files appear under my ejbModule but no
session bean. The build complains that An EJB module must contain one or
more enterprise beans. ejb-jar.xml MyEjbProject/build/classes/META-INF
line 5 XML Problem
No error in the code. It appears that Eclipse doesn't really think I have
a bean.
Can anybody help please? I am new to Eclipse and EJB.
Thanks.
Dan
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03021 seconds