java.lang.Exception: Class could not be found. Did you mean beast.evolution.likelihood.BeagleTreeLikelihood?

515 views
Skip to first unread message

harish epuri

unread,
Apr 4, 2015, 8:36:58 AM4/4/15
to beast...@googlegroups.com
Hi sir,

I am running Ancestral Reconstruction/Discrete Phylogeography with BEAST 2.0 in linux 64 node system after creating XML file with beauti later forwarded to BEAST in command line as shown bellow

eg: /home/BEAST/bin/beast -threads 64 -overwrite <input file path>

But BEAST showing error like this

java.lang.Exception: Class could not be found. Did you mean beast.evolution.likelihood.BeagleTreeLikelihood?
        at beast.util.XMLParser.createObject(Unknown Source)
        at beast.util.XMLParser.parseInputs(Unknown Source)
        at beast.util.XMLParser.createObject(Unknown Source)
        at beast.util.XMLParser.parseInputs(Unknown Source)
        at beast.util.XMLParser.createObject(Unknown Source)
        at beast.util.XMLParser.parseInputs(Unknown Source)
        at beast.util.XMLParser.createObject(Unknown Source)
        at beast.util.XMLParser.parseRunElement(Unknown Source)
        at beast.util.XMLParser.parse(Unknown Source)
        at beast.util.XMLParser.parseFile(Unknown Source)
        at beast.app.BeastMCMC.parseArgs(Unknown Source)
        at beast.app.beastapp.BeastMain.main(Unknown Source)
        at beast.app.beastapp.BeastLauncher.main(Unknown Source)

Error 122 parsing the xml input file

Cannot create class: AncestralStateTreeLikelihood. Class could not be found. Did you mean beast.evolution.likelihood.BeagleTreeLikelihood?

Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <distribution id='posterior' spec='util.CompoundDistribution'>
              <distribution id='likelihood' spec='util.CompoundDistribution'>
                  <distribution id='traitedtreeLikelihood.location' spec='AncestralStateTreeLikelihood'>

Can you please help to resolve this problem.

Thanks and Regards
Harish

Remco Bouckaert

unread,
Apr 6, 2015, 3:34:00 PM4/6/15
to beast...@googlegroups.com
Hi Harish,

Can you make sure that the BEAST_CLASSIC package is installed: In BEAUti, select the File/Manage packages menu, and a list of packages should be displayed, with version numbers to say which one is installed.

Cheers,

Remco


--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at http://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages