kamalasv / struts2gwtplugin

Automatically exported from code.google.com/p/struts2gwtplugin
Apache License 2.0
0 stars 0 forks source link

Trying to make your example from scratch with eclipse #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm very new in the Java World, not new developer, and there is a lot of
concepts that i'm trying to understand, but is quite dificult. I'm Spanish
and it seems to if nobody is working with your plugin(mean no google
results ), so if you can help me i will very grateful.
Sure that i have not configure my workspace well and the error is
...rpc.InvocationException: Cannot find resource 'Hello.action' in the
public path..., your example instead works fine(only a problem with the
tools.jar), but your Howtouse is very small for me.

What version of the product are you using? On what operating system?
struts2gwtplugin-0.2.1.jar on Win XP.

Thank you

Original issue reported on code.google.com by mail...@gmail.com on 20 Sep 2007 at 4:19

GoogleCodeExporter commented 9 years ago
I am having trouble too, with a brand new project built from scratch in 
eclipse. Can
you send/publish a file that is self contained, ie, only with java/ant 
dependencies?
Your example uses jetty, and altough I was able to run it, I am not 
familiarized with
jetty, so a plain old java proj with an ant script that outputs a WAR file 
would be
great.

Thanks

Original comment by miguel.p...@gmail.com on 8 Oct 2007 at 12:46

GoogleCodeExporter commented 9 years ago
I was able to get this on the server log, by switching to DEBUG in log4j 
properties:

29771 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager  -
 Checking ConfigurationProviders for reload.
29772 [http-8080-1] DEBUG com.opensymphony.xwork2.util.InstantiatingNullHandler
 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvid
er@6545d2], property=struts]
29772 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager  -
 Checking ConfigurationProviders for reload.
29773 [http-8080-1] DEBUG com.opensymphony.xwork2.DefaultActionProxy  - Creating
 an DefaultActionProxy for namespace / and action name hello
29774 [http-8080-1] DEBUG com.opensymphony.xwork2.DefaultActionInvocation  - No
result returned for action mping.sample.server.HelloAction at action - file:/C:/
Java/apache-tomcat-6.0.14/webapps/Test/WEB-INF/classes/struts.xml:11:81

As for the client side, the client only sees an "InvocationTargetException: the 
call
failed on the server..."

Original comment by miguel.p...@gmail.com on 8 Oct 2007 at 1:12

GoogleCodeExporter commented 9 years ago
somebody were able to use this plugin?

Original comment by coll...@laboiteaprog.com on 12 Mar 2008 at 9:17

GoogleCodeExporter commented 9 years ago
What exactly is the bug you all have encountered?  Do you have an existing web 
application that uses Struts 2 and are you trying to incorporate GWT into your 
existing Struts 2 project?   The instructions provided are detailed enough to 
explain how to add the Struts2GWTPlugin jar into your existing Struts2 
application 
and use it to receive and respond to Ajax requests made by the GWT client.

Original comment by greensu...@gmail.com on 10 Feb 2009 at 5:41