File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Build problem using ANT in WAS6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Build problem using ANT in WAS6.1" Watch "Build problem using ANT in WAS6.1" New topic

Build problem using ANT in WAS6.1

Deboshree Roy

Joined: Oct 03, 2007
Posts: 21
I have migrated my project code on WAS and WPS 6.1.I run a ANT script to build the codebase.
In the EJB module when I build the code using ANT(1.6.1), I am getting the following error:
Could not create type wsejbdeploy due to java.lang.NoClassDefFoundError:

I have included the websphere_apis.jar(Which contains ths WsEjbDeploy class) in the shared library and also in the library file of the ejb module.

any help would be great help.
Thanks in advance.
Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Check out the following may help

SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
I agree. Here's the link:
subject: Build problem using ANT in WAS6.1
Similar Threads
Null Pointer while generating a build using Ant.
Please help!
While upgrading to websphere 7.0 facing classcastexception in privateoption class
ejbDeploy using ANT into the Websphere Application Server