I opened the attached schema with XXE V2.10 on Linux, Mac and Windows
and didn't manage to reproduce the NoClassDefFoundError exception.

This is not surprising because interface
com/xmlmind/xmledit/styledview/StyleHook *is* defined (in xxe.jar).

Try open a DocBook or XHTML document for example (both document types
use style hooks). You'll find samples in the demo/ directory.

I have no clue about what happened on your machine. May be you need to
reinstall Java and/or XXE.



Alex Milowski wrote:
> I got the following error when I tried to open the attached schema:
> 
> apple.awt.EventQueueExceptionHandler Caught Throwable : 
> java.lang.NoClassDefFoundError:  com/xmlmind/xmledit/styledview/StyleHook
> java.lang.NoClassDefFoundError: com/xmlmind/xmledit/styledview/StyleHook
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:141)
>     at 
> com.xmlmind.xmledit.styledview.StyledViewFactory.initExtension(StyledVie
> wFactory.java:176)
>     at 
> com.xmlmind.xmledit.styledview.StyledViewFactory.setStyleSheet(StyledVie
> wFactory.java:163)
>     at com.xmlmind.xmleditapp.app.Editor.setStyleSheet(Editor.java:420)
>     at 
> com.xmlmind.xmleditapp.app.Editor.configureDocumentView(Editor.java: 229)
>     at com.xmlmind.xmleditapp.app.Editor.<init>(Editor.java:109)
>     at com.xmlmind.xmleditapp.app.OpenAction.doExec(OpenAction.java:74)
>     at com.xmlmind.xmleditapp.app.OpenAction.exec(OpenAction.java:59)
>     at 
> com.xmlmind.xmleditapp.app.LengthyAction$1.actionPerformed(LengthyAction
> .java:31)
>     at javax.swing.Timer.fireActionPerformed(Timer.java:271)
>     at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
> d.java:234)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
> java:184)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Reply via email to