Jar not loaded warning/error in Google Web Toolkit (GWT) deployment to tomcat

[Solved] org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(<$webAppsFolder$>\WEB-INF\lib\gwt-user.jar) - jar not loaded.

When a Google Web Toolkit (GWT) web application is deployed to Tomcat web server, you may encounter a warning message as follows.
org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(<$webAppsFolder$>\WEB-INF\lib\gwt-user.jar) - jar not loaded.
See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

No need to worry too much about this warning message.
This raises just because WebappClassLoader has loaded the servlet.jar already.
The gwt-user.jar already contain the content of the servlet.jar file.

Solution

Even though this message can be ignored, this warning message can be avoided just by replacing the gwt-user.jar file with gwt-servlet.jar (which comes with Google Web Toolkit (GWT) download).

Following image shows the content of the gwt-user.jar, and the content of the servlet.jar is highlighted.


gwt-servlet.jar has been created by removing the content of the servlet.jar from the gwt-user.jar, so this change will not have any impact on your project.

COMMENTS

BLOGGER: 6
Loading...
Name

About,2,Adsense,3,Ant,1,Apache,3,Axis,3,Blogger,1,Books,1,CentOS,2,Chrome,2,CSS,2,Database,3,Earn Online,3,Eclipse,10,Facebook,1,Firefox,10,Gmail,4,GNU/Linux,9,Google,26,GWT,8,Hardware,2,IE,5,Interesting,15,Internet,14,Java,49,Javascript,7,JBoss,1,Jenkins,1,Log4j,2,Me,6,Microsoft,2,Miscellaneous,1,News,11,Opinion,10,OSGi,1,PHP,1,Productivity,3,Programming,36,Puzzle,3,Security,4,Software,41,Sports,9,Spring,2,Story,6,Subversion,3,TDD,4,Tech,2,Tips,1,Tomcat,6,Tutorial,13,Ubuntu,4,Web application,14,Web Design,2,Web services,3,Windows,10,Yahoo,1,Zip,2,
ltr
item
Digizol: Jar not loaded warning/error in Google Web Toolkit (GWT) deployment to tomcat
Jar not loaded warning/error in Google Web Toolkit (GWT) deployment to tomcat
[Solved] org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(<$webAppsFolder$>\WEB-INF\lib\gwt-user.jar) - jar not loaded.
https://2.bp.blogspot.com/-8CJzD3nGbZ0/WenMvqtOf5I/AAAAAAAACcA/tmqJSwJyOfMyMYsheUPOXi5xAqtE70iJgCLcBGAs/s1600/Jar%2Bnot%2Bloaded%2Bwarning%2Berror%2Bin%2BGoogle%2BWeb%2BToolkit%2BGWT%2Bdeployment%2Bto%2Btomcat%2Bwww.digizol.com.png.png
https://2.bp.blogspot.com/-8CJzD3nGbZ0/WenMvqtOf5I/AAAAAAAACcA/tmqJSwJyOfMyMYsheUPOXi5xAqtE70iJgCLcBGAs/s72-c/Jar%2Bnot%2Bloaded%2Bwarning%2Berror%2Bin%2BGoogle%2BWeb%2BToolkit%2BGWT%2Bdeployment%2Bto%2Btomcat%2Bwww.digizol.com.png.png
Digizol
http://www.digizol.com/2007/07/jar-not-loaded-servletclass-gwt-tomcat.html
http://www.digizol.com/
http://www.digizol.com/
http://www.digizol.com/2007/07/jar-not-loaded-servletclass-gwt-tomcat.html
true
7440473
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy