From: olliveira <hen...@gm...> - 2012-06-18 12:01:21
|
Did you solve this? Rajesh Khan wrote: > > I just started working with my actual XSDs. Which work something like > this > A.XSD references B.XSD which references C.XSD. > I managed to generate all the involved classes. Simply by using CodeGen -t > with only A.XSD . > > I also managed to compile all the classes using netbean. > > Now when i attempt to bind them I get the following error message any idea > on what i should look into (I search the web and all the questions which > involve this error remain unanswered) > > [rajesh@localhost rajeshSample]$ java -cp /home/rajesh/jibx/lib/jibx- > bind.jar:/home/rajesh/jibx/lib/jibx-extras.jar:./GenClasses > org.jibx.binding.Compile ./binding.xml > *Error: factory-method needed for abstract type > 'org.fpml.fpml5.confirmation.PaymentRule'; on structure element at (line > 228, col 121, in binding.xml) > Error running binding compiler > org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of > validation errors > at org.jibx.binding.Utility.loadBinding(Utility.java:358) > at org.jibx.binding.Utility.loadFileBinding(Utility.java:420) > at org.jibx.binding.Compile.compile(Compile.java:217) > at org.jibx.binding.Compile.main(Compile.java:384)* > > Any suggestions ?? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > jibx-users mailing list > jib...@li... > https://lists.sourceforge.net/lists/listinfo/jibx-users > > -- View this message in context: http://old.nabble.com/Meaning-of-%22factory-method-needed-for-abstract-type%22-tp33825236p34029409.html Sent from the jibx-users mailing list archive at Nabble.com. |