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

前端 未结 3 726
别跟我提以往
别跟我提以往 2021-02-05 19:06

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

相关标签:
3条回答
  • 2021-02-05 19:16

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

    0 讨论(0)
  • 2021-02-05 19:21

    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

    0 讨论(0)
  • 2021-02-05 19:23

    Try going to Run -> Run Configurations in the menu and then select the Classpath tab and add the missing project.

    0 讨论(0)
提交回复
热议问题