usc-isi-i2 / Web-Karma

Information Integration Tool

Home Page:http://www.isi.edu/integration/karma/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR when running karma-web

opened this issue · comments

I am using Ubuntu 16.04 LTS and with 4-5 weeks ago I installed successfully Karma. It was running with no problem. Now if I run mvn jetty:run command (even with sudo) I receive the following error:

[ERROR] Failed to execute goal on project karma-web: Could not resolve dependencies for project edu.isi:karma-web:war:0.0.1-SNAPSHOT: Failed to collect dependencies at edu.isi:karma-common:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for edu.isi:karma-common:jar:0.0.1-SNAPSHOT: Could not transfer artifact edu.isi:karma-common:pom:0.0.1-SNAPSHOT from/to KarmaRepo (http://repo.karma.isi.edu/artifactory/libs-release-local): Failed to transfer file: http://repo.karma.isi.edu/artifactory/libs-release-local/edu/isi/karma-common/0.0.1-SNAPSHOT/karma-common-0.0.1-SNAPSHOT.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]

It seems that the required dependencies were not built successfully.
Can you switch back to the main Web-Karma folder, and run mvn clean install there. If that is successful, then do:

cd karma-web
mvn jetty:run

If any stage fails again, Please copy paste the log and also the output of your mvn --version command here.
Thank you.

I have the same problem after I run mvn clean install
Here is the log:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.174 s
[INFO] Finished at: 2018-03-14T06:51:29+02:00
[INFO] Final Memory: 12M/191M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project karma-web: Could not resolve dependencies for project edu.isi:karma-web:war:0.0.1-SNAPSHOT: Failed to collect dependencies at edu.isi:karma-common:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for edu.isi:karma-common:jar:0.0.1-SNAPSHOT: Could not transfer artifact edu.isi:karma-common:pom:0.0.1-SNAPSHOT from/to KarmaRepo (http://repo.karma.isi.edu/artifactory/libs-release-local): Failed to transfer file: http://repo.karma.isi.edu/artifactory/libs-release-local/edu/isi/karma-common/0.0.1-SNAPSHOT/karma-common-0.0.1-SNAPSHOT.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [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/DependencyResolutionException

And that is maven version:

ilie@ilie-X550JK:/workspace/maven/WebKarma-master/karma-web$ mvn --version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.13.0-36-generic", arch: "amd64", family: "unix"
ilie@ilie-X550JK:
/workspace/maven/WebKarma-master/karma-web$

I have been run the mvn clean install -X to get the full log which can be found here:
https://drive.google.com/open?id=11BNxoUG8UGL-lyTTMuuGmSX3dqCcHOpD

I see the problem. As you can see you are running mvn clean install from the karma-web folder (Your /workspace/maven/WebKarma-master/karma-web folder). You need to run it from the main Web-Karma folder.
So please do:

cd ..
mvn clean install
cd karma-web
mvn jetty:run

My bad.
It works. Thanks for support.

Hi,I am getting following error when I am trying to install via source code,could you please sort out the issue.
mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T00:03:14+05:30)
Maven home: /opt/apache-maven
Java version: 1.8.0_51, vendor: Oracle Corporation, runtime: /usr/local/jdk1.8.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.21.3.el7.x86_64", arch: "amd64", family: "unix"

Failed to execute goal on project karma-util: Could not resolve dependencies for project edu.isi:karma-util:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.json:json:jar:20131018: Failed to read artifact descriptor for org.json:json:jar:20131018: Could not transfer artifact org.json:json:pom:20131018 from/to central (http://repo1.maven.org/maven2/): Failed to transfer file: http://repo1.maven.org/maven2/org/json/json/20131018/json-20131018.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. ->