Hi all,
I was trying to compile some EJBs but it tells me :
UserBean.java
HelloUserBean.java:2: package javax.ejb does not exist
import javax.ejb.Stateless;
^
HelloUserBean.java:4: cannot find symbol
symbol: class HelloUser
public class HelloUserBean implements HelloUser {
^
HelloUserBean.java:3: cannot find symbol
symbol: class Stateless
@Stateless
^
3 errors
I have both JAVA_HOME ,J2EE_HOME and ANT_HOME set.
The following are residing in my path env variable:
{j2ee.home}\bin
{j2ee.home}\lib\ant\bin
The following are in my classpath:
{j2ee.home}\lib
{j2ee.home}\lib\ant\lib
I am using glassfish and have set the admin password for the password file correctly.I can login to the admin console,ue
ant to deploy applications and can use asadmin from the command prompt.I only run into problems trying to compile the classes.....
Please advise!