You need to use the Geronimo eclipse plugin that is available. When
you create an EJB application you need to define a Geronimo runtime
and then target your application to that runtime. By doing so this
adds the spec jars so javax.ejb.* will resolve.
- sachin
On Feb 22, 2006, at 1:19 PM, Kristian Rink wrote:
Hi all,
not sure whether this is a stupid question, but reading across the
Geronimo docs hasn't yet helped me find what I'm looking for.
Situation:
I'm trying to get started building a simple EJB application using
Eclipse 3.1, the recent Webtools plugin and Geronimo 1.0. Integrating
Geronimo into Eclipse works well, but whenever I try importing
anything
from javax.ejb I'm just told that the package does not exist. Playing
around with the Eclipse project settings I added the openejb jars
found
in GERONIMO_HOME/repository/openejb, but that didn't help much.
Am I missing something important? Do I have to download openejb or any
other libraries besides Geronimo to get things working with Eclipse?
TIA and best regards,
Kris
--
Kristian Rink -- Programmierung/Systembetreuung
planConnect GmbH * Strehlener Str. 12 - 14 * 01069 Dresden
0176 24472771 * [EMAIL PROTECTED]