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

java.time.LocalDate cannot be resolved #264

Open xaverio opened 7 years ago

xaverio commented 7 years ago

CompilerOracle: exclude jregex/Pretokenizer.next Listening for transport dt_socket at address: 8000 09:14:57,765 INFO ~ Starting /opt/gtfs-editor 09:14:59,136 WARN ~ You're running Play! in DEV mode 09:14:59,330 INFO ~ Listening for HTTP on port 9000 (Waiting a first request to start) ... 09:15:14,982 ERROR ~

@745jkk4dp Internal Server Error (500) for request GET /

Compilation error (In /app/jobs/ProcessGtfsSnapshotExport.java around line 103) The file /app/jobs/ProcessGtfsSnapshotExport.java could not be compiled. Error raised is : The type java.time.LocalDate cannot be resolved. It is indirectly referenced from required .class files

play.exceptions.CompilationException: The type java.time.LocalDate cannot be resolved. It is indirectly referenced from required .class files at play.classloading.ApplicationCompiler$2.acceptResult(ApplicationCompiler.java:246) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:478) 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!)

my env: java version "1.7.0_141" OpenJDK Runtime Environment (rhel-2.6.10.1.el6_9-x86_64 u141-b02) OpenJDK 64-Bit Server VM (build 24.141-b02, mixed mode)

dependencies.yml as suggested in #211

Application dependencies

require:

repositories:

Tried to copy joda-time-2.1.jar (from play lib) in gtfs-editor/lib. No change.