seems to be that no one else has that problem with a servlet-api.jar too
much at svnkit.

Josef

 

Von: svnkit-users-boun...@svnkit.com
[mailto:svnkit-users-boun...@svnkit.com] Im Auftrag von Stadelmann Josef
Gesendet: Dienstag, 29. Januar 2013 10:40
An: SVNKit Library Users List
Betreff: AW: jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class

 

.... and the tomcat forum is full of that feature .... anomaly ....
problem .... how do we call it ?!

 

and I ask myself the following:

given you need a later version of servlet-api than 2.5 let's say 3.0-b11
or whatever available or demanded by a maven project.

How do we go on with the fact that tomcat will generate lots of
exceptions if we provide this servlet-api-3.0-b11 i.e. which

might be compiled on a JDK other than tomcat was compiled with. And it
might happen that this servlet-api-3.0-11u has

more methods or has one less (which is worse) has two classes more or
less than what tomcat uses? 

 

How do we chop correct with this issue.

 

I am asking this because googling for his issue made me aware that the
world has a real problem on that issue. SVNKit no exception.

 

Josef

 

 

Von: svnkit-users-boun...@svnkit.com
[mailto:svnkit-users-boun...@svnkit.com] Im Auftrag von Stadelmann Josef
Gesendet: Montag, 28. Januar 2013 18:24
An: SVNKit Library Users List
Betreff: jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class

 

INFO: Deploying web application archive
svnkit-dav-1.7.9-20130124.143511-1.war

28.01.2013 18:19:35 org.apache.catalina.loader.WebappClassLoader
validateJarFile

INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Apache
Tomcat
6.0.26\webapps\svnkit-dav-1.7.9-20130124.143511-1\WEB-INF\lib\servlet-ap
i-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class

 

How shall we go about this failur ?

Just downloaded the relevant ZIP from
http://maven.tmatesoft.com/content/repositories/snapshots/org/tmatesoft/
svnkit/svnkit-dav/1.7.9-SNAPSHOT/
<http://maven.tmatesoft.com/content/repositories/snapshots/org/tmatesoft
/svnkit/svnkit-dav/1.7.9-SNAPSHOT/> 

renamed it from ZIP to WAR, copied it to my Tomcat webapps directory and
launched tomcat.

Is Glasfish doing differently or do all and everybody have to adhere to
this Servlet SPECS 2.3 section 9.6.2 !

I have it at home and at work, on Vista and Windows 7.0

Josef

Reply via email to