# IntelliJ kotlin project screw up

**URL:** <https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597>\
**Category:** Uncategorized\
**Created:** [April 14, 2014, 7:47pm UTC](https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597 "2014-04-14T19:47:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![majesticra](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@majesticra](https://discuss.kotlinlang.org/u/majesticra)\
**Post date:** [April 14, 2014, 7:47pm UTC](https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597/1 "2014-04-14T19:47:16Z")

</div>

I worked with my kotlin project with IntelliJ IDEA 13.1 on Windows. Then I checked it out on linux machine with 13.1 Community edition. Both machines have 0.7.270 kotlin plugin.

Project compiles and runs OK, but IntelliJ shows: “Unresolved reference: println”, “No set method for array access” on HashMap, etc.

What could be missing or screwed up with IntellJ project with this problem?

---

<div class="post-metadata">

**Author:** ![hhariri](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/hhariri/32/1454_2.png) [@hhariri](https://discuss.kotlinlang.org/u/hhariri)\
**Post date:** [April 15, 2014, 5:27am UTC](https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597/2 "2014-04-15T05:27:32Z")

</div>

Can you try to invalidate caches and restart? From the File menu in IntelliJ.

---

<div class="post-metadata">

**Author:** ![abreslav](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/abreslav/32/8279_2.png) [@abreslav](https://discuss.kotlinlang.org/u/abreslav)\
**Post date:** [April 15, 2014, 6:50am UTC](https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597/3 "2014-04-15T06:50:30Z")

</div>

It seems that your KotlinRuntime library is not attached to the project. Have a look under "Project Structure" If it is there, you can try to delete it an then run "Tools -\> Kotlin -\> Configure Kotlin in Project"

---

<div class="post-metadata">

**Author:** ![majesticra](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@majesticra](https://discuss.kotlinlang.org/u/majesticra)\
**Post date:** [April 16, 2014, 1:05am UTC](https://discuss.kotlinlang.org/t/intellij-kotlin-project-screw-up/597/4 "2014-04-16T01:05:32Z")

</div>

Invalidating caches and restarting solved the problem. Thank you!

After this I’ve tryed to move/commit/clone the project between windows and linux, all goes flawlessly. Probably the problem was that Kotlin hasn’t been installed on linux Idea (It was automatically installed when I opened the project first time).
