[opencms-dev] syncronization error in 6.2 beta

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Tue Mar 28 13:04:31 CEST 2006


Hi Joachim,
Hi Shi,

Joachim's approach works fine, thank you very much for the suggestions and
the solution.

Kind Regards,
Arash

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Joachim Zittmayr
Sent: Montag, 27. März 2006 19:23
To: The OpenCms mailing list
Subject: Re: [opencms-dev] syncronization error in 6.2 beta

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(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

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


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list