Hello Noob question

107 views
Skip to first unread message

Vijay H

unread,
Mar 12, 2024, 3:28:15 AMMar 12
to GWT Users
Created a starter using the modular-webapp archetype, and am trying to change the client module to use polymer elements and running into these sort of errors. Before I debug too far wanted to check if this is something that is doable or even recommended. This is for a class project. 

> Loading inherited module 'com.mycompany.mywebapp.App'
> [INFO]       Loading inherited module 'com.vaadin.polymer.Elements'
> [INFO]          [ERROR] Unable to find 'com/vaadin/polymer/Elements.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?


thanks
Vijay 

tim_mac...@yahoo.co.uk

unread,
Mar 12, 2024, 12:02:07 PMMar 12
to GWT Users
I am hoping to continue using this with upgrade to gwt 2.11.0 , gwt-maven-plugin 1.1.0 , java source level 11.
I checked it as far as calling
    Polymer.startLoading()
    Polymer.importHref( .. )
No errors so far.

in module.gwt.xml  I presume you have:
  <inherits name="com.vaadin.polymer.Elements"/>

did you add the dependency in the -client pom file?
    <dependency>
      <groupId>com.vaadin.polymer</groupId>
      <artifactId>vaadin-gwt-polymer-elements</artifactId>
      <version>1.9.3.1</version>
    </dependency> 

Vijay Kishen Hampapur

unread,
Mar 12, 2024, 7:20:26 PMMar 12
to google-we...@googlegroups.com
Thanks , I figured out that the parent webapp didnt have the
dependency called out. Followed by resources of the .nocache.js not
being part of the jetty xml. Fixed and working now

Thanks
> --
> You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/DPT5No0b2KI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/20efcc19-88ce-477f-8976-821357bfb92dn%40googlegroups.com.

Tim Macpherson

unread,
Mar 12, 2024, 7:36:55 PMMar 12
to google-we...@googlegroups.com
On the other hand gwt polymer is unmaintained for 6 years. Also it draws in elemental, which is nowadays replaced by elemental2. The 2 dependencies didn't cause problems previously but maybe someone else can advise.




--
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-tool...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKzfLJKmukv3W87cYsrfVwKe7B42ctzxkEa3DZTtkrqt-TFDqw%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages