[2.0] "cannot find symbol" error in routes

4,513 views
Skip to first unread message

Severin Kistner

unread,
Jan 18, 2012, 8:46:23 PM1/18/12
to play-fr...@googlegroups.com
Hello everyone,

i used the new version and very satisfied. The error messages are most of the time excellent, but now i have an error i can't figure out.

I changed the routes and had suddenly this error.

Compilation error

error: cannot find symbol

In C:\Users\myself\testproj\conf\routes



The console spits this out:

! @695bjelp5 - Internal server error, for request [GET /] ->

sbt.PlayProject$CompilationException: Compilation error [error: cannot find symbol]
        at sbt.PlayProject$$anon$1$$anonfun$reload$1$$anonfun$apply$36$$anonfun$apply$37.apply(SbtPlugin.scala:514) ~[play_2.9.1.jar:na]
        at sbt.PlayProject$$anon$1$$anonfun$reload$1$$anonfun$apply$36$$anonfun$apply$37.apply(SbtPlugin.scala:514) ~[play_2.9.1.jar:na]
        at scala.Option.map(Option.scala:133) [scala-library.jar:na]
        at sbt.PlayProject$$anon$1$$anonfun$reload$1$$anonfun$apply$36.apply(SbtPlugin.scala:514) ~[play_2.9.1.jar:na]
        at sbt.PlayProject$$anon$1$$anonfun$reload$1$$anonfun$apply$36.apply(SbtPlugin.scala:511) ~[play_2.9.1.jar:na]
        at scala.Option.map(Option.scala:133) [scala-library.jar:na]

The weird thing is, i can't get play working again. I changed the routes file to the original and i still have this error.

Can anyone help me?

Guillaume Bort

unread,
Jan 19, 2012, 4:41:59 AM1/19/12
to play-fr...@googlegroups.com
Have you tried clean?

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/dzYJzqzTRtcJ.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.

--
Guillaume Bort

Severin Kistner

unread,
Jan 19, 2012, 5:06:56 PM1/19/12
to play-fr...@googlegroups.com
That did it, thanks.

Андрей Любецкий

unread,
Mar 30, 2012, 9:32:21 AM3/30/12
to play-fr...@googlegroups.com
Snx. It work.

If you have analogy problem, just make it in root dir your play application:
$ play clean 

Have you tried clean?

> To post to this group, send email to play-framework@googlegroups.com.


> To unsubscribe from this group, send email to


> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.

--
Guillaume Bort

Krzysztof Kowalski

unread,
Sep 13, 2013, 11:51:59 AM9/13/13
to play-fr...@googlegroups.com, seki...@gmail.com
worked for me too ;], ty man

On Thursday, January 19, 2012 11:06:56 PM UTC+1, Severin Kistner wrote:
That did it, thanks.
Reply all
Reply to author
Forward
0 new messages