The error messages are all correct: There is no StyleSpecsBase and no ComponentFactory class in xxe.jar. The names of the classes are: com.xmlmind.xmledit.stylesheet.StyleSpecsBase, com.xmlmind.xmledit.styledview.ComponentFactory, etc.
I've tried to reproduce your problem by doing this: [1] cd samples/email [2] ant [3] cp -r email_config/ ~/.xxe4/addon/ [4] Start XMLmind XML Editor v4.2.1 [5] Use File|New to create a new email document. [6] Use File|Open to open samples/email/tests/in/sample.email And, as expected, everything works fine. See attached screenshot. I don't think your problem is related to the edition of XMLmind XML Editor or to your platform or to your Java runtime. In fact, I've never seen or heard about a problem like this: classes which compile OK, but loose their qualified names when they are actually used. Rich McAneny wrote: > I am having an issue running the email sample. I am getting the > exception below when trying to create a New ?Email Message from me to > you? template. > > > > Exception: > > style sheet > 'file:/C:/Documents%20and%20Settings/RMcAneny/Application%20Data/XML > > mind/XMLEditor4/addon/email_config/email.css': cannot load @extension > class StyleSheetExtension: StyleSpecsBase > > ---------------------------------------- > > java.lang.NoClassDefFoundError: StyleSpecsBase > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClass(Unknown Source) > > at java.security.SecureClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.access$000(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > etc? > > > > > > I successfully compile the sample and moved the email_config directory > into my ?user? addon directory as directed. It seems to load my jar, but > it looks like it cannot find the xxe.jar file (where the > ?StyleSpecsBase? class is defined.) > > > > Note: I am using the Evaluation Version, if this makes a difference. I > am running on Windows XP and ran the windows installer > (xxe-perso-4_2_1-setup-nojvm.exe). > > > > Here is my java info: > > java version "1.6.0_12" > > Java(TM) SE Runtime Environment (build 1.6.0_12-b04) > > Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing) > > > > > > I also get the following error when loading the sample.email that is > included > > > > Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: > Component > > Factory > > > > Looks like a similar issue. -------------- next part -------------- A non-text attachment was scrubbed... Name: email_config.png Type: image/png Size: 90663 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20090319/c042b6a4/attachment.png

