tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PATTUS, Jean-Philippe" <jppat...@sogitec.fr>
Subject RE: Error instantiating servlet class
Date Mon, 12 Feb 2007 09:20:11 GMT
it seems this class javax/xml/rpc/ServiceException
is not in the classpath.


-----Message d'origine-----
De : mzelenkovska@bluewin.ch [mailto:mzelenkovska@bluewin.ch]
Envoyé : lundi 12 février 2007 09:39
À : users@tomcat.apache.org
Objet : Error instantiating servlet class



users@tomcat.apache.org

Hi,

I have the following file structure:

1.	C:\tomcat\webapps\StandardCategoryModule\start.jsp
2.	C:\tomcat\webapps\StandardCategoryModule\WEB-INF\web.xml
3.	C:\tomcat\webapps\StandardCategoryModule\WEB-
INF\classes\servlet\CallService

Start.jsp should invoke the CallService servlet , but I am getting 
the error below.

type Exception report
message 
description The server encountered an internal error () that 
prevented it from fulfilling this request.
exception 
javax.servlet.ServletException: Error instantiating servlet class 
servlet.CallService
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
java:148)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.
java:869)
	org.apache.coyote.http11.
Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
	java.lang.Thread.run(Thread.java:595)
root cause 
java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException
	java.lang.Class.getDeclaredConstructors0(Native Method)
	java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
	java.lang.Class.getConstructor0(Class.java:2671)
	java.lang.Class.newInstance0(Class.java:321)
	java.lang.Class.newInstance(Class.java:303)
	org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
java:148)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.
java:869)
	org.apache.coyote.http11.
Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
	java.lang.Thread.run(Thread.java:595)



My  web.xml file contains the following information:


<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.
com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-
app_2_4.xsd">
	<display-name>
	StandardCategoryModule</display-name>
	<servlet>
		<description>
		</description>
		<display-name>
		CallService</display-name>
		<servlet-name>CallService</servlet-name>
		<servlet-class>
		servlet.CallService</servlet-class>
	</servlet>
	
	<servlet-mapping>
		<servlet-name>CallService</servlet-name>
		<url-pattern>/CallService</url-pattern>
	</servlet-mapping>
	
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>default.html</welcome-file>
		<welcome-file>default.htm</welcome-file>
		<welcome-file>default.jsp</welcome-file>
		<welcome-file>start.jsp</welcome-file>
	</welcome-file-list>

</web-app>

I would appreciate any help on this.

Thanks

Regards,
Magdalena




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


******************************************************************
Ce message et ses pices jointes sont confidentiels et tablis a l'intention exclusive de
ses destinataires.
Tout message lectronique est susceptible d'altration. SOGITEC dcline toute responsabilit
au titre de ce message s'il a t altr, dform ou falsifi.
Si vous n'tes pas destinataire de ce message, merci de le dtruire immdiatement.
******************************************************************


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message