[opencms-dev] Errors while creating war file

Manjula Weerasinghe manjula.aw at gmail.com
Wed Nov 16 10:28:30 CET 2011


 Error says cannot found symbol *
"com.google.gwt.user.client.rpc.SynchronizedRpcRequest*"

Check whether that relevant jar  file  which contains this class is in your
classpath

Read this posts about this same error.

https://github.com/alkacon/opencms-core/issues/4




On Wed, Nov 16, 2011 at 3:20 PM, Supriya Patil UseRich
<supriya at userich.com>wrote:

> hello sir,
>
> when i am creating the war from source of opencms8.0.2 i am getting the
> following
> errors.
> give me solution for this
> Errors:
>
> compile:
>    [javac]
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/build.xml:126:
> warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to
> false for repeatable builds
>    [javac] Compiling 1335 source files to
> /home/userich/.local/share/Trash/files/BuildCms/build/classes-core
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/containerpage/shared/rpc/I_CmsContainerpageServiceAsync.java:42:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/galleries/shared/rpc/I_CmsPreviewServiceAsync.java:36:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapService.java:42:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapServiceAsync.java:41:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/search/CmsSearchManager.java:75:
> warning: [deprecation]
> org.apache.lucene.analysis.snowball.SnowballAnalyzer in
> org.apache.lucene.analysis.snowball has been deprecated
>    [javac] import org.apache.lucene.analysis.snowball.SnowballAnalyzer;
>    [javac]                                           ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:46:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/containerpage/shared/rpc/I_CmsContainerpageServiceAsync.java:226:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.containerpage.shared.rpc.I_CmsContainerpageServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/galleries/shared/rpc/I_CmsPreviewServiceAsync.java:74:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.galleries.shared.rpc.I_CmsPreviewServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapService.java:135:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.sitemap.shared.rpc.I_CmsSitemapService
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapServiceAsync.java:114:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.sitemap.shared.rpc.I_CmsSitemapServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:125:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:143:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:154:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:203:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/containerpage/shared/rpc/I_CmsContainerpageServiceAsync.java:42:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/galleries/shared/rpc/I_CmsPreviewServiceAsync.java:36:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapService.java:42:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapServiceAsync.java:41:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/search/CmsSearchManager.java:75:
> warning: [deprecation]
> org.apache.lucene.analysis.snowball.SnowballAnalyzer in
> org.apache.lucene.analysis.snowball has been deprecated
>    [javac] import org.apache.lucene.analysis.snowball.SnowballAnalyzer;
>    [javac]                                           ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:46:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: package com.google.gwt.user.client.rpc
>    [javac] import com.google.gwt.user.client.rpc.SynchronizedRpcRequest;
>    [javac]                                      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/containerpage/shared/rpc/I_CmsContainerpageServiceAsync.java:226:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.containerpage.shared.rpc.I_CmsContainerpageServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/galleries/shared/rpc/I_CmsPreviewServiceAsync.java:74:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.galleries.shared.rpc.I_CmsPreviewServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapService.java:135:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.sitemap.shared.rpc.I_CmsSitemapService
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/ade/sitemap/shared/rpc/I_CmsSitemapServiceAsync.java:114:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.ade.sitemap.shared.rpc.I_CmsSitemapServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:125:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:143:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:154:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/gwt/shared/rpc/I_CmsCoreServiceAsync.java:203:
> cannot find symbol
>    [javac] symbol  : class SynchronizedRpcRequest
>    [javac] location: interface
> org.opencms.gwt.shared.rpc.I_CmsCoreServiceAsync
>    [javac]     @SynchronizedRpcRequest
>    [javac]      ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/search/CmsSearchManager.java:535:
> warning: [deprecation]
> org.apache.lucene.analysis.snowball.SnowballAnalyzer in
> org.apache.lucene.analysis.snowball has been deprecated
>    [javac]         } else if ((snowballStemmer != null) &&
> SnowballAnalyzer.class.equals(analyzerClass)) {
>    [javac]                                                 ^
>    [javac]
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/src/org/opencms/search/CmsSearchManager.java:537:
> warning: [deprecation]
> org.apache.lucene.analysis.snowball.SnowballAnalyzer in
> org.apache.lucene.analysis.snowball has been deprecated
>    [javac]             analyzer = new
> SnowballAnalyzer(CmsSearchIndex.LUCENE_VERSION, snowballStemmer);
>    [javac]                            ^
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 13 errors
>    [javac] 3 warnings
>
> BUILD FAILED
>
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/modules/build.xml:190:
> The following error occurred while executing this line:
> /home/userich/.local/share/Trash/files/opencms_8.0.2_src/build.xml:126:
> Compile
> failed; see the compiler error output for details.
>
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111116/eebfe941/attachment.htm>


More information about the opencms-dev mailing list