User ad9f2ddc4f
12-01-2005 16:23:14
I recently installed the JChem application on our webserver. I've
followed the directions as carefully as possible, however, I end up with
the following error. I am running Linux Red Hat 9.0 with Tomcat 5.0 and
Sun Jwsdp 1.5. I've placed all of the files from $JCHEM_HOME\lib into
the directory $TOMCAT_HOME\Shared\lib
batik-core.jar chart.jar dom4j.jar jchem.jar
And these files from the $JCHEM_HOME\marvin directory to the same place
marvin.jar js2java.jar jmarvin.jar
In addition, I've copied the class files from
$JCHEM_HOME\marvin\chemaxon into the directory
$TOMCAT_HOME\Shared\Classes.
I downloaded all of this from the website yesterday and today. Should
there be a DotfileUtil.class somewhere. I don't understand why the
application is not running.
Here is the error message
-------------------------------------------------------------------------------
org.apache.jasper.JasperException Unable to compile class for JSP
An error occurred at line 23 in the jsp file /examples/jsp1_x/setup.jsp
Generated servlet error
[javac] Compiling 1 source file
/usr/local/tomcat50-jwsdp/work/Catalina/localhost/jchem/org/apache/jsp/examples/jsp1_005fx/setup_jsp.java60 cannot resolve symbol
symbol variable DotfileUtil
location class org.apache.jsp.examples.jsp1_005fx.setup_jsp
String chemDir=DotfileUtil.getDotDir().getAbsolutePath();
^
1 error
--------------------------------------------------------------------------------
Have I places the class files in the correct location? Is there something else that may be wrong. This problem appears to be something specific to Jchem since other JSP pages are working correctly.
followed the directions as carefully as possible, however, I end up with
the following error. I am running Linux Red Hat 9.0 with Tomcat 5.0 and
Sun Jwsdp 1.5. I've placed all of the files from $JCHEM_HOME\lib into
the directory $TOMCAT_HOME\Shared\lib
batik-core.jar chart.jar dom4j.jar jchem.jar
And these files from the $JCHEM_HOME\marvin directory to the same place
marvin.jar js2java.jar jmarvin.jar
In addition, I've copied the class files from
$JCHEM_HOME\marvin\chemaxon into the directory
$TOMCAT_HOME\Shared\Classes.
I downloaded all of this from the website yesterday and today. Should
there be a DotfileUtil.class somewhere. I don't understand why the
application is not running.
Here is the error message
-------------------------------------------------------------------------------
org.apache.jasper.JasperException Unable to compile class for JSP
An error occurred at line 23 in the jsp file /examples/jsp1_x/setup.jsp
Generated servlet error
[javac] Compiling 1 source file
/usr/local/tomcat50-jwsdp/work/Catalina/localhost/jchem/org/apache/jsp/examples/jsp1_005fx/setup_jsp.java60 cannot resolve symbol
symbol variable DotfileUtil
location class org.apache.jsp.examples.jsp1_005fx.setup_jsp
String chemDir=DotfileUtil.getDotDir().getAbsolutePath();
^
1 error
--------------------------------------------------------------------------------
Have I places the class files in the correct location? Is there something else that may be wrong. This problem appears to be something specific to Jchem since other JSP pages are working correctly.