ejb packaging configuration
Hi, there
I am new to ejb 3 and struts. I have a question about how to set packaging configuration.
For example:
If I set output source directory: /ejbtest/www/WEB-INF/classes
jar file: /ejbtest/www/WEB-INF/classes
war file:/ejbtest/www
and then put them into ear file, I will get class cast error. I figured it out because war file contains class files as well as jar file.
So if I set output source directory: /ejbtest/build/classes
jar file: /ejbtest/build/classes
war file: /ejbtest/www
then it will work as war file does not contain jar file now.
The normal structure of a web application has classes folder within WEB-INF folder, and it has all the classes files. How can package my jar and war file properly, so I won't get cast error? Any help will be appreicated.
Cheers
Ming

