Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes dought!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "dought!!" Watch "dought!!" New topic
Author

dought!!

ramakrishna pydipati
Greenhorn

Joined: Oct 13, 2003
Posts: 23
Hai everybody,
I am new to J2EE. I am trying run this code but I am getting errors. somebody can u help me out.
this is the code:
it is in c:\j2sdkee1.3.1\example1;
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface ConverterHome extends EJBHome
{
Converter create() throws RemoteException,CreateException;
}
error is:
C:\j2sdkee1.3.1\example1\ConverterHome.java:8: cannot resolve symbol
symbol : class Converter
location: interface ConverterHome
Converter create() throws RemoteException,CreateException;
^
1 error
Tool completed with exit code 1
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
What's your classpath entry like?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
ramakrishna pydipati
Greenhorn

Joined: Oct 13, 2003
Posts: 23
I appreciate u r help.
class path I used :
j2ee_home:C:\j2sdkee1.3.1
classpath:%j2EE_HOME%\lib\j2ee.jar
ramakrishna pydipati
Greenhorn

Joined: Oct 13, 2003
Posts: 23
hai ,
I tried using javac *.java ;
it worked .I just want to let u know.
Thanks for u r help.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Try adding a dot (".") into your classpath. Otherwise, javac won't look for the sources in the current directory.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
I'm moving this topic to the Java in General (Beginner) forum. Please continue the discussion there. Thank you


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dought!!
 
Similar Threads
EJB Home interface
Unable to compile home interface file
J2EE tutorial from sun web site
class not found error!!
getting compiler error