Re: [Simple-support] Transform of class not supported
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-01-27 08:20:40
|
The class org.alt.knowledgebase.DataBase has no annotations on it. So it needs an implementation of Transform or an @Root annotation. --- On Wed, 26/1/11, Rafael Angarita <ang...@gm...> wrote: From: Rafael Angarita <ang...@gm...> Subject: [Simple-support] Transform of class not supported To: sim...@li... Received: Wednesday, 26 January, 2011, 5:48 AM Hello everybody, I have been using Simple Framework for some time now and I think is greate and very easy to use. I'm working with simple inside a Eclipse plug-in project. However, I had to move the serializable classes to a different plug-in project due to some requirements. The serializable classes are the same, but I get this exception: org.simpleframework.xml.transform.TransformException: Transform of class org.alt.knowledgebase.DataBase not supported at org.simpleframework.xml.transform.Transformer.write(Transformer.java:122) at org.simpleframework.xml.core.Support.write(Support.java:200) at org.simpleframework.xml.core.PrimitiveFactory.getText(PrimitiveFactory.java:112) at org.simpleframework.xml.core.Primitive.write(Primitive.java:282) at org.simpleframework.xml.core.Composite.write(Composite.java:927) at org.simpleframework.xml.core.Traverser.write(Traverser.java:236) at org.simpleframework.xml.core.Traverser.write(Traverser.java:208) at org.simpleframework.xml.core.Traverser.write(Traverser.java:186) at org.simpleframework.xml.core.Persister.write(Persister.java:1187) at org.simpleframework.xml.core.Persister.write(Persister.java:1169) at org.simpleframework.xml.core.Persister.write(Persister.java:1147) at org.simpleframework.xml.core.Persister.write(Persister.java:1266) at org.simpleframework.xml.core.Persister.write(Persister.java:1248) at org.simpleframework.xml.core.Persister.write(Persister.java:1229) at org.alt.codegen.unifier.Unifier.generateDB(Unifier.java:120) at org.alt.plugin.popup.actions.ActionbuttonGenerateDB.run(ActionbuttonGenerateDB.java:34) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) I know maybe this problem goes beyond the scope of this list, but I have no idea of what is wrong. Thank you very much for your help. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |