Okay,
another problem occured. Although the function itself may be called,
the injects inside dont seem to work:
The @EJB-call to my class works well, however the entityManager may
not be initialized. I tryed both annotations:
@PersistenceUnit(unitName = sung.app.kylintv.ejb)
Current status:
As for now, I did come as far, as deploy is ok, and all classes seem
to exist. However my current problem is, that no injection seems to
work out:
ServiceImpl:
@EJB(mappedName = sung/app/kylintv/product )
private Product product;
// public void
Friday I found the answer to my problem mentioned above:
As this is a connection between 2 seperate projects, I had to use the
mapped-name to identify my ejb-class.
@EJB(mappedName = sung/app/kylintv/product ) instead of
@EJB(name = Product )
As there are further errors coming up, I'll be
Hi Karim,
thanks for the help - and you were totally right. I just made the
well i failed in adding compiled classes. Instead I included the
source-files :-)
Now, that I get this far, however, another error (of course) occurs:
My jBoss brings up a deployment error:
DEPLOYMENTS IN ERROR:
Hello,
I'm trying to establish a shop-system through gwt. In Ecplise running
on jBoss 6.1.0.Final, GWT 2.4
In my first approach I wanted to integrate my ejb-structures from the
originial project. As a result I:
1.) created a shop.ejb project and integrated all classes relevant
from my original
correction:
STEP 4.) folder: WEB-INF/lib of course.
The error remains the same.
On 15 Sep., 17:24, Norman Klingspor norman.klings...@googlemail.com
wrote:
Hello,
I'm trying to establish a shop-system through gwt. In Ecplise running
on jBoss 6.1.0.Final, GWT 2.4
In my first approach I
Hi Norman,
1) As you see in your log - java.lang.NoClassDefFoundError:
sung/app/kylintv/product/Product , one of your Classes or package can't be
found by the server runtime.
Are you sure that your *.war is well generated ?
Open your *.war with a ZIP utility tool and check if there is a