Note that there are some explanatory texts on larger screens.

plurals
  1. POIntelliJ IDEA Report Highlighting error when using routes in Controller
    text
    copied!<p>I have a Scala Play project. I'm using Play 2.2.1. I downloaded Scala, Play 2 supported and SBT plugins. Everything is OK, but When I call route on Action in the Controller appear following error(Look screenshots):</p> <p><img src="https://i.stack.imgur.com/LAIon.png" alt="Screenshot1"></p> <p><img src="https://i.stack.imgur.com/yoUKP.png" alt="Screenshot2"></p> <p>I'm using IntelliJ IDEA 12.1.6 Ultimate version. Scala version 2.10.2</p> <p>Anybody know how to fix this problem?</p> <p>Thanks in advance!</p> <hr> <blockquote> <p><strong>Edit</strong></p> </blockquote> <p>When I generate my project to Intellij IDEA via "play idea" command in play console, and I opened project in IDEA project structure was such:</p> <p><img src="https://i.stack.imgur.com/JcVHR.png" alt="screenshot6"></p> <p>Then I saw answer @millhouse and discussing on this githup(<a href="https://github.com/playframework/playframework/issues/1784" rel="noreferrer">[Play 2.2] "play idea" creates not working source mapping in target</a>) and I removed following folders from <strong>Sources Folders</strong>:</p> <blockquote> <ul> <li>target\scala-2.10\src_managed\main\controllers</li> <li>target\scala-2.10\src_managed\main\views</li> </ul> </blockquote> <p><strong>and "Report highlighting error" disappeared, but now there is another error:</strong></p> <p><img src="https://i.stack.imgur.com/iWKpY.png" alt="screenshot3"></p> <p><strong>and</strong></p> <p><img src="https://i.stack.imgur.com/OTwwL.png" alt="screenshot7"></p> <p><strong>my route:</strong></p> <p><img src="https://i.stack.imgur.com/jL6Na.png" alt="screenshot4"></p> <p>And I've changed "Sources Folders" as shown below:</p> <p><img src="https://i.stack.imgur.com/VLTQY.png" alt="screenshot5"></p> <p><strong>But it doesn't help me. And remains "Unspecified value parametrs" error.</strong></p>
 

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