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

Error The method apply(String) of type new Function<String,ServiceCalendar.ServiceCalendarForPattern>(){} must override a superclass method #208

Closed aj07mm closed 9 years ago

aj07mm commented 9 years ago

Listening for transport dt_socket at address: 8000 19:33:10,323 INFO ~ Starting /Users/aj07mm/Desktop/gtfs-editor 19:33:11,693 WARN ~ You're running Play! in DEV mode 19:33:11,834 INFO ~ Listening for HTTP on port 9000 (Waiting a first request to start) ... 19:33:21,558 ERROR ~

@6lmnbk2c0 Internal Server Error (500) for request GET /

Compilation error (In /app/controllers/api/CalendarController.java around line 77) 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

play.exceptions.CompilationException: The method apply(String) of type new Function<String,ServiceCalendar.ServiceCalendarForPattern>(){} must override a superclass method at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompiler.java:246) at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:676) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:520) at play.classloading.ApplicationCompiler.compile(ApplicationCompiler.java:282) at play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:426) at play.Play.start(Play.java:516) at play.Play.detectChanges(Play.java:630) at play.Invoker$Invocation.init(Invoker.java:198) at Invocation.HTTP Request(Play!)

mattwigway commented 9 years ago

This looks like a dependency issue; perhaps it's picking up an older/newer version of Guava.

ustroetz commented 9 years ago

same problem here

mattwigway commented 9 years ago

Duplicate of #195; this is an incompatibility with Java 8 and Guava; Editor works with Java 7.