I'm running Tomcat4.02b1, and Struts 1.0.1rc1.  I've started to write a small
Struts application with a few pages, and several actions and forms.  When I run
Tomcat with JDK1.3.1, it deploys fine (although I get some errors that are due
to me).  However, if I deploy it while Tomcat is using JDK1.4b3, I see the
following in the startup output:

Begin event threw exception
java.lang.IllegalArgumentException: java.lang.ClassCastException@6fa9fc
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at 
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:986)

I also tried this with a Struts version of a few months ago (about 9/29).  I'm
not sure how to tell exactly what version it is.  The results were the same.

I've noticed that the stack trace sometimes is "GeneratedMethodAccessor11",
instead of "10", but I have no idea what that means.

I tried searching for some of these aspects in the struts-user and tomcat-user
lists, but I didn't find anything.

-- 
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to