You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Dirschnabel. Stefan" <s....@seeburger.de> on 2007/04/20 15:53:05 UTC

Sometimes ClassNotFoundException [SOLVED]

Ok, I found the mistake at last. Problems were wrong servlet mappings (to not existing pre compiled jsp's) in the web.xml because of a mistake in the build script. Big thx for all help

Stefan


-----Ursprüngliche Nachricht-----
Von: David Smith [mailto:dns4@cornell.edu] 

No .... it would be very reproduceable if the jsp isn't compiling for 
some reason.  I've seen this error when importing jsps that don't 
compile/aren't found using the <c:import url="/InventoryStatus.jsp" /> 
tag.  Can you verify that InventoryStatus.jsp is in the webapp or 
optionally if using precompiled jsps that the Inventory_jsp.class is 
available in the webapp?

--David

Dirschnabel. Stefan wrote:

>Hm ... I deleted the logfiles and reproduced the error multiple times, but the exception I showed you is the first I get. Furthermore, if it would be a compile failure the error messages would appear randomly, wouldn't they? But always exactly the same .jsp's can be found/ not found.
>
>Stefan Dirschnabel
>
>
>-----Ursprüngliche Nachricht-----
>Von: David Smith [mailto:dns4@cornell.edu] 
>
>I've seen this before... typically because the jsp (InventoryStatus.jsp
>in your case) failed to compile.  Look further up the logs for the first
>error message in the request process.
>
>--David
>
>Dirschnabel. Stefan wrote:
>  
>
>>Hi,
>>
>>I have to integrate a web application in Tomcat. I am not working that long with Tomcat so it could be a very trivial problem...
>>The whole application seems almost to work (you can log in the application etc) but accessing some jsp's I get ClassNotFoundExceptions like the following. It's strange, some pages work, some do not.
>>
>> 
>>Part of the logfile:
>>20.04.2007 09:16:22 org.apache.catalina.core.ApplicationContext log
>>SCHWERWIEGEND: Error loading WebappClassLoader
>>  delegate: false
>>  repositories:
>>    /WEB-INF/classes/
>>----------> Parent Classloader:
>>org.apache.catalina.loader.StandardClassLoader@b6ece5
>> com.seeburger.rfid.web.jsps.app_AutoID.jsp.InventoryStatus_jsp
>>java.lang.ClassNotFoundException: com.seeburger.rfid.web.jsps.app_AutoID.jsp.InventoryStatus_jsp
>>	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
>>....
>>20.04.2007 09:16:22 org.apache.catalina.core.StandardWrapperValve invoke
>>SCHWERWIEGEND: Allocate exception for servlet com.seeburger.rfid.web.jsps.app_AutoID.jsp.InventoryStatus_jsp
>>java.lang.ClassNotFoundException: com.seeburger.rfid.web.jsps.app_AutoID.jsp.InventoryStatus_jsp
>>	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
>>....
>>
>>Mit freundlichen Grüßen / Best Regards
>>Stefan Dirschnabel
>>
>>
>>SEEBURGER AG 
>>Headquarters:
>>Edisonstraße 1 
>>D-75015 Bretten 
>>Tel.: 0 72 52/96-0 
>>Fax: 0 72 52/96-2222 
>>Internet: http://www.seeburger.de 
>>e-mail: info@seeburger.de 
>>
>>Vorstand:
>>Bernd Seeburger, Axel Haas, Michael Kleeberg
>>
>>Vorsitzender des Aufsichtsrats:
>>Dr. Franz Scherer
>>
>>Handelsregister:
>>HRB 240708 Mannheim
>>  
>>    
>>
>
>
>---------------------------------------------------------------------
>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
>
>
>
>SEEBURGER AG 
>Headquarters:
>Edisonstraße 1 
>D-75015 Bretten 
>Tel.: 0 72 52/96-0 
>Fax: 0 72 52/96-2222 
>Internet: http://www.seeburger.de 
>e-mail: info@seeburger.de 
>
>Vorstand:
>Bernd Seeburger, Axel Haas, Michael Kleeberg
>
>Vorsitzender des Aufsichtsrats:
>Dr. Franz Scherer
>
>Handelsregister:
>HRB 240708 Mannheim
>  
>


---------------------------------------------------------------------
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



SEEBURGER AG 
Headquarters:
Edisonstraße 1 
D-75015 Bretten 
Tel.: 0 72 52/96-0 
Fax: 0 72 52/96-2222 
Internet: http://www.seeburger.de 
e-mail: info@seeburger.de 

Vorstand:
Bernd Seeburger, Axel Haas, Michael Kleeberg

Vorsitzender des Aufsichtsrats:
Dr. Franz Scherer

Handelsregister:
HRB 240708 Mannheim