Home > Error Cannot > Error Cannot Find Symbol Play Framework

Error Cannot Find Symbol Play Framework

You signed in with another tab or window. I had a lot of problems like yours using Eclipse. I have a core Play application (acts as a rest API) using Spring as my DI framework. It is written in Java. http://haywirerobotics.com/error-cannot/error-cannot-find-symbol-symbol-variable-joptionpane.html

Is Typesafe Activator using the same mechanism for compiling? To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/play-framework?hl=en. But Guillaume is right about validation, so I'll use the 'normal' Form class anyway. @Guillaume True. button in the Build tab. http://stackoverflow.com/questions/19369052/play-2-1-error-cannot-find-symbol-bug

Success. One student renamed a template, and behold, the Controller that was calling it could not find it with the new name, and as such the old one wouldn't go away and a écrit : > > Hi! > > I know this question has been asked many times, but I tried all the > solution and it still don't work. > > Sometimes the application runs fine but most of the time theseproblems both occur with the sbt and activator tools.

  1. Glassmapper fields displaying null despite correct item ID Move to directory that was no directory Wrong way on a bike lane?
  2. Who is this Voyager character?
  3. Type play new bug-test.
  4. That means that eclipse etc can't load the template to show meaningful info (most often crucial to solving the error - especially for beginners), AND it's stuck with the old version
  5. asked 1 year ago viewed 862 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 1Play!Framework Compilation error2Play framework test error11play framework 2.0 - unexpected
  6. I am getting this error: error: cannot find symbol In /Users/hseritt/devel/todolist/app/controllers/Application.java at line 12.
  7. bjorn-ali-goransson commented Mar 20, 2014 Note: The identical erroneous behaviour also exists when trying to add a new dependency.
  8. Type cd bug-test.
  9. Trying out this as a scala application works smoothly.

Reload to refresh your session. When booking a cruise, how can I find a list of all the fees in advance? Ifthat fixes it, then it means you have Eclipse configured to automaticallycompile things in your application, you need to turn that off, because itgets in the way of any other tool Try shutting Eclipse down.

At this point, I'm still not seeing any clear bug in Play - everything you've explained to me so far - from a Play perspective - seems like expected behaviour. Eclipse can also create and copy class files, so using Eclipse at the same time would confuse the issue a bit. Then reenter the template call. http://stackoverflow.com/questions/19008516/play-framework-form-form-cannot-find-symbol To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/vqISD4pcsHoJ.

Why is (a % 256) different than (a & 0xFF)? What happened to FN-1824? So the problem is in the Play plugin for Eclipse, because it is trying to treat Java code and templates code as something that can be compiled in separate passes, but Instead of a line containing a bug, the next one is shown.

Not the answer you're looking for? http://grokbase.com/t/gg/play-framework/14aztxxcpk/problems-compiling-play-application 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 Is it anti-pattern if a class property creates and returns a new instance of a class? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc.

If you're in a hurry to get a solution you may wish to ask on the mailing list and someone might be able to help you find a workaround. this content Why did Michael Corleone not forgive his brother Fredo? Just got this same problem today, and it seems that something just got corrupted in the build path until I cleaned and restarted activator. This seem to work in play V1.

share|improve this answer edited Sep 3 '14 at 15:10 rink.attendant.6 9,391133573 answered Oct 15 '13 at 21:05 thedeadlybutter 12419 add a comment| up vote 1 down vote In my case, once bjorn-ali-goransson commented Apr 2, 2014 Hi @jroper, Sorry for assuming that you are being paid to do this. However when trying to compile it on a Mac OS X we get an error for the reverse routes in the scala templates similar to: "value PageController is not a member weblink Next Message by Thread: [play-framework] Re: [2.0] Compilation error : Cannot find symbol views.html.mypage Ok sorry for bothering, I forgotten the .render : public static Result login() { return ok (

I've tried suggestions of deleting the .sbt and.ivy2/cache folders, but that hasn't solved the problem.So what do I do so that my play application compiles and runs withoutseemingly non deterministic errors?My line as your template would then contain an error. Running Play compile will not help until you remove your x.

Thank you.

bjorn-ali-goransson commented Mar 11, 2014 OK, retried now with Play 2.2.2 using only play and a simple text editor. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/play-framework?hl=en. It loads the classes that Play compiles. ("The templates are transformed into Scala code by the Play framework. error: cannot find symbol [error] mail.setRecipient("Peter Hausel Junior ","[email protected]"); [error] ^ [error] symbol: method setRecipient(String,String) [error] location: variable mail of type MailerAPI [error] 1 error [error] (compile:compile) javac returned nonzero exit

Using Eclipse, I added target/scala-2.9.1/src_managed/main in the source path, but I still have this error. (like said here : https://groups.google.com/forum/?hl=fr&fromgroups#!searchin/play-framework/2.0$20eclipse$20scala$20template/play-framework/B7DKDltYmQ8/-nwlx-AGlPIJ ) Here's my code : public static Result login() { return Drawing a torso with a head (using \draw) Dishwasher Hose Clamps won't open Do we have "cancellation law" for products of varieties Locker Service: How to get the event target? Choose 2 for Java application. check over here Display field value in Drop Link field Why is the reduction of sugars more efficient in basic solutions than in acidic ones?

Can someone provides me some code snippet?