[GraphHopper] Build war file

Андрей Иванов dron0013 at mail.ru
Thu Jun 6 12:20:13 UTC 2013


 I make war file from this project. I add simple plugin to pom.xml file


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>/home/andrey/graphhopper-master/web/src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>



and run mvn war:war.  But when  I am trying to runwar project in tomcat it stoped with error  

INFO: Deploying web application archive D:\opt\tomcat\webapps\graphhopper-web-0.1-SNAPSHOT (2).war
 06, 2013 4:01:10 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\opt\tomcat\webapps\graphhopper-web-0.1-SNAPSHOT (2)\WEB-INF\lib\javax.servlet-api-3.0.1.jar) -
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class


I've tryed a lot of ways to create working war file but all of them was wrong. Maybe somebodyknows how to makeworking war file.    



 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130606/a0c1c3e8/attachment-0001.html>


More information about the GraphHopper mailing list