sciamlab / ckan4j

A java client library to extend and access core functionalities of CKAN
5 stars 1 forks source link

Failed when compiling #2

Open memaldi opened 8 years ago

memaldi commented 8 years ago

Hi,

The master branch shows this error when trying to compiling.

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ckan4j 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ckan4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/deusto/ckan4j/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ckan4j ---
[INFO] Compiling 7 source files to /home/deusto/ckan4j/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.983 s
[INFO] Finished at: 2015-12-22T17:03:38+01:00
[INFO] Final Memory: 15M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ckan4j: Compilation failure
[ERROR] /home/deusto/ckan4j/src/main/java/com/sciamlab/ckan4j/CKANLogin.java:[92,44] 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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Thank you.

pastarace commented 8 years ago

Hi it seems working fine on my machine. Did you update/download the common-lib dependency?

Paolo

[image: SciamLab Logo]

Paolo Starace

paolo@sciamlab.com | +39 338 6664016

@pastarace https://twitter.com/pastarace

paolostarace

@pastarace https://telegram.me/pastarace

On Tue, Dec 22, 2015 at 5:07 PM, Mikel Emaldi notifications@github.com wrote:

Hi,

The master branch shows this error when trying to compiling.

[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ckan4j 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ckan4j --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/deusto/ckan4j/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ckan4j --- [INFO] Compiling 7 source files to /home/deusto/ckan4j/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.983 s [INFO] Finished at: 2015-12-22T17:03:38+01:00 [INFO] Final Memory: 15M/216M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ckan4j: Compilation failure [ERROR] /home/deusto/ckan4j/src/main/java/com/sciamlab/ckan4j/CKANLogin.java:[92,44] 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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Thank you.

— Reply to this email directly or view it on GitHub https://github.com/sciamlab/ckan4j/issues/2.

memaldi commented 8 years ago

Yes, I have installed common-lib from its master branch before trying to install ckan4j.