Model Selection ClassNotFoundException

8 views
Skip to first unread message

Christopher Griffin

unread,
Dec 15, 2025, 9:43:00 PM (20 hours ago) Dec 15
to beast-users
Hello all,

I am attempting to run a path sampling analysis using the Model Selection package in BEAST2. When I try to either launch it through the AppLauncher GUI, or edit the XML file and run it on BEAST manually, I get this output and error message (in bold):

Loading package starbeast3 v1.2.1
Loading package CCD v1.0.3
Loading package SA v2.1.1
Loading package BEAST.base v2.7.8
Loading package BEASTLabs v2.0.3
Loading package BEAST.app v2.7.8
Loading package MM v1.2.1
Loading package ORC v1.2.1
Loading package MODEL_SELECTION v1.6.0
/Users/cg0566/Desktop/Brownstein and Griffin_2025_Early Burst of Skeletal Evolution/For SI/Fonseca_et_al_2024/Path_Sampling/step0/run.sh
java.lang.ClassNotFoundException: beastfx.app.beast.BeastMain
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at beast.pkgmgmt.BEASTClassLoader.forName(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)


Opening the run.sh and running it line-by-line into Terminal results in this same error message comes after this command:

java -cp "/Applications/BEAST 2.7.7/BEAST.app/Contents/Resources/Java/launcher.jar" beast.pkgmgmt.launcher.BeastLauncher -overwrite -java -seed 7840029810045659296 beast.xml

I am working with Java 17, and I have tried this with Model Selection 1.6.2 and 1.6.0, and I have uninstalled and reinstalled BEAST 2.7.7. 

Happy to share the XML file if need be, thanks for any help,

Chris 
Reply all
Reply to author
Forward
0 new messages