[opencms-dev] Errors while creating war file

Supriya Patil UseRich supriya at userich.com
Wed Nov 16 08:20:56 CET 2011


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.





More information about the opencms-dev mailing list