Re: Digest for google-web-toolkit@googlegroups.com - 1 update in 1 topic

2024-03-20 Thread Leon
It’s the package rename for the later servlet spec. Use tomcat 9 and you’ll
be fine.

On Wed, 20 Mar 2024 at 14:02,  wrote:

> google-web-toolkit@googlegroups.com
> 
>  Google
> Groups
> 
> 
> Topic digest
> View all topics
> 
>
>- Issue with tomcat version of GWT 2.11 for class javax.validation.Path
><#m_424459083527961_group_thread_0> - 1 Update
>
> Issue with tomcat version of GWT 2.11 for class javax.validation.Path
> 
> Priya : Mar 20 03:14PM +0530
>
> Hi Team,
>
> We are working on development environment with Tomcat 10 where third party
> jar *jakarta.validation-api.jar *has been updated to tomcat specific
> version where package structure is changed from javax.validation to
> jakarta.validation.
>
> When GWT 2.11 with tomcat specific jars(Gwt-servlet and
> requestfactory-server.jar) are deployed, it is trying to find
> javax.validation.Path with below stack trace-
>
> Exception while dispatching incoming RPC call
> java.lang.NoClassDefFoundError: javax/validation/Path
> java.base/java.lang.Class.forName(Class.java:467)
> at
>
> com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:217)
> at
>
> com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet.loadSerializationPolicy(RemoteServiceServlet.java:98)
> at
>
> com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:437)
> at
>
> com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:251)
> at
>
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:505)
> at com.google.gwt.user.server.rpc.jakarta.RPC.decodeRequest(RPC.java:241)
>
> As this package has been changed in our environment to
> jakarta.validation.path, GWT source code is unable to find this class,
> giving NoClassDefFoundError.
>
> Also we can find several references of javax.validation.Path in gwt-user
> and other jars under GWT 2.11 jars.
>
> My queries are -
> 1. Has anyone come across such error, if yes, what is workaround.
> 2. as javax packages are outdated and replaced by jakarta, is there a plan
> to update them and what is significance of those classes .Also, how this
> failure can be addressed.
> 3. One solution I could see for older releases, is to add dependency for
> gwt-servlet-deps.jar, but that is not viable solution to us,as we are
> moving away from javax packages due to tomcat upgrade.
>
> Any immediate help will be appreciated.
> Thanks!
> Back to top <#m_424459083527961_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> 
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CABjQu7SGWFP1Gq49-ievrkLw17cCZkJv89Kyjs_sUB5QjyO6oQ%40mail.gmail.com.


Re: Digest for google-web-toolkit@googlegroups.com - 1 update in 1 topic

2023-12-19 Thread 'Tim Macpherson' via GWT Users
 For some years I've been deploying GWT 2.8.2 to GAE with Maven & Google Cloud 
Tools. I now find GAE is not supporting Java 8 after January, so I'm currently 
upgrading (rather slowly). There are 4 quite long POMs,  not sure if here is 
the best place to post them.
On Sunday, 17 December 2023 at 13:01:19 GMT, 
google-web-toolkit@googlegroups.com  
wrote:  
 
   
|google-web-toolkit@googlegroups.com   |  Google Groups  ||

Topic digest 
  View all topics 
   -   Deploy to Google App Engine (GAE) - 1 Update 
Deploy to Google App Engine (GAE)   
|   Craig Mitchell : Dec 16 09:20PM -0800  

 Hi,
 
The instructions 
here https://www.gwtproject.org/doc/latest/tutorial/appengine.html are no 
longer valid, as the Google Plugin for Eclipse is now dead (Google no 
longer supports Java 1.8, and the Google Plugin for Eclipse doesn't support 
any Eclipse versions that support anything after Java 1.8). 
Ref: https://github.com/GoogleCloudPlatform/google-cloud-eclipse/issues/3710
 
The new approach with GAE is to use Maven or Gradle with Google Cloud Tools.
 
I've been struggling to work out how this is supposed to happen. It looks 
like we now have to provide our own Web Server for GAE, but can we use the 
Jetty server that GWT uses for development? I assume the deploy build 
would not include the Jetty web server?
 
If anyone has deployed a GWT app to GAE with Maven and the new Google Cloud 
Tools, it would be great if you could give high level instructions on how 
it's all supposed to fit together.
 
An example Maven POM file with both the Google Cloud Tools, and GWT would 
be even better. 🙂
 
Thanks!
  |

  Back to top
|  You received this digest because you're subscribed to updates for this 
group. You can change your settings on the group membership page.
 To unsubscribe from this group and stop receiving emails from it send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.  |

   

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/779180981.309564.1702905331477%40mail.yahoo.com.


Re: Digest for google-web-toolkit@googlegroups.com - 1 update in 1 topic

2022-12-05 Thread Tom Van Eetvelde
Yes

Op zo 4 dec. 2022 14:01 schreef :

> google-web-toolkit@googlegroups.com
> 
>  Google
> Groups
> 
> 
> Topic digest
> View all topics
> 
>
>- List or ArrayList/concrete type
><#m_-3498534033173789625_group_thread_0> - 1 Update
>
> List or ArrayList/concrete type
> 
> Hua Zhang : Dec 04 03:30AM -0800
>
> Is this 'concrete type' als valid for a DTO object in GWT-RPC?
>
> For example, I have a TestDTO object, which needs to be transferred via
> GWT-RPC.
>
>
>
>
>
>
>
> *public class TestDTO implements IsSerializable { public
> ArrayList data; public List operation() {
> return null; }}*
>
> If I understand correctly, data field needs to be a concrete type. How
> about the method operation, can I return here a generic List interface?
>
> Best regards,
>
> Hua
>
>
> Back to top <#m_-3498534033173789625_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> 
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CADZAz1YbJw5dogU3WTt20b3P87M_O9vmrs6J9LDKknHMHQv5Bw%40mail.gmail.com.