This content has been marked as final.
Show 3 replies
-
1. Re: IDE Tutorial - ClassCastException on FiboHome Bean refer
sherwinds May 11, 2005 7:00 AM (in response to afindley)I am glad I could help :-) - I am a newbie to JBoss+Java+everything else in Java world.
I am currently trying to learn the language. I'm a C# programmer making a transition. -
2. Re: IDE Tutorial - ClassCastException on FiboHome Bean refer
drhok Jun 3, 2005 9:20 AM (in response to afindley)"afindley" wrote:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59192
[...]
What this amounts to is with the creation of FiboWeb.war, in the Tutorial/bin Folder Selection, do not add a prefix.
Could anyone please explain how this possibly solves the problem?
The exception occurs in ComputeServlet.init(), i.e. when this code is executed, the class must have been already loaded.
So how can a wrong path to ComputeServlet.class (which is the only class affected by the prefix) lead to the exception?
And why is this not fixed in the tutorial?
And how are mere mortals supposed to find this fault? I mean, the supposed purpose of J2EE is to increase productivity, and I would have expected meaningful error messages to support this.
(In another exercise, I tried to access the worng DB table in JBoss because of a spelling erorr in the deployment descriptor, and the error message I got was something like "did not expect 'FROM' here".) -
3. Re: IDE Tutorial - ClassCastException on FiboHome Bean refer
metatom Jun 15, 2005 9:44 AM (in response to afindley)sherwinds your a star! Been stuck on that for the last couple of days, your solution worked straight away, thanks allot.
I would second the call made above by the Doc for more clarity on this as this is surposed to be an introduction to these new techs and to have a 'random' error/solution like this is quite off putting.
Having said that, this is gonna make me read allot of JBoss/Eclipse material before i start devloping with any of these tools, so mayb it'll pay off in the end.
Jst my 2 cents worth
Tom