It's presumably a command that is buried in one of the files that gmake processes. Now I could go looking for that file.... but I assume that it is working for others and that therefore the fault lies elsewhere.
However, I will try to find it, change it and post back.
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The real information here is the line:
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
This means the Java run-time cannot find a class that is part of Xalan. Reasons might include:
1) Xalan has not been installed.
2) Xalan is not in the classpath.
3) The version of Xalan does not have that particular class.
I'm guessing 1 or 2. On my system, I ended up copying the xalan.jar (and lots of other jars too) into the lib/ext/ directory of my Java installation. Alternatively you can modify your environment variable CLASSPATH to include the path to Xalan.
HTH
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the problem relates to xalan no longer containing the full list of files detailed in this page:
<a href="http://xmlresume.sourceforge.net/user-guide/getting-started.setup.install.html">http://xmlresume.sourceforge.net/user-guide/getting-started.setup.install.html</a>.
The "2jars" version of xalan contains:
bsf.jar
xalan.jar
xalansamples.jar
xalanservlet.war
xercesImpl.jar
xml-apis.jar
xsltcapplet.jar
xsltcbrazil.jar
xsltcejb.jar
xsltc.jar
xsltcservlet.jar
so no runtime.jar, regexp.jar, Jlex.jar, etc. And the xalanservlet.jar is called xalanservlet.war in the version I downloaded tonight.
I think the documentation needs to be more explicit about which of the xalan tar gzips to download and to explain where to get the jar files that are no longer supplied with xalan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I run "gmake" I get the following error. Any clues what is wrong and how I fix this? Thanks!
[lee@localhost examples]$ gmake
java org.apache.xalan.xslt.Process -in resume.xml -xsl http://xmlresume.sourceforge.net/xsl/output/us-html.xsl -out resume.html
Warning: -in not understood. Ignoring.
Warning: -xsl not understood. Ignoring.
Warning: -out not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: ?? (??:0)
at 0x42015504: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)
gmake: *** [resume.html] Error 1
I think with Xalan, the -in, -out, and -xsl need to be all caps -- -IN, -OUT, -XSL.
Try that, and post back to let me know if it works.
Hi,
Thanks for that. The problem I have with that is that it's not me who is typing:
"java org.apache.xalan.xslt.Process -in resume.xml -xsl http://xmlresume.sourceforge.net/xsl/output/us-html.xsl -out resume.html"
It's presumably a command that is buried in one of the files that gmake processes. Now I could go looking for that file.... but I assume that it is working for others and that therefore the fault lies elsewhere.
However, I will try to find it, change it and post back.
Thanks for your help.
The real information here is the line:
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
This means the Java run-time cannot find a class that is part of Xalan. Reasons might include:
1) Xalan has not been installed.
2) Xalan is not in the classpath.
3) The version of Xalan does not have that particular class.
I'm guessing 1 or 2. On my system, I ended up copying the xalan.jar (and lots of other jars too) into the lib/ext/ directory of my Java installation. Alternatively you can modify your environment variable CLASSPATH to include the path to Xalan.
HTH
I think the problem relates to xalan no longer containing the full list of files detailed in this page:
<a href="http://xmlresume.sourceforge.net/user-guide/getting-started.setup.install.html">http://xmlresume.sourceforge.net/user-guide/getting-started.setup.install.html</a>.
The "2jars" version of xalan contains:
bsf.jar
xalan.jar
xalansamples.jar
xalanservlet.war
xercesImpl.jar
xml-apis.jar
xsltcapplet.jar
xsltcbrazil.jar
xsltcejb.jar
xsltc.jar
xsltcservlet.jar
so no runtime.jar, regexp.jar, Jlex.jar, etc. And the xalanservlet.jar is called xalanservlet.war in the version I downloaded tonight.
I think the documentation needs to be more explicit about which of the xalan tar gzips to download and to explain where to get the jar files that are no longer supplied with xalan.