Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Class Cast Exception and Java classes deployment

9 views
Skip to first unread message

venkatsadasivam

unread,
Dec 23, 2008, 8:56:11 PM12/23/08
to
Hi,

I copied my project .class files into web application's
WEB-INF/classes folder as well as in $EAServer/html/classes
folder.

During my EJB invocation, I am getting Class Cast Exception.
It is obvious that it is because of keeping .class files
into two places.

I want to keep my all .class into a single place and refer
them in all web applications (I have two web application).

Any suggestion?

Regards,
Venkat

Evan Ireland [Sybase]

unread,
Dec 23, 2008, 9:45:29 PM12/23/08
to
Take them out of WEB-INF/classes.

Put them in java/classes/... rather than html/classes/...

That should help.

0 new messages