cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Tyler <r...@ticketweb.com>
Subject xsp attempt failure
Date Wed, 02 Feb 2000 23:06:27 GMT
WHEN I TRY THE FOLLOWING (LIFTED DIRECTLY FROM XSP INTRO DOCOMENT ON
XML.APAHCE.ORG):

---- BEGIN XML/XSP SAMPLE ----

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="sample.xsl" type="text/xsl"?>

<xsp:page language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core">
  <page title="Time of Day">
  
    <xsp:logic>
      // Define a variable to hold the time of day
      Date now = new Date();
    </xsp:logic>
  
    <p>
      To the best of my knowledge, it's now
      <!-- Substitute time of day here -->
      <xsp:expr>now</xsp:expr>
    </p>
  </page>
</xsp:page>

---- BEGIN XML/XSP SAMPLE ----

I GET:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
	at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
	at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:479)


WHAT AM I DOING WRONG?

I AM USING: COCOON 1.6, XALAN 0.19.2, XERCES 1.0.1, JDK 1.2.2, APACHE
1.3.9, JSERV 11b3

Thanks,

- RT

Mime
View raw message