Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The import javax.ejb cannot be resolved

283 views
Skip to first unread message

Bob Goh

unread,
Jun 21, 2002, 12:14:32 AM6/21/02
to
Hi!

I am trying to create a helper class in java and when I am trying to
import javax.ejb.*, it gives me the above error

This is my code:

import java.util.*;
import java.rmi.*;
import javax.naming.*;
import javax.ejb.*; <-- The import javax.ejb cannot be resolved

public class MyJndi
{
...
}

Any help would be much appreciated.

Thanks

Chris R

unread,
Jun 24, 2002, 6:16:27 PM6/24/02
to
cs...@myopensys.com (Bob Goh) wrote in message news:<6bb875fa.02062...@posting.google.com>...

Add a variable to your build path (libraries tab)
Variable Name: WAS_PLUGINDIR
Path Extension: lib/j2ee.jar

This will resolve the reference. You may need lib/ejbcontainer.jar for JNDI lookups.

Regards
Chris

sona...@gmail.com

unread,
Jan 11, 2005, 6:04:36 AM1/11/05
to

> Add a variable to your build path (libraries tab)
> Variable Name: WAS_PLUGINDIR
> Path Extension: lib/j2ee.jar
>
> This will resolve the reference. You may need lib/ejbcontainer.jar
for JNDI lookups.
>
> Regards
> Chris

Thanks Chris,
this resolved error for me also, referred j2ee.jar file installed
with j2eesdk-1_4_01-windows.exe.
Thanks again,
Sonali.

Message has been deleted

kanna...@gmail.com

unread,
Nov 20, 2014, 3:42:27 PM11/20/14
to
0 new messages