Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find or load main class #312

Open
demolnau opened this issue Aug 3, 2020 · 2 comments
Open

Could not find or load main class #312

demolnau opened this issue Aug 3, 2020 · 2 comments

Comments

@demolnau
Copy link

demolnau commented Aug 3, 2020

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

@kpepper
Copy link
Member

kpepper commented Aug 10, 2020

What OS are you on?

@guillaumechauvat
Copy link

guillaumechauvat commented Jul 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants