Terrier Users :  Terrier Forum terrier.org
General discussion about using/developing applications using Terrier 
Problem using desktop terrier
Posted by: amy ()
Date: February 12, 2018 02:37PM

Hi Terrier users,

When I use terrier desktop on Mac, I encountered this problem. I have java 8.

Setting TERRIER_HOME to /Users/apple/Documents/terrier-desktop
Setting JAVA_HOME to /usr
Error: Could not find or load main class org.terrier.applications.desktop.DesktopTerrier
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

It will be appreciated if anyone could help.

Thanks,
Amy

Options: ReplyQuote
Re: Problem using desktop terrier
Posted by: craigm ()
Date: February 15, 2018 10:10AM

Did you compile it?

Options: ReplyQuote
Re: Problem using desktop terrier
Posted by: amy ()
Date: March 01, 2018 05:12PM

Yes I did. I followed the exact step on instructions. I still didn't get it work. sad smiley

Bets regards,
Amy

Options: ReplyQuote
Re: Problem using desktop terrier
Posted by: amy ()
Date: March 03, 2018 02:30PM

Hi,
Please see below for my return when building with mavn.

Best regards,
Amy


[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building terrier-desktop 4.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-assembly-plugin:2.6:single (default-cli) @ terrier-desktop ---
[WARNING] Cannot include project artifact: org.terrier:terrier-desktop:jar:4.2-SNAPSHOT; it doesn't have an associated file or directory.
Downloading from terrier.snapshot: [demos.terrier.org]
[INFO] Building jar: /Users/apple/.Trash/terrier-desktop/target/terrier-desktop-4.2-SNAPSHOT-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.294 s
[INFO] Finished at: 2018-03-03T14:28:24Z
[INFO] Final Memory: 236M/629M
[INFO] ------------------------------------------------------------------------

Options: ReplyQuote
Re: Problem using desktop terrier
Posted by: craigm ()
Date: April 05, 2018 02:29PM

Hi Amy,

We have had a look at this. The problem is the instructions for building were incorrect. It should be:

mvn package assembly:single

Sorry for the confusion

Craig

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.