Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jibx2Wsdl Error : No way to handle type 'java.lang.Object'  RSS feed

 
ravi singasani
Greenhorn
Posts: 6
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to run Jibx2Wsdl target through my build.xml (Ant target). I have a class which has an attribute of type java.lang.Object. When i execute, i get below error. How can I handle this ?
Please help.



Error Log:
[java] Exception in thread "main" java.lang.IllegalStateException: No way to handle type 'java.lang.Object'
[java] at org.jibx.binding.generator.BindingGenerator.expandReferences(BindingGenerator.java:185)
[java] at org.jibx.binding.generator.BindingGenerator.expandReferences(BindingGenerator.java:188)
[java] at org.jibx.binding.generator.BindingGenerator.findReferences(BindingGenerator.java:938)
[java] at org.jibx.binding.generator.BindingGenerator.generateSpecified(BindingGenerator.java:1064)
[java] at org.jibx.ws.wsdl.Jibx2Wsdl.generate(Jibx2Wsdl.java:484)
[java] at org.jibx.ws.wsdl.Jibx2Wsdl.main(Jibx2Wsdl.java:584)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!