Error deploying AppFuse application on Tomcat
When trying to deploy an AppFuse application on Tomcat I received the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 153 in the generated java file
Type mismatch: cannot convert from null to intAn error occurred at line: 168 in the generated java file
Cannot cast from Object to int
The source of the error turned out to be due to the Constants.java file containing a variable that was not a String. Changing it into a string (and add appropriate type-casting in the application) got rid of the error.
Did you file a bug with AppFuse, so Matt can fix this?