my dog learned polymorphism*
The moose likes Ant, Maven and Other Build Tools and the fly likes The project was not built since its build path is incomplete Websphere error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "The project was not built since its build path is incomplete Websphere error" Watch "The project was not built since its build path is incomplete Websphere error" New topic
Author

The project was not built since its build path is incomplete Websphere error

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Hi

We have recently migrated from WAS 5.1 to WAS 6.1.

S0 now i am trying to build the applicatioin and generate deployment code using ejbDeploy.sh from WAS 6.1 and encountered the following exception.

The same scripts working fine if i use ejbDeploy.sh from WAS 5.1.

Please help.


Exception :

[*Error] /MMEJB: The project was not built since its build path is incomplete. Cannot find the class file for com.ibm.websphere.csi.CSIException. Fix the build path then try building this project
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessUser_BeanHomeBean_f1c01bb9.java(23): The type com.ibm.websphere.csi.CSIException cannot be resolved. It is indirectly referenced from required .class files
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessUser_BeanHomeBean_f1c01bb9.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessUserMessage_BeanHomeBean_9c4dbee9.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessTradeUtil_BeanHomeBean_f1daffa1.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessTradeUtil_BeanHomeBean_f1daffa1.java(59): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessTradeHomeBean_1c0d26dd.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessSystemStatus_BeanHomeBean_1b9e24f2.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessStaticDataHomeBean_7c85e0d6.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessSite_BeanHomeBean_6f089564.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRole_BeanHomeBean_694cd2e0.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessReportHomeBean_009c1ea0.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRepoTrade_BeanHomeBean_f87c098e.java(59): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRepoTrade_BeanHomeBean_f87c098e.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRateBenchMarkHomeBean_c6fbd9a7.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRRepoTrade_BeanHomeBean_e352e34b.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessRRepoTrade_BeanHomeBean_e352e34b.java(59): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessLoginHomeBean_76237ff6.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessInfoServicesHomeBean_b04aedba.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessEntityHomeBean_802c354d.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessDepoTrade_BeanHomeHomeBean_7476255b.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessDepoTrade_BeanHomeHomeBean_7476255b.java(59): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessCurrency_HomeHomeBean_02a42cd4.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessCollateralType_BeanHomeBean_4bdea3ff.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessCPTrade_BeanHomeBean_d76154b6.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessCPTrade_BeanHomeBean_d76154b6.java(59): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessAccount_BeanHomeBean_09ae1b44.java(33): CreateFailureException cannot be resolved to a type
[exec] [*Error] ejbModule/com/app/ejb/EJSStatelessAccountGroup_HomeHomeBean_b90a5353.java(33): CreateFailureException cannot be resolved to a type
[exec] Shutting down workbench.
[exec] Execution Halted: Compilation Errors Reported
[exec] 28 Errors, 1 Warnings, 0 Informational Messages


Ant script :



SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

You'll need to find what jar file that class belongs to.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Thanks

I found it to be ejbPortable.jar file.

But wondering why the version 5.1 was able to find it automatically but 6,1 failed to do so...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The project was not built since its build path is incomplete Websphere error