[opencms-dev] syncronization error in 6.2 beta

Joachim Zittmayr joachim at imap.cc
Mon Mar 27 19:23:17 CEST 2006


hi arash!

maybe this is helpful for you (had this prob couple of weeks ago):

hi list!

i tried out opencms's "synchronization" feature for the first time, but
it didnt work out, because there was an jsp compilation error: 
An error occurred at line: 58 in the jsp file:
/WEB-INF/jsp/offline/system/workplace/commons/synchronize.jsp
Generated servlet error: Messages cannot be resolved

then i changed line 58 from <%=
wp.key(Messages.GUI_SYNCHRONIZATION_INFO_0) %> to <%=
"wp.key(Messages.GUI_SYNCHRONIZATION_INFO_0)" %> and of course it
worked.

did it on a more or less fresh 6.2 BETA install, with having legacy
modules deinstalled afterwards.

greets and good luck!
jo

On Tue, 28 Mar 2006 01:06:40 +0800, "Shi Yusen" <shiys at langhua.cn> said:
> Maybe you can try to add tools.jar in your jdk lib path to the java
> classpath. See the attached picture if your os is windows.
> 
> Regards,
> 
> Shi Yusen/Beijing Langhua Ltd.
> 
> ________________________________________
> 发件人: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] 代表 Arash Kaffamanesh
> 发送时间: 2006年3月28日 0:06
> 收件人: 'The OpenCms mailing list'
> 主题: [opencms-dev] syncronization error in 6.2 beta
> 
> Hi,
>  
> I’m getting this error by syncronization:
>  
> Unable to compile class for JSP
> 
> An error occurred at line: 57 in the jsp file:
> /WEB-INF/jsp/offline/system/workplace/commons/synchronize.jsp
> Generated servlet error:
> The type Messages is ambiguous
>  
>  
> org.apache.jasper.JasperException: Unable to compile class for JSP
>  
> An error occurred at line: 57 in the jsp file:
> /WEB-INF/jsp/offline/system/workplace/commons/synchronize.jsp
> Generated servlet error:
> The type Messages is ambiguous
>  
>  
>         at
>         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
>         at
>         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
>         at
>         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:413)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
>         at
>         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
>  
>  
> …..
>  
>  
> tomcat version is 5.5.16
> jdk : 1.5_06
>  
> Any ideas?
>  
> Thanks,
> Arash

On Mon, 27 Mar 2006 18:06:12 +0200, "Arash Kaffamanesh"
<arash.kaffamanesh at pomegranate.de> said:
> Hi,
> 
>  
> 
> I'm getting this error by syncronization:
> 
>  
> 
> Unable to compile class for JSP
> 
> An error occurred at line: 57 in the jsp file:
> /WEB-INF/jsp/offline/system/workplace/commons/synchronize.jsp
> Generated servlet error:
> The type Messages is ambiguous
> 
>  
> 
>  
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP
>  
> An error occurred at line: 57 in the jsp file:
> /WEB-INF/jsp/offline/system/workplace/commons/synchronize.jsp
> Generated servlet error:
> The type Messages is ambiguous
>  
>  
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
> r.java:84)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3
> 28)
>         at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:413)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
>         at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
> 63)
> 
>  
> 
>  
> 
> ...
> 
>  
> 
>  
> 
> tomcat version is 5.5.16
> 
> jdk : 1.5_06
> 
>  
> 
> Any ideas?
> 
>  
> 
> Thanks,
> 
> Arash
> 
-- 
  Joachim Zittmayr
  joachim at imap.cc

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web




More information about the opencms-dev mailing list