Scala on Google App Engine with Eclipse

I am trying to create a web application using pure Scala code. I am using the latest Google plugin for Eclipse to create an App Engine web project. After that, I add a Scala project for the project. I am rewriting the standard Java servlet generated by the Google plugin into the Scala version of the servlet. Everything is fine, there are no Scala code errors. But Eclipse will show me some errors in my Scala servlet code, like this:

Unexpected error checking ScalaServlet.scala.

This error is generated by the com.google.appengine.eclipse.core plugin. I can’t understand where I can fix this error?

+4
source share
2 answers

In the Properties β†’ Builders project, move Scala Builder to the top of the list.

+1
source

Given the lack of streaming support, GAE is not the best place for Scala code.

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

Among other functions, they allow you to create / deploy using Maven, so you are not forced to insert the non-standard directory that Google eclipse plugins insist on so often.

They also use Scala internally and seem to be very eager to help with scala issues.

0
source

All Articles