views:

188

answers:

3

Hi! I'm trying to create web app on pure Scala code. I use last version of Google plugin for Eclipse to create App Engine Web project. After it I add Scala nature to project. I rewrite standart Java servlet generated by Google plugin to Scala servlet version. Everything fine, no scala code errors found. But Eclipse show me some errors in my Scala servlet code like this:

Unexpected error while validating ScalaServlet.scala.

This error generated by com.google.appengine.eclipse.core plugin. I can't understand, where I can fix this error ?

+1  A: 

The best place for questions like this is the Scala IDE user mailing list.

Miles Sabin
StackOverflow is not a "switch" that redirects people with questions to the mailing lists. Mailing lists exist and everyone is aware of them. If you do not know an answer there is no big deal, just don't answer
Pablo Fernandez
@Pablo I'm redirecting the questioner and anyone else who searches for similar issues to the canonical source of information about this problem. I support the Scala IDE for Eclipse primarily via it's own mailing list, and that's where they'll get the most useful responses, particularly if the issue turns out to be a bug or requires an enhancement.
Miles Sabin
A: 

In the project Properties -> Builders, move Scala Builder to top of the list

Jarod
A: 

Given the lack of threading support, GAE isn't the best place for Scala code.

I'd recommend you check out Stax: http://www.stax.net/

Amongst other features, they let you build/deploy with Maven, so you're not forced into the non-standard directory layout that Google's eclipse plugins so frequently insist upon.

They also use scala internally, and seem very willing to help out with scala-related issues.

Kevin Wright