Resin startup error expert !!! -- Linux general technology-Linux technology and application information. For details, refer to the following section. When resin is run for the first time, the following error occurs when resin-pro-3.1.0/is started,
#/Usr/local/resin/bin/httpd. sh start error message:
Java. lang. classNotFoundException: java. lang. enum not found in gnu. gcj. runtime. systemClassLoader {urls = [file :. /.. /lib/resin. jar], parent = gnu. gcj. runtime. extensionClassLoader {urls = [], parent = null }}
At java.net. URLClassLoader. findClass (libgcj. so.7)
At java. lang. ClassLoader. loadClass (libgcj. so.7)
At java. lang. ClassLoader. loadClass (libgcj. so.7)
At java. lang. VMClassLoader. defineClass (libgcj. so.7)
At java. lang. ClassLoader. defineClass (libgcj. so.7)
At java. security. SecureClassLoader. defineClass (libgcj. so.7)
At java.net. URLClassLoader. findClass (libgcj. so.7)
My environment is roughly like this:
JAVA_HOME =/usr/local/jdk
RESIN_HOME =/usr/local/resin
CLASSPATH = $ JAVA_HOME/lib: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar: $ JAVA_HOME/lib/htmlconverter. jar: $ RESIN_HOME/lib:/usr/local/jdk/jdbc/mysql-connector-java-3.1.14-bin.jar:/usr/local/jre:/usr/local/jdk/bin
PATH = $ PATH: $ JAVA_HOME/bin: $ RESIN_HOME
Jdk-6-linux-i586.bin has been installed, java command can also run!
I don't know much about JAVA. I don't know what errors may happen or what else is missing. You must have encountered this problem frequently .!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service