I have a a GWT application and I want to create a war file using hudson .So I have created a job and in the configuration I have checked the build option i.e invoke ant. so it uses the build.xml from my application and creates the war file . And my ant file i.e build.xml contains following targets:
1.Java compilation
2.GWT compilation
3.Create a war
4.Deploy it into tomcat with JDK 1.7.0
Application is compiling using jdk 1.6 and deploy it into the tomcat with jdk 1.7 but its not working. Is tomcat with JDK 1.7.0 is compatible with 1.6. ?? or is there another problem because some gwt-dev,gwt-user jars are still in war folder. In my tomcat logs following info is there:
INFO: Deploying web application archive /usr/local/tomcat_lh/webapps/Nightly.war
Dec 19, 2012 10:13:41 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/tomcat_lh/webapps/Nightly/WEB-INF/lib/gwt-dev.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 19, 2012 10:13:41 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/usr/local/tomcat_lh/webapps/Nightly/WEB-INF/lib/gwt-user.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 19, 2012 10:13:41 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(/usr/local/tomcat_lh/webapps/Nightly/WEB-INF/lib/javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Dec 19, 2012 10:13:41 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart