[jboss-user] [EJB/JBoss] - execute problem
mastery20
do-not-reply at jboss.com
Tue Mar 20 13:35:53 EDT 2007
hi when i compiles it gives error.plz help me to solve the problem
it is gives following error:it gives all the header file error.how to deploy it
i am using jboss-4.0.2 ant and jdk1.5.when i build build.xml i am getting following errors.
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocal.java:4: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocal.java:12: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface CustomFieldValueLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:9: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface CustomFieldValueLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:11: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public CustomFieldValueLocal create(Integer value) throws Create
Exception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:13: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public CustomFieldValueLocal findByPrimaryKey(Integer value) thr
ows FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public Collection findByCustomField(Integer value) throws Finder
Exception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface UserLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Ve
rsionLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Ve
rsionLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface VersionLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erPreferencesLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erPreferencesLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface UserPreferencesLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueActivityLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:8: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface IssueActivityLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:10: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public IssueActivityLocal create(Integer value) throws CreateExc
eption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:12: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public IssueActivityLocal findByPrimaryKey(Integer value) throws
FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public Collection findByIssueId(Integer value) throws FinderExce
ption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:15: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public Collection findByIssueIdAndNotification(Integer value, in
t notificationSent) throws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueAttachmentLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:8: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface IssueAttachmentLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:10: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal create(Integer value) throws CreateE
xception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:12: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal findByPrimaryKey(Integer value) thro
ws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public Collection findAll() throws FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:15: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public Collection findByIssueId(Integer value) throws FinderExce
ption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:16: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal findByFileName(String value) throws
FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueBean.java:6: package javax.ejb does not exist
[javac] import javax.ejb.*;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueBean.java:61: cannot find symbol
[javac] symbol : class FinderException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueBean
[javac] public abstract Collection ejbSelectLastModifiedDates(Integer pr
ojectId) throws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:6: package javax.ejb does not exist
[javac] import javax.ejb.EntityBean;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:7: package javax.ejb does not exist
[javac] import javax.ejb.EntityContext;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:8: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:9: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:15: cannot find symbol
[javac] symbol: class EntityBean
[javac] public abstract class IssueFieldBean implements EntityBean {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:16: cannot find symbol
[javac] symbol : class EntityContext
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] private EntityContext ctx;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:56: cannot find symbol
[javac] symbol : class EntityContext
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public void setEntityContext(EntityContext value) {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:64: cannot find symbol
[javac] symbol : class CreateException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public Integer ejbCreate(Integer value) throws CreateException {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:69: cannot find symbol
[javac] symbol : class CreateException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public void ejbPostCreate(Integer value) throws CreateException
{
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueFieldLocal extends EJBLocalObject {
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
BUILD FAILED
Z:\New project\itracker\build.xml:43: The following error occurred while executi
ng this line:
Z:\New project\itracker\build.xml:54: The following error occurred while executi
ng this line:
Z:\New project\itracker\build.xml:277: Compile failed; see the compiler error ou
tput for details.
Total time: 50 seconds
really doesnt mean wat has to be modified.plz help me to execute.how to deploy a application
--
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029905#4029905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029905
More information about the jboss-user
mailing list