Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent Help Exception on startup of tomcat of Beanserialiser Factory  RSS feed

 
tushar joshi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
i have created one web service and written one wsdd file to deploy it.
web service deployed successfully in AXIS.
while accesssing also it will call correct web service by serialising/deserialising beans.

but when i start tomcat it will gives me error like
Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.BeanSerializerFact
ory.create(java.lang.Class, javax.xml.namespace.QName)
at java.lang.Class.getMethod0(Class.java:1756)
at java.lang.Class.getMethod(Class.java:963)
at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(Base
SerializerFactory.java:234)

DEBUG -- Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.BeanDeserializerFa
ctory.create(java.lang.Class, javax.xml.namespace.QName)
at java.lang.Class.getMethod0(Class.java:1756)
at java.lang.Class.getMethod(Class.java:963)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(Ba
seDeserializerFactory.java:203)
at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDSer
vice.java:536)

etc.

So what to do to solve this solution.
Web Service has no other problems,i have used SOAP Client in both Java and
.Net

Please help me urgently

Bye
Tushar
 
William Barnes
Ranch Hand
Posts: 1049
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a tomcat config issue, not a web service question. Are you able to run tomcat successfully without doing your web service example?
 
tushar joshi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes,i also seems like this.
when i have only added axis servlet configuration from axis's web.xml file
to my project's web.xml.
Even though i have not deployed any service, it gives me same exception.

i have followed same instructions as per specified in advanced installation
of axis.so i am not getting this problem.
can u please help me out.
as i don't have idea about it.

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!