User 870ab5b546
17-06-2010 03:08:53
I just upgraded to JChem 5.3.4, and I'm getting a new exception.
Jun 16, 2010 10:51:56 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: java.lang.NoClassDefFoundError: Could not initialize class chemaxon.marvin.io.formats.smiles.SmilesImport
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at chemaxon.formats.MFileFormat.createImportModule(Unknown Source)
at chemaxon.marvin.io.MRecordImporter.createImportMod(Unknown Source)
at chemaxon.marvin.io.MRecordImporter.createImportMod(Unknown Source)
at chemaxon.marvin.io.MRecordImporter.<init>(Unknown Source)
at chemaxon.formats.MolImporter.init(Unknown Source)
at chemaxon.formats.MolImporter.<init>(Unknown Source)
at chemaxon.util.ConfigUtils.getMolImporter(Unknown Source)
at chemaxon.util.ConfigUtils.getMolecule(Unknown Source)
at chemaxon.util.ConfigUtils.getQueryMolecule(Unknown Source)
at chemaxon.reaction.ReactorConfiguration.getReactionMolecule(ReactorConfiguration.java:502)
at chemaxon.reaction.ReactorConfiguration.getReaction(ReactorConfiguration.java:689)
at chemaxon.reaction.ReactorConfiguration.getReaction(ReactorConfiguration.java:665)
at chemaxon.reaction.StandardizerConfiguration.read(StandardizerConfiguration.java:163)
at chemaxon.reaction.StandardizerConfiguration.readXML(StandardizerConfiguration.java:112)
at chemaxon.reaction.StandardizerConfiguration.read(StandardizerConfiguration.java:63)
at chemaxon.reaction.StandardizerConfiguration.read(StandardizerConfiguration.java:81)
at chemaxon.reaction.Standardizer.<init>(Standardizer.java:340)
at com.prenhall.epoch.servlets.GroupLoader.loadAppConfig(GroupLoader.java:110)
The relevant Java code is:
AppConfig.standardizer =
new Standardizer(new File(normalizeConfigFile));
The contents of normalizeConfigFile are:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Standardizer configuration file -->
<StandardizerConfiguration Version ="0.1">
<Actions>
<Transformation ID="S_or_Se_ylide_double"
Structure="[#16,#34;++:1]-[#34,#16,#8,#7,#6;-:2]>>[#16,#34;+:1]=[#34,#16,#8,#7,#6:2]"/>
<Transformation ID="S_or_Se_ylide_double"
Structure="[#16,#34;+:1]-[#34,#16,#8,#7,#6;-:2]>>[#16,#34;0:1]=[#34,#16,#8,#7,#6:2]"/>
<Transformation ID="S_or_Se_ylide_triple"
Structure="[#16,#34;++:1]=[#34,#16,#8,#7,#6;-:2]>>[#16,#34;+:1]#[#34,#16,#8,#7,#6:2]"/>
<Transformation ID="S_or_Se_ylide_triple"
Structure="[#16,#34;+:1]=[#34,#16,#8,#7,#6;-:2]>>[#16,#34;0:1]#[#34,#16,#8,#7,#6:2]"/>
<Transformation ID="N_or_P_or_As_ylide_double"
Structure="[#7,#15,#33;+:1]-[#34,#16,#8,#7,#6;-:2]>>[#7,#15,#33;0:1]=[#34,#16,#8,#7,#6:2]"/>
<Transformation ID="N_or_P_or_As_ylide_triple"
Structure="[#7,#15,#33;+:1]=[#34,#16,#8,#7,#6;-:2]>>[#7,#15,#33;0:1]#[#34,#16,#8,#7,#6:2]"/>
</Actions>
</StandardizerConfiguration>
The code and the configuration file have worked fine in previous versions of JChem, including 5.3.3.