Just put in (String) in front of the pageContext.
There are no discussion forums; all discussion should be done on these two mailing lists (jspwiki-user, jspwiki-dev).
/Janne On 20 Dec 2007, at 17:09, maker su wrote:
When compile JSPWiki-2.4.104-src on target "war-tomcat" with apache-tomcat-5.5.25,there is an error. compile-tomcat: [javac] Compiling 24 source files to H:\localdev\workspace\JspWiki-src\JSPWiki\build\jsp-classes [javac]H:\localdev\workspace\JspWiki-src\JSPWiki\build\jsp-java\org\apache \jsp\templates\default_\DisplayMessage_jsp.java:47: replaceEntities(java.lang.String) in com.ecyrd.jspwiki.TextUtil cannot beapplied to (java.lang.Object) [javac] out.print(TextUtil.replaceEntities( pageContext.getAttribute("message",PageContext.REQUEST_SCOPE))); [javac] ^ [javac] Note:H:\localdev\workspace\JspWiki-src\JSPWiki\build\jsp-java\org\apache \jsp\templates\default_\FindContent_jsp.javauses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error Please help.By the way,Is there any discussion forum for JSPWiki? Thanks very much.
