Hi,
I am new to
EJB and i have installed weblogic and as well installed
ant tool.
I have developed all the necessary bean codes, when i compile
ant all to create a jar file it gives the following error.
It seems as if ejb is not installed any extra packages to b installed?
Let me know
Thanks in advance
Smitha
hw-compile:
[echo] =========================================
[echo] Compiling Lookup files
[echo] =========================================
[javac] Compiling 4 source files to C:\Lookup\build\classes
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorld.java:18: package javax.ejb does not exist
[javac] import javax.ejb.EJBObject;
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorld.java:23: package javax.ejb does not exist
[javac] public interface HelloWorld extends javax.ejb.EJBObject
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorldBean.java:18: package javax.ejb does not ex
[javac] import javax.ejb.SessionBean;
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorldBean.java:19: package javax.ejb does not ex
[javac] import javax.ejb.SessionContext;
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorldBean.java:20: package javax.ejb does not ex
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorldBean.java:21: package javax.ejb does not ex
[javac] import javax.ejb.EJBException;
[javac] ^
[javac] C:\Lookup\src\com\examples\helloworld\ejb\HelloWorldBean.java:25: cannot resolve symbol
[javac] symbol : class SessionBean
[javac] location: class com.examples.helloworld.ejb.HelloWorldBean
[javac] public class HelloWorldBean implements SessionBean
[javac] ^