Note that there are some explanatory texts on larger screens.

plurals
  1. POGWT compile fails in IDEA: UserAgentAsserter cannot be resolved
    primarykey
    data
    text
    <p>Moving my development environment to a new laptop and faced the following error (it's never no-hassle process). So, what I have is: Windows 8, Intellij Idea 12, GWT 2.5.1, configured a simple artifact that only produces a "<code>GWT compile output</code>":</p> <pre><code>Information: Compilation completed with 6 errors and 0 warnings in 25 sec Information: 6 errors Information: 0 warnings Error: GWT Compiler: The import com.google.gwt.user.client.UserAgentAsserter cannot be resolved Error: GWT Compiler: UserAgentProperty cannot be resolved to a type Error: GWT Compiler: The method create(Class&lt;?&gt;) from the type GWT refers to the missing type UserAgentProperty Error: GWT Compiler: UserAgentProperty cannot be resolved to a type Error: GWT Compiler: UserAgentProperty cannot be resolved to a type &lt;-&gt; D:\Projects\MyProject\src\main\java\com\myproject\RichClient.gwt.xml Error: GWT Compiler: Aborting compile due to errors in some input files </code></pre> <p>Build on old laptop is working fine (same environment on Win7), although I don't see any differences in my gwt.xml file. Maybe something is missing that was added to old config manually rather than through repository checkout, but now I can only guess. I have tried to remove/comment all the lines from client.gwt.xml that relate to <code>user.agent</code> property setting, like</p> <pre><code>&lt;set-property name="user.agent" value="gecko1_8,safari"/&gt; </code></pre> <p>but no changes and I still see the same "6 errors" message.</p> <p>I would appreciate any clue on why this error may appear. Thanks. </p> <p><strong>UPD.</strong> Reduced the code of my RichClient.gwt.xml file to</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.0/distro-source/core/src/gwt-module.dtd"&gt; &lt;module rename-to='richclient'&gt; &lt;!-- Inherit the core Web Toolkit stuff. --&gt; &lt;inherits name='com.google.gwt.user.User' /&gt; &lt;/module&gt; </code></pre> <p>(no entry point set) and still got the same error. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload