Thanks for the reply. First, this problem did not happen in GWT 1.53. It only happens on OOPHM branch. I believe the WAR includes jar correctly. Attached is my web.xml. The lib folder I means is the subfolder of installed Tomcat directory.
On Thu, Dec 4, 2008 at 5:45 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > This is an issue of your web.xml or war not including the jar > correctly (or at all). By dumping it into the lib folder (which one?) > it will automatically be on the class path already. > > Posting your web.xml could allow people to help discern why it's not > including the jar. > > On Dec 3, 4:42 am, Kevin Tarn <[EMAIL PROTECTED]> wrote: > > I used NetBeans for my GWT project. Recently I tried to build OOPHM > > for using Firefox as my hosted browser. If I put gwt-user.jar into my > > WAR package, this ClassNotFoundException occurred. I tried to remove > > gwt-user.jar from WAR package, and put it into tomcat's lib folder. > > This exception doesn't happen. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <servlet> <servlet-name>XimLib</servlet-name> <servlet-class>com.xcome.server.XimLibImpl</servlet-class> </servlet> <servlet> <servlet-name>SQLDB</servlet-name> <servlet-class>com.xcome.server.SQLDBImpl</servlet-class> </servlet> <servlet> <servlet-name>GetIcon</servlet-name> <servlet-class>com.xcome.server.GetIcon</servlet-class> </servlet> <servlet> <servlet-name>UploadIcon</servlet-name> <servlet-class>com.xcome.server.UploadIcon</servlet-class> </servlet> <servlet-mapping> <servlet-name>XimLib</servlet-name> <url-pattern>/com.xcome.xim/XimLib</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>SQLDB</servlet-name> <url-pattern>/com.xcome.xim/SQLDB</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>GetIcon</servlet-name> <url-pattern>/com.xcome.xim/GetIcon.jpg</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>UploadIcon</servlet-name> <url-pattern>/com.xcome.xim/UploadIcon</url-pattern> </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> <welcome-file>xim.html</welcome-file> </welcome-file-list> </web-app>
<?xml version="1.0" encoding="UTF-8"?> <module> <inherits name="com.google.gwt.user.User"/> <inherits name="com.google.gwt.i18n.I18N"/> <inherits name='com.google.gwt.widgetideas.WidgetIdeas'/> <entry-point class="com.xcome.client.xim"/> <set-property name="user.agent" value="gecko"/> <set-property name="locale" value="default" /> <!-- Do not define servlets here, use web.xml --> <script src="/EeeIM/javascripts/prototype.js"/> <script src="/EeeIM/javascripts/scriptaculous.js"/> </module>