Hi, I'm attempting to get stripes to run on a 1.4 jee application server, specifically Weblogic 8.1 with service pack 6.
- Stripes: 1.5 - Retrotranslator: backport-util-concurrent-3.1.jar, retrotranslator-runtime-1.2.7.jar & retrotranslator-transformer-1.2.7.jar - Ant: 1.7.0 - JDK: I am using the default jdk for web modules, this is either sun's jdk (142_11) or BEA JRockit(R) JDK 1.4.2_10 I have followed the instructions on http://www.stripesframework.org/display/stripes/Java+1.4+and+Stripes, including removing 1.5 code from the .tld files. I am creating my build using the Ant Tasks provided by retrotranslator Jar. The application deploys and the following error is displayed when requesting index.jsp : Parsing of JSP File '/index.jsp' failed: ________________________________ /index.jsp(1): Error in using tag library uri='http://stripes.sourceforge.net/stripes-dynattr.tld' prefix='stripes': type mismatch for property 'value', for Tag class 'net.sourceforge.stripes.tag.InputImageTag': tld says java.lang.Object, implementation type is java.lang.String probably occurred due to an error in /index.jsp line 1: <%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes-dynattr.tld"%> Okay so the problem is that in stripes-dynattr.tld the Java datatype specified for the value property of class InputImageTag is java.lang.Object, the datatype in the implemented class (and interface) in the stripes jar is java.lang.String. The Jrockit or Sun Servlet complier does not like this. Anybody know why when this clearly works deployed to a 1.5 environment? Obviously one fix would be to modify the .tld file to state the datatype specified for the value property of class InputImageTag to 'java.lang.String' but I don't believe I should have to! Does anybody understand what is happening here? Thanks in advance, Phillip Darley ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
