Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.time.LocalDate cannot be resolved #264

Open
xaverio opened this issue May 26, 2017 · 0 comments
Open

java.time.LocalDate cannot be resolved #264

xaverio opened this issue May 26, 2017 · 0 comments

Comments

@xaverio
Copy link

xaverio commented May 26, 2017

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:
- play
- com.typesafe.akka -> akka-actor 2.0.3
- com.typesafe.akka -> akka-remote 2.0.3
- gov.sandia.foundry -> gov-sandia-cognition-common-core 3.3.2
- gov.sandia.foundry -> gov-sandia-cognition-learning-core 3.3.2
- com.google.guava -> guava 11.0.1
- com.vividsolutions -> jts 1.12
- org.geotools -> gt-main 12.2
- org.geotools -> gt-geojson 12.2
- com.fasterxml.jackson.core -> jackson-core 2.4.4
- com.fasterxml.jackson.core -> jackson-databind 2.4.4
- org.opentripplanner -> otp 0.14.0
- net.sf.opencsv -> opencsv 2.0
- org.mapdb -> mapdb 1.0.7

repositories:
- typesafe:
type: iBiblio
root: "http://repo.typesafe.com/typesafe/releases/"
contains:
- com.typesafe.akka -> *
- osgeo:
type: iBiblio
root: "http://download.osgeo.org/webdav/geotools/"
contains:
- org.geotools -> *

- conveyal:
    type: iBiblio
    root: "http://maven.conveyal.com/"
    contains:
        - org.opentripplanner -> *

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant