Artemis icon indicating copy to clipboard operation
Artemis copied to clipboard

Could not find or load main class

Open demolnau opened this issue 3 years ago • 2 comments

I am getting the following error when I run art in an environment. I am new to using environments and am not sure if it changes anything or not. I installed using bioconda.

Error: Could not find or load main class uk.ac.sanger.artemis.components.ArtemisMain Caused by: java.lang.ClassNotFoundException: uk.ac.sanger.artemis.components.ArtemisMain

demolnau avatar Aug 03 '20 22:08 demolnau

What OS are you on?

kpepper avatar Aug 10 '20 14:08 kpepper

~I have the same issue on Arch Linux, using either openjdk 11 or 16. It happens both from the Arch User Repository package or by cloning the code from Github directly.~

~Edit: ah, looks like it's not installed properly. mvn clean package fails with~

[ERROR] Failed to execute goal on project artemis: Could not resolve dependencies for project uk.ac.sanger:artemis:jar:18.1.0: The following artifacts could not be resolved: com.ibatis:ibatis:jar:2.3.4.726, com.sshtools:j2ssh-core:jar:0.2.9, org.emboss:jemboss:jar:1.0, org.biojava:biojava:jar:1.6: Could not find artifact com.ibatis:ibatis:jar:2.3.4.726 in central (https://repo.maven.apache.org/maven2)

Cleaning and recompiling everything from scratch worked eventually. I was just confused by how to use Maven.

guillaumechauvat avatar Jul 05 '21 08:07 guillaumechauvat