Fehler: Paket com.sun.tools.javac.util existiert nicht
Ich versuche, meine Play 2.0.1-Anwendung unter Umbuntu 11.10 und bei meinem Besuch auszuführendomain.com:9000
Ich erhalte diesen Fehler im Terminal:
info] Compiling 4 Scala sources and 6 Java sources to /var/www/clients/client3/web10/sc2lounge/target/scala-2.9.1/classes...
[error] /var/www/clients/client3/web10/sc2lounge/app/models/Cron.java:29: error: package com.sun.tools.javac.util does not exist
[error] import com.sun.tools.javac.util.List;
[error] ^
[error] 1 error
[error] {file:/var/www/clients/client3/web10/sc2lounge/}sc2lounge/compile:compile: javac returned nonzero exit code
[error] application -
! Internal server error, for request [GET /] ->
sbt.PlayExceptions$CompilationException: Compilation error [error: package com.sun.tools.javac.util does not exist]
at sbt.PlayReloader$anonich habe$anonfun$reload so eingestellt in meine$anonfunich habe$anonfun$applyInteressanterweise trat dieser Fehler auf, als ich Todo ohne Kommentare eingab und IntelliJ automatisch importierte$anonfun$apply$12.apply(PlayReloader.scala:224) ~[na:na]
at sbt.PlayReloader$anonich habe$anonfun$reload so eingestellt in meine$anonfunich habe$anonfun$applyInteressanterweise trat dieser Fehler auf, als ich Todo ohne Kommentare eingab und IntelliJ automatisch importierte$anonfun$apply$12.apply(PlayReloader.scala:224) ~[na:na]
at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.2]
at sbt.PlayReloader$anonich habe$anonfun$reload so eingestellt in meine$anonfunich habe$anonfun$apply$11.apply(PlayReloader.scala:224) ~[na:na]
at sbt.PlayReloader$anonich habe$anonfun$reload so eingestellt in meine$anonfunich habe$anonfun$apply$11.apply(PlayReloader.scala:221) ~[na:na]
at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.2]
ich habeJAVA_HOME
so eingestellt in meine.bashrc
Datei:
JAVA_HOME=/usr/lib/jvm/default-java #Which is a symbolic link to java-7-openjdk-common
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
die Ausgabe vonjava -version
ist:
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
und die Ausgabe vonjavac -version
ist:
javac 1.7.0_147
Meine Frage ist warumcom.sun.tools.javac.util.List
ist nicht im Klassenpfad enthalten