• Post Reply Bookmark Topic Watch Topic
  • New Topic

Missing default constructor returning bean from Axis.

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this error on returning my bean in Axis.

org.xml.sax.SAXException: Unable to create JavaBean of type com.project.axis.MyBean. Missing default constructor? Error was: java.lang.InstantiationException: com.project.axis.MyBean.

Sounds pretty obvious but the bean does have a default constructor:


So I'm thinking this is a bit of a Red Herring error!

KS
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!