I believe this is the correct forum, but if I should ask 2.0.0
questions on the user mailing list (or in IRC), please let me know.
I was successfully able to upgrade AppFuse from WW 2.2.2 to 2.2.3 w/o
any issues. I then tried to upgrade to Stuts 2.0.0 (from SVN) and had
the following issues:
1. WARN - XmlConfigurationProvider.verifyResultType(298) | Result
class [org.apache.struts2.views.jasperreports.JasperReportsResult]
doesn't exist (ClassNotFoundException) at result-type -
file:/opt/dev/Tools/jakarta-tomcat-5.0.28/work/Catalina/localhost/appfuse-struts/loader/struts-default.xml:23:108,
ignoring
java.lang.ClassNotFoundException:
org.apache.struts2.views.jasperreports.JasperReportsResult
I had to remove this reference in struts-default.xml for things to work.
Index: struts-default.xml
===================================================================
--- struts-default.xml (revision 438253)
+++ struts-default.xml (working copy)
@@ -20,8 +20,6 @@
<result-type name="plaintext"
class="org.apache.struts2.dispatcher.PlainTextResult" />
<!-- third party integration -->
- <result-type name="jasper"
class="org.apache.struts2.views.jasperreports.JasperReportsResult"/>
-
<result-type name="jsf"
class="org.apache.struts2.jsf.FacesResult" />
</result-types>
2. When I try to go to
http://localhost:8080/appfuse/uploadFile!default.html, I get the
following error:
Struts Problem Report
The Struts has detected an unhandled exception:
Messages: The default() is not defined in action class
org.appfuse.webapp.action.FileUploadAction
File: com/opensymphony/xwork2/DefaultActionInvocation.java
Line number: 337
Stacktraces
java.lang.IllegalArgumentException: The default() is not defined in
action class org.appfuse.webapp.action.FileUploadAction
I have the following in struts.properties:
struts.compatibilityMode.WebWork=true
As well as in FileUploadAction.java, I have:
public String doDefault() {
return INPUT;
}
Am I doing something wrong here? Should I enter these issues into JIRA?
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]