Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failure in unit cache map load - GWT

I get this error during compile-time of my GWT project, there is no such folder as 'gwt-UnitCache' to delete, as suggested in the following questions

  • Weird GWT compile error

  • exception in GWT RPC app

I'm using IntelliJ IDEA (IDE), SmartGWT EE (Framework), JBoss AS (Server) and JPA

Here's the error log:

enter image description here

like image 628
Crowlix Avatar asked Apr 24 '13 09:04

Crowlix


2 Answers

If you change the value of your <module rename-to='<appname>'> in .gwt.xml it will give the same error :) but then you can just delete your gwt-unitCache and all is ok :)

like image 134
Mihkel L. Avatar answered Sep 28 '22 07:09

Mihkel L.


IntelliJ IDEA stores GWT cache files in other location than <ProjectFolder>/gwt-unitCache, which is a default directory for a cache if you are using, for example, Eclipse with GPE (Google Plugin for Eclipse).

In IDEA, GWT cache should be located by default at <your_home>/.IntelliJIdea12/system/gwt (IntelliJ IDEA 12, Linux). For other operating systems you can check Project and IDE Settings.

If you delete mentioned gwt folder contents, IntelliJ will create a new cache, which in turn might solve your Failure in unit cache... (and similar Unable to read from byte cache) problem.

like image 42
falconepl Avatar answered Sep 28 '22 07:09

falconepl