hi..I has a problem when I use gwt rpc in tomcat x.

8 views
Skip to first unread message

arpe...@gmail.com

unread,
Mar 29, 2008, 10:22:50 PM3/29/08
to Google Web Toolkit
hello.everyone.

I have a proble when I use gwt rpc at tomcat x.

I use eclipse for designed for this program.if I run in google web
kit's browse and ie can right runner.
but if I package with .war to the tomcat. and after set it for
webapps,I run tomcat X.

found a error message.

"validatejarfile:path\gwt-user.jar>-jar no loaded.see servlet spection
9.7.2 offending classes javax/servlet/servlet.class

中文:各位好.
我在部署用 GWT RPC开发的程序到TOMCAT X的时候碰到一个问题.

我的程序使用ECLIPSE开发.我使用GOOGLE自带的浏览器运行的时候能正确执行.但当我正确打完.WAR包后,将它放到TOMCAT
WEBAPPS里执行.发现TOMCAT 启动时出错.

有如下信息.\
"validatejarfile:path\gwt-user.jar>-jar no loaded.see servlet spection
9.7.2 offending classes javax/servlet/servlet.class

网页可以打开.但RPC的无法执行任务了..

Manu

unread,
Mar 30, 2008, 3:24:14 PM3/30/08
to Google Web Toolkit
Hi this issue was discussed several times here.

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a403ebd45c94c77e/ee0495ab56e77c6c?lnk=gst&q=javax+tomcat#ee0495ab56e77c6c

it looks like you have the same problem. Tomcat can not work with the
javax packages in the gwt-user.jar.
So you have to delete this packages from the jar.

1. Extract the jar file -> jar xf jar-file
2. Delete the javax package
3. Make new jar -> jar cf jar-file input-file(s)
4. Copy this file in the lib folder and delete the gwt-user.jar

regards manu

Isaac Truett

unread,
Mar 30, 2008, 9:47:01 PM3/30/08
to Google-We...@googlegroups.com
Don't deploy gwt-user.jar. Deploy gwt-servlet.jar.

arpe...@gmail.com

unread,
Apr 1, 2008, 8:14:56 PM4/1/08
to Google Web Toolkit
ok...thank you.
好了。谢谢各位。

On Mar 31, 3:24 am, Manu <manu...@gmail.com> wrote:
> Hi this issue was discussed several times here.
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages