The Artima Developer Community
Sponsored Link

Java Answers Forum
Error accessing javax.ejb package.

1 reply on 1 page. Most recent reply: Oct 1, 2003 12:09 PM by Rockesh

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Rockesh

Posts: 2
Nickname: rockesh
Registered: Oct, 2003

Error accessing javax.ejb package. Posted: Oct 1, 2003 11:20 AM
Reply to this message Reply
Advertisement
Hi Iam trying to compile following EJB remote interface, the import javax.ejb.* statement is unresolved while compiling. will you please help me in setting the classpath. I have set the classpath to
c:\jdk1.4\lib\tools.jar,c:\jdk1.4\bin.
what else i need to do?

import java.rmi.*;
import javax.ejb.*;

public interface EjbTest extends EJBObject{
public void printString(String str) throws RemoteException;
}

EjbTest.java:2: package javax.ejb does not exist
import javax.ejb.*;
^
EjbTest.java:4: cannot resolve symbol
symbol : class EJBObject
location: interface EjbTest
public interface EjbTest extends EJBObject{


Thanks in Advance.
Rockesh


Rockesh

Posts: 2
Nickname: rockesh
Registered: Oct, 2003

Re: Error accessing javax.ejb package. Posted: Oct 1, 2003 12:09 PM
Reply to this message Reply
Thanks. This problem is solved.

Rockesh

Flat View: This topic has 1 reply on 1 page
Topic: Browsing & Picture display Previous Topic   Next Topic Topic: JPEG2000

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use