Menu

2.1 compilation error

Help
Anonymous
2011-11-28
2012-09-04
  • Anonymous

    Anonymous - 2011-11-28

    Hello

    Step by step I am reaching the goal of the 2.1 version !!

    I have installed Maven

    I have download the source files of the 2.1 version

    I have update JRE -> JDK

    but at the final step of the compilation I have an error.

    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[44,44] error: cannot find symbol
    

    Could someone tells me how to solve it ?

    I post the full log of the compilation

    Thank's

    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO] 
    [INFO] Web-Harvest
    [INFO] Web-Harvest Core
    [INFO] Web-Harvest IDE
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Web-Harvest 2.1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ webharvest ---
    [INFO] 
    [INFO] >>> maven-source-plugin:2.0.4:jar (attach-sources) @ webharvest >>>
    [INFO] 
    [INFO] <<< maven-source-plugin:2.0.4:jar (attach-sources) @ webharvest <<<
    [INFO] 
    [INFO] --- maven-source-plugin:2.0.4:jar (attach-sources) @ webharvest ---
    [INFO] 
    [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ webharvest ---
    [INFO] Installing C:\web-harvest\trunk\pom.xml to C:\Users\Eric\.m2\repository\net\sourceforge\webharvest\webharvest\2.1.0-SNAPSHOT\webharvest-2.1.0-SNAPSHOT.pom
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Web-Harvest Core 2.1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ webharvest-core ---
    [INFO] Deleting C:\web-harvest\trunk\core\target
    [INFO] 
    [INFO] --- build-helper-maven-plugin:1.5:add-source (add-sources) @ webharvest-core ---
    [INFO] Source directory: C:\web-harvest\trunk\core\src\main\java added.
    [INFO] Source directory: C:\web-harvest\trunk\core\deprecated\main\java added.
    [INFO] 
    [INFO] --- build-helper-maven-plugin:1.5:add-test-source (add-test-sources) @ webharvest-core ---
    [INFO] Test Source directory: C:\web-harvest\trunk\core\src\test\java added.
    [INFO] Test Source directory: C:\web-harvest\trunk\core\deprecated\test\java added.
    [INFO] 
    [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ webharvest-core ---
    [debug] execute contextualize
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 2 resources
    [INFO] 
    [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ webharvest-core ---
    [INFO] Compiling 147 source files to C:\web-harvest\trunk\core\target\classes
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR : 
    [INFO] -------------------------------------------------------------
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[44,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\web\HttpClientManager.java:[41,48] error: package org.apache.commons.httpclient.contrib.ssl does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[42,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[44,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[66,38] error: package BeanShellScriptEngine does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[39,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[40,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[41,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[47,51] error: package org.webharvest.runtime.processors.plugins.db does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[50,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[51,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[52,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[78,39] error: package BeanShellScriptEngine does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\web\HttpClientManager.java:[76,93] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[54,14] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[55,15] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[177,55] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[195,60] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[197,53] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[201,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[210,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[211,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[212,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[49,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[66,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[89,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[90,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[91,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[92,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[93,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[94,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[53,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[60,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[67,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[74,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[81,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[112,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[118,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[125,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[165,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\zip\ZipPlugin.java:[31,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\zip\ZipPlugin.java:[46,12] error: cannot find symbol
    [INFO] 42 errors 
    [INFO] -------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Web-Harvest ....................................... SUCCESS [0.590s]
    [INFO] Web-Harvest Core .................................. FAILURE [2.797s]
    [INFO] Web-Harvest IDE ................................... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.663s
    [INFO] Finished at: Mon Nov 28 10:50:27 CET 2011
    [INFO] Final Memory: 11M/33M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project webharvest-core: Compilation failure: Compilation failure:
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[44,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\web\HttpClientManager.java:[41,48] error: package org.apache.commons.httpclient.contrib.ssl does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[42,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[44,44] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[66,38] error: package BeanShellScriptEngine does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[39,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[40,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[41,51] error: package org.webharvest.deprecated.runtime.processors does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[47,51] error: package org.webharvest.runtime.processors.plugins.db does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[50,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[51,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[52,57] error: package org.webharvest.runtime.processors.plugins.variable does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptEngineFactory.java:[78,39] error: package BeanShellScriptEngine does not exist
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\web\HttpClientManager.java:[76,93] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[54,14] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\scripting\ScriptingLanguage.java:[55,15] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[177,55] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[195,60] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[197,53] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[201,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[210,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[211,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\definition\DefinitionResolver.java:[212,23] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[49,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[66,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[89,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[90,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[91,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[92,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[93,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\ftp\FtpPlugin.java:[94,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[53,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[60,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[67,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[74,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[81,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[112,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[118,26] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[125,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\mail\MailPlugin.java:[165,12] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\zip\ZipPlugin.java:[31,22] error: cannot find symbol
    [ERROR] \web-harvest\trunk\core\src\main\java\org\webharvest\runtime\processors\plugins\zip\ZipPlugin.java:[46,12] error: cannot find symbol
    [ERROR] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] [url]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[/url]
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :webharvest-core
    
     
  • Alex Wajda

    Alex Wajda - 2011-11-29

    Uh-oh! I even have no idea what could be so broken in your java-maven-project
    to get so many errors :)

    Try check everything again. Use JDK 1.6 or 1.7, Maven 3.x

     

Log in to post a comment.