User c226609425
22-08-2005 13:31:28
Pbm : java.lang.Exception: java.lang.NoSuchMethodError
chemaxon.marvin.skecth.swing.SketchPanel.getEditor()
Lchemaxon/marvin/skecth/j;
Hello,
I had an application with JChem and MSkecth which functioned well.
But since I carried out modifications on the server, an error appeared with MSkecth.
To see whether that came from the pages JSP which I also recently modified or not,
I reinstalled quickly the example provides with JChem and I have the same error.
So that must come from my configuration, but where ?
The configuration of the server is below :
Download --> The latest version of JChem
I/Environnment
Windows XP Pro SP2
CLASSPATH --> C:\Program Files\MySQL-Connector-Java\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7-bin.jar;%JAVA_HOME%\lib\tools.jar;C:\Program Files\Java\j2sdk1.4.2_08\bin;C:\Program Files\Java\javamail1.3.2\javamail-1.3.2\mail.jar;C:\Program Files\Java\jaf\jaf-1.0.2\activation.jar;%JCHEMHOME%\lib\jchem.jar;
or
CLASSPATH --> C:\Program Files\MySQL-Connector-Java\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7-bin.jar;%JAVA_HOME%\lib\tools.jar;C:\Program Files\Java\j2sdk1.4.2_08\bin;C:\Program Files\Java\javamail1.3.2\javamail-1.3.2\mail.jar;C:\Program Files\Java\jaf\jaf-1.0.2\activation.jar;
PATH --> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\MySQL\MySQL Server 4.1\bin;C:\Program Files\WinSCP3\;%JAVA_HOME%\bin;C:\Program Files\Vim\vim63\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Bioinformatics\corina;%UMR7081%
JCHEMHOME --> C:\TEMP\jchem
TOMCAT_HOME --> C:\Program Files\Apache Software Foundation\Tomcat 5.0
II/Version java
java -version --> 1.5.0_02
III/Files in <TOMCAT_HOME>
1/In /shared/lib
batik-core.jar jchem.jar chart.jar dom4j.jar
2/In /conf/server.xml
<Context path="/jchem" docBase="C:\TEMP\jchem" reloadable="true" >
NB : Please excuse me for the orthography faults.
chemaxon.marvin.skecth.swing.SketchPanel.getEditor()
Lchemaxon/marvin/skecth/j;
Hello,
I had an application with JChem and MSkecth which functioned well.
But since I carried out modifications on the server, an error appeared with MSkecth.
To see whether that came from the pages JSP which I also recently modified or not,
I reinstalled quickly the example provides with JChem and I have the same error.
So that must come from my configuration, but where ?
The configuration of the server is below :
Download --> The latest version of JChem
I/Environnment
Windows XP Pro SP2
CLASSPATH --> C:\Program Files\MySQL-Connector-Java\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7-bin.jar;%JAVA_HOME%\lib\tools.jar;C:\Program Files\Java\j2sdk1.4.2_08\bin;C:\Program Files\Java\javamail1.3.2\javamail-1.3.2\mail.jar;C:\Program Files\Java\jaf\jaf-1.0.2\activation.jar;%JCHEMHOME%\lib\jchem.jar;
or
CLASSPATH --> C:\Program Files\MySQL-Connector-Java\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7\mysql-connector-java-3.1.7-bin.jar;%JAVA_HOME%\lib\tools.jar;C:\Program Files\Java\j2sdk1.4.2_08\bin;C:\Program Files\Java\javamail1.3.2\javamail-1.3.2\mail.jar;C:\Program Files\Java\jaf\jaf-1.0.2\activation.jar;
PATH --> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\MySQL\MySQL Server 4.1\bin;C:\Program Files\WinSCP3\;%JAVA_HOME%\bin;C:\Program Files\Vim\vim63\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Bioinformatics\corina;%UMR7081%
JCHEMHOME --> C:\TEMP\jchem
TOMCAT_HOME --> C:\Program Files\Apache Software Foundation\Tomcat 5.0
II/Version java
java -version --> 1.5.0_02
III/Files in <TOMCAT_HOME>
1/In /shared/lib
batik-core.jar jchem.jar chart.jar dom4j.jar
2/In /conf/server.xml
<Context path="/jchem" docBase="C:\TEMP\jchem" reloadable="true" >
NB : Please excuse me for the orthography faults.