I was able to resolve that issue but now I am stuck at a different issue.
Now my project structure related to webapp is below as folllows:
MavenProjectName
src/main/webapp
gxt -----> Some folder and files
js -----> Some folder and files '
gxt -----> Some folder and files
js -----> Some folder and files '
index.html
proj.css
src/main/webapp/WEB-INF
web.xml -----> Some servlets, their mappings and index.html in welcome-file-list tag
proj.css
src/main/webapp/WEB-INF
web.xml -----> Some servlets, their mappings and index.html in welcome-file-list tag
Scenario 1)
Now If I start codeserver then from the GWT eclipse plugin then it does not allows me to use -noServer flag and it gives me a url http://127.0.0.1:9876/ after starting super dev mode
and then displays message: Visit a web page that uses one of these modules
After selecting one of the link it displays a empty page on the browser and in the logs
GET /nos/js.nocache.js
Sent error page: not found:
GET /nos/js.nocache.js
Sent error page: not found:
Scenario 2)
Now if I run super dev mode from gwt eclipse plugin then it gives me an ClassNotFoundError for javax.sql.datasource
1)So is my folder structure correct to dispay the application host page ?
1)So is my folder structure correct to dispay the application host page ?
2) Also is there any documentation on how to use external servlet container along with super dev mode in eclipse plugin
Can you let me know on this issue
Can you let me know on this issue
On Saturday, July 2, 2022 at 1:52:47 PM UTC+5:30 t.br...@gmail.com wrote:
I suppose you've changed the way you call SuperDevMode to pass it com.cname.proj.client.Main too: SuperDevMode expects the module name, not the entrypoint class name. So you'd give SuperDevMode com.cname.proj.Main (which is the name of the Main.gwt.xml), in which it'll find the entrypoint class name.On Saturday, July 2, 2022 at 2:05:54 AM UTC+2 abhiy...@gmail.com wrote:Hi Jen,I have changed my entry point to
class='com.cname.proj.client.Main. But now super devmode is now giving me an error not able to find com/cname/proj/client/Main.gwt.xml in the classpath. It forces me to keen Main.gwt.xml and Main.java in the same folder/package and then it is giving me forgot to inherit some module error.Thanks & Regards,
Abhishek YadavOn Sat, Jul 2, 2022, 2:05 AM Jens <jens.ne...@gmail.com> wrote:Content in Main.gwt.xml
<module rename-to="js">
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.clean.Clean'/>
<inherits name='com.cname.proj.Common' />
<inherits name='com.sencha.gxt.ui.GXT'/>
<entry-point class='com.cname.proj.Main' />
<source path="client" />
<source path="service"/>
</module>With that configuration the GWT compiler can see packages com.cname.proj.client and com.cname.proj.service in your main project. However your entry point is not in any of these packages. You need to move the entry point into the client package and update the <entry-point> accordingly.-- J.--
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/16e5b1a9-dd3b-4403-bf76-973d0370d51an%40googlegroups.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/caa780a4-8111-4cfa-8465-f7b53c648c4fn%40googlegroups.com.
No comments:
Post a Comment