Wednesday, June 20, 2007

Making an EAR with Ant Build Script

I got an error saying that ejb compiler was unable to load or its something like bytecode found but unable to find class.

Was due to the fact that my class files(which I got from svn) are compled with a different version of java than the version I am using in my local

resolution: deleted all class files got from svn and made my ant comple and create them again.

Boom: it started working. then hit by another error.

I am getting all sorts of compilation errors for all references in ejb file to the class file.

so the resolution is to inlucde the jar file created from the reference proj in class path. Here is how it looks like:










and it compiled yay..!!!

No comments: