conveyal / gtfs-editor

A web-based GTFS editing framework. THIS PROJECT IS DEPRECATED. See https://github.com/ibi-group/datatools-ui for current version.
https://github.com/ibi-group/datatools-ui
MIT License
134 stars 63 forks source link

Compilation error with new install #255

Closed bbobrian closed 8 years ago

bbobrian commented 8 years ago

Compilation error The file /app/controllers/api/CalendarController.java could not be compiled. Error raised is : The method apply(String) of type new Function<String,ServiceCalendar.ServiceCalendarForPattern>(){} must override a superclass method

I'm guessing I may be trying to use an incompatible version of something.

OS: Windows 7 Java: 1.8.0_91 Groovy: 2.4.6 Play Framework: 1.2.5.6

j05u3 commented 8 years ago

I think you need java 7

bbobrian commented 8 years ago

So much for Java's claimed backward compatibility. Switched to 1.7.0_79 and it seems to be working.

cascafico commented 8 years ago

I just installed java 8 to have OpenTripPlanner working... and now gtfs-editor is not working anymore. I got back 7 with sudo update-alternatives --config java Does somebody know how to switch via environment variables?