Announcement Announcement Module
Collapse
No announcement yet.
XSLT transformation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • XSLT transformation

    I intend to use XSLT-transformation as view technology in my web application, and worked through the example found in the reference documentation pp 140 - 143. The compilation went well, but when I tried to run the application I got following error:

    java.lang.NoClassDefFoundError
    org.apache.xml.serializer.ToStream.<init>(ToStream .java:152)
    org.apache.xml.serializer.ToXMLStream.<init>(ToXML Stream.java:95)
    sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Construc tor.java:415)
    java.lang.Class.newInstance0(Class.java:322)
    java.lang.Class.newInstance(Class.java:275)
    org.apache.xml.serializer.SerializerFactory.getSer ializer(SerializerFactory.java:130)
    org.apache.xalan.transformer.TransformerImpl.creat eSerializationHandler(TransformerImpl.java:1127)
    org.apache.xalan.transformer.TransformerImpl.creat eSerializationHandler(TransformerImpl.java:1011)
    org.apache.xalan.transformer.TransformerImpl.trans form(TransformerImpl.java:1217)
    org.apache.xalan.transformer.TransformerImpl.trans form(TransformerImpl.java:1200)
    org.springframework.web.servlet.view.xslt.Abstract XsltView.doTransform(AbstractXsltView.java:266)
    org.springframework.web.servlet.view.xslt.Abstract XsltView.renderMergedOutputModel(AbstractXsltView. java:210)
    org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:219)
    org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:630)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:523)
    org.springframework.web.servlet.FrameworkServlet.s erviceWrapper(FrameworkServlet.java:342)
    org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:318)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:743)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    I use Tomcat 5.0 and Java 1.5.0-beta-b32.
    Hope someone has an explanation and a solution. Thanks.
Working...
X