{"id":1169,"date":"2022-08-30T15:13:32","date_gmt":"2022-08-30T15:13:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/gwt-debug-mode-error-when-changing-source-output-folder-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:13:32","modified_gmt":"2022-08-30T15:13:32","slug":"gwt-debug-mode-error-when-changing-source-output-folder-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/gwt-debug-mode-error-when-changing-source-output-folder-collection-of-common-programming-errors\/","title":{"rendered":"Gwt debug mode error when changing source output folder-Collection of common programming errors"},"content":{"rendered":"<p>I want to change the standard gwt war output directory to my existing target directory ( it looks like by default it is src\/main\/webapp where i also have the sources). For that i changed the the source output folder in project properties -&gt; java build path to degx\/target\/degx-0.0.1-SNAPSHOT\/WEB-INF\/classes . But i got nullpointerexception<\/p>\n<pre><code>  [ERROR] [degx] Unable to load module entry point class consi.degx.client.Application (see associated exception for details)\njava.lang.NullPointerException: null\n    at consi.degx.client.Application.initialize(Application.java:159)\n    at consi.degx.client.Application.onModuleLoad(Application.java:153)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n    at java.lang.reflect.Method.invoke(Method.java:597)\n    at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:406)\n    at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)\n    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)\n    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)\n    at java.lang.Thread.run(Thread.java:662)\n<\/code><\/pre>\n<p>I also get this error in eclipse : Description Resource Path Location Type The output directory for the project should be set to \/degx\/src\/main\/webapp\/WEB-INF\/classes degx Unknown Google Web App Problem .<\/p>\n<p>But the whole idea is to have the GPE use my already created war target directory using maven. So setting the output directoy to \/degx\/src\/main\/webapp\/WEB-INF\/classes would make GPE not use the directory i want<\/p>\n<p>EDIT1: And i notice that once i set the source output directory to degx\/target\/degx-0.0.1-SNAPSHOT\/WEB-INF\/classes , the degx\/target\/degx-0.0.1-SNAPSHOT\/WEB-INF\/classes dissappears in project explorer. It only reappears if i change the setting for output source back to its default \/degx\/src\/main\/webapp\/WEB-INF\/classes folder .<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:34:12. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I want to change the standard gwt war output directory to my existing target directory ( it looks like by default it is src\/main\/webapp where i also have the sources). For that i changed the the source output folder in project properties -&gt; java build path to degx\/target\/degx-0.0.1-SNAPSHOT\/WEB-INF\/classes . But i got nullpointerexception [ERROR] [degx] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1169","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1169"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1169\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}