other jars for GWT Studio

I'm using GWT Studio plugin, and i want to use xml-rpc for instance.
Q: where i supose to put the xml-rpc's jar to be seen by gwt when i test the application. to avoid:

java.lang.NoClassDefFoundError: org/apache/xmlrpc/XmlRpcException
at search.server.SearchServiceImpl.]]>(SearchServiceImpl.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)


I tryed several places but no one worked for me.
Thanks

5 comments
Comment actions Permalink

Do you want to use this jar on client or server?

Ion Badita wrote:

I'm using GWT Studio plugin, and i want to use xml-rpc for instance.
Q: where i supose to put the xml-rpc's jar to be seen by gwt when i test the application. to avoid:

java.lang.NoClassDefFoundError: org/apache/xmlrpc/XmlRpcException
at search.server.SearchServiceImpl.<init>(SearchServiceImpl.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)


I tryed several places but no one worked for me.
Thanks

0
Comment actions Permalink

I had a similar problem. Here is my understanding of what happens and how to fix the problem.

GWT Studio allows you to easily define a new run/debug configuration through the new "GWT Configuration" item. All you have to do is specify the GWT module.

Unfortunately, this GWT configuration does not pick up the libraries configured for your module (at least, I haven't been able to figure out a way).

A workaround is to define your run/debug configuration from scratch, which allows you to ensure that the classpatch and JDK of the module is used.

If anyone working on the GWT studio plugin could chime in, I'd appreciate.

0
Comment actions Permalink

Right.
Will be fixed.

Pierre Delisle wrote:

I had a similar problem. Here is my understanding of what happens and how to fix the problem.

GWT Studio allows you to easily define a new run/debug configuration through the new "GWT Configuration" item. All you have to do is specify the GWT module.

Unfortunately, this GWT configuration does not pick up the libraries configured for your module (at least, I haven't been able to figure out a way).

A workaround is to define your run/debug configuration from scratch, which allows you to ensure that the classpatch and JDK of the module is used.

If anyone working on the GWT studio plugin could chime in, I'd appreciate.

0
Comment actions Permalink

Hello Pierre,

See http://www.jetbrains.net/jira/browse/IDEADEV-6672.

I had a similar problem. Here is my understanding of what happens and
how to fix the problem.

GWT Studio allows you to easily define a new run/debug configuration
through the new "GWT Configuration" item. All you have to do is
specify the GWT module.

Unfortunately, this GWT configuration does not pick up the libraries
configured for your module (at least, I haven't been able to figure
out a way).

A workaround is to define your run/debug configuration from scratch,
which allows you to ensure that the classpatch and JDK of the module
is used.

If anyone working on the GWT studio plugin could chime in, I'd
appreciate.



0
Comment actions Permalink

Jar for server.
at search.server.SearchServiceImpl.]]>(SearchServiceImpl.java:16)

0

Please sign in to leave a comment.