Hi,
i am trying to enable the web2 plugins but i am get an issue on when i try
to compile the plugins

i get the following errors

init:

compile-plugins:

deploy:

init:

init-plugin:

compile:

jar:
      [jar] Warning: skipping jar archive
/usr/local/mputa01/build/webui-extensionpoints/webui-extensionpoints.jar
because no files were included.

deps-test:

deploy:

init:

init-plugin:
     [echo] Copying UI configuration
     [echo] Copying UI templates

deps-jar:

prepare-web:
   [delete] Deleting directory
/usr/local/mputa01/build/web-caching-oscache/tmp/_web
     [copy] Copying 5 files to
/usr/local/mputa01/build/web-caching-oscache/tmp/_web

compile-jsp:

compile:
     [echo] Compiling plugin: web-caching-oscache
    [javac] Compiling 4 source files to
/usr/local/mputa01/build/web-caching-oscache/classes
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:32:
 
package org.apache.nutch.webapp.common does not exist
    [javac] import org.apache.nutch.webapp.common.Search;
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:33:
 
package org.apache.nutch.webapp.common does not exist
    [javac] import org.apache.nutch.webapp.common.ServiceLocator;
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:127:
 
cannot find symbol
    [javac] symbol  : class ServiceLocator
    [javac] location: class org.apache.nutch.webapp.CacheManager
    [javac]   public Search getSearch(String id, ServiceLocator locator) 
throws NeedsRefreshException  {
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:127:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class org.apache.nutch.webapp.CacheManager
    [javac]   public Search getSearch(String id, ServiceLocator locator) 
throws NeedsRefreshException  {
    [javac]          ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:162:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class org.apache.nutch.webapp.CacheManager
    [javac]   public void putSearch(String id, Search search){
    [javac]                                    ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:27:
 
package org.apache.nutch.webapp.common does not exist
    [javac] import org.apache.nutch.webapp.common.Search;
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:28:
 
package org.apache.nutch.webapp.common does not exist
    [javac] import org.apache.nutch.webapp.common.ServiceLocator;
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:29:
 
package org.apache.nutch.webapp.common does not exist
    [javac] import org.apache.nutch.webapp.common.Startable;
    [javac]                                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:30:
 
cannot find symbol
    [javac] symbol  : class SearchController
    [javac] location: package org.apache.nutch.webapp.controller
    [javac] import org.apache.nutch.webapp.controller.SearchController;
    [javac]                                          ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:39:
 
cannot find symbol
    [javac] symbol: class SearchController
    [javac] public class CachingSearchController extends SearchController
implements Startable {
    [javac]                                              ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:39:
 
cannot find symbol
    [javac] symbol: class Startable
    [javac] public class CachingSearchController extends SearchController
implements Startable {
    [javac]      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:128:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class org.apache.nutch.webapp.CacheManager
    [javac]     Search search=null;
    [javac]     ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/CacheManager.java:140:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class org.apache.nutch.webapp.CacheManager
    [javac]         search = new Search(locator);
    [javac]                      ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:47:
 
cannot find symbol
    [javac] symbol  : class ServiceLocator
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     ServiceLocator locator = getServiceLocator(request);
    [javac]     ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:47:
 
cannot find symbol
    [javac] symbol  : method
getServiceLocator(javax.servlet.http.HttpServletRequest)
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     ServiceLocator locator = getServiceLocator(request);
    [javac]                              ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:48:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     Search search;
    [javac]     ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:58:
 
cannot find symbol
    [javac] symbol  : variable LOG
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     if(LOG.isDebugEnabled()){
    [javac]        ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:59:
 
cannot find symbol
    [javac] symbol  : variable LOG
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]       LOG.debug("cache key:" + cacheKey);
    [javac]       ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:64:
 
cannot find symbol
    [javac] symbol  : variable Search
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]         request.setAttribute(Search.REQ_ATTR_SEARCH, search);
    [javac]                              ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:65:
 
cannot find symbol
    [javac] symbol  : variable LOG
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]         if(LOG.isDebugEnabled()) {
    [javac]            ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:66:
 
cannot find symbol
    [javac] symbol  : variable LOG
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]           LOG.debug("Using cached");
    [javac]           ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:70:
 
cannot find symbol
    [javac] symbol  : variable super
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]           super.nutchPerform(tileContext, request, response, 
servletContext);
    [javac]           ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:71:
 
cannot find symbol
    [javac] symbol  : class Search
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]           search = (Search) locator.getSearch();
    [javac]                     ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:75:
 
cannot find symbol
    [javac] symbol  : variable LOG
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]           LOG.info("Cancelling update");
    [javac]           ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:83:
 
cannot find symbol
    [javac] symbol  : class ServiceLocator
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     ServiceLocator locator=getServiceLocator(servletContext);
    [javac]     ^
    [javac]
/usr/local/mputa01/contrib/web2/plugins/web-caching-oscache/src/java/org/apache/nutch/webapp/controller/CachingSearchController.java:83:
 
cannot find symbol
    [javac] symbol  : method getServiceLocator(javax.servlet.ServletContext)
    [javac] location: class
org.apache.nutch.webapp.controller.CachingSearchController
    [javac]     ServiceLocator locator=getServiceLocator(servletContext);
    [javac]                            ^
    [javac] Note: 
/usr/local/mputa01/build/web-caching-oscache/tmp/_src/org/apache/nutch/web2/plugin/WEB_002dINF/jsp/common_jsp.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 26 errors

BUILD FAILED
/usr/local/mputa01/contrib/web2/build.xml:140: The following error occurred
while executing this line:
/usr/local/mputa01/contrib/web2/plugins/build.xml:30: The following error
occurred while executing this line:
/usr/local/mputa01/contrib/web2/plugins/build-plugin.xml:126: Compile
failed; see the compiler error output for details.

Total time: 3 seconds
[EMAIL PROTECTED] web2]#

-- 
View this message in context: 
http://www.nabble.com/web2-plugins-compilation-error-tp19085351p19085351.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to