Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Unable to find XXX.gwt.xml on your classpath" error in GWT

Tags:

eclipse

gwt

After importing a Maven GWT project into Eclipse the debugger doesn't work, complaining that it's

Unable to find ProjectName.gwt.xml on your classpath

How do you fix this error?

like image 357
Phyxx Avatar asked May 25 '12 00:05

Phyxx


2 Answers

It turns out that when you debug some GWT project as Web Applications, Eclipse does not append the module name (i.e. the gwt.xml file) to the list of arguments. I tried adding it manually, but forgot to add the complete package name that houses the gwt.xml file. The module should have been referred to as com.company.project.Project.gwt.xml, not just Project.gwt.xml.

enter image description here

like image 51
Phyxx Avatar answered Oct 08 '22 16:10

Phyxx


I found that Davek804's comment helped me: I simply deleted the debug configuration (Run=>Debug Configuration=>right click and deleted project will run

like image 40
Sachin Chaudhari Avatar answered Oct 08 '22 15:10

Sachin Chaudhari