hi,
I think that u had not imported all packages u need,or check that all files
are in same package. or or there is some problem in classpath or path
setting (add J2EE jar file in classpath.)
and method create() should be public.
try these things.
With regards,
Anil S. Rawlani,
Global Tele-Systems Ltd,
Phone: 7612929, 7684111 Ext:3271.
> -----Original Message-----
> From: Sachin Mallapurkar [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 23, 2000 5:11 AM
> To: [EMAIL PROTECTED]
> Subject: Problem Compiling EJB classes
>
> Hi:
>
> I have created the following 3 files:
>
> HelloBean.java
> Hello.java
> HelloHome.java
>
> The code has been picked up from an EJB book and I have gone over the
> code a number of times. Nothing seems to be a problem.
>
> The classes HelloBean.java and Hello.java compile fine.
>
> When compiling HelloHome.java, I get the following error message:
> HelloHome: java:6: cannot resolve symbol
> symbol: class Hello
> location: interface HelloHome
>
> Hello create() throws RemoteException, CreateException;
> ^
> 1 error
> Normal termination
>
> Can anyone please help?
>
> Thanks
>
> Sachin
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".