• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Can't compile EJB's

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I am trying to write a simple stateless ejb and I can't compile the interfaces and the bean class. One of the errors I am getting is as follows :

DemoHome.java:12: cannot find symbol
symbol : class CreateException
location: interface com.EJBPract.DemoHome
public Demo create() throws CreateException, RemoteException;
^
I have tried setting the classpth also. Some guidance on setting the classpath would help.

i have downloaded and installed j2eesdk-1_4_02_2005Q2-windows.exe. Any problem with this.

Please I need help with this so that I can proceed forward ....

Thanks
Niki
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nikita Deshmukh:
I have tried setting the classpth also. Some guidance on setting the classpath would help.



Once I found out the J2EE 1.4 SDK and Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 deployed JSE 1.5, I prepared by uninstalling any previous Java installations (1.4, 1.5.04, 1.3EE)
After installation I set the following environment variables:
  • J2EE_HOME = D:\etc\AppServer
  • JAVA_HOME = %J2EE_HOME%\jdk
  • Path = ...;%JAVA_HOME%\bin;%J2EE_HOME%\bin;...
  • CLASSPATH= .;%J2EE_HOME%\lib\j2ee.jar


  • Hope this helps.
     
    You showed up just in time for the waffles! And this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic