• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dought!!

 
ramakrishna pydipati
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your classpath entry like?
 
ramakrishna pydipati
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I appreciate u r help.
class path I used :
j2ee_home:C:\j2sdkee1.3.1
classpath:%j2EE_HOME%\lib\j2ee.jar
 
ramakrishna pydipati
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai ,
I tried using javac *.java ;
it worked .I just want to let u know.
Thanks for u r help.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding a dot (".") into your classpath. Otherwise, javac won't look for the sources in the current directory.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this topic to the Java in General (Beginner) forum. Please continue the discussion there. Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic