Closed freeze5272 closed 9 years ago
Could you post it as string instead of image? For copy/pasting.
[error] /Users/edward/Downloads/epic-master-2/target/scala-2.11/src_managed/main/TreebankTokenizerImpl.java:7327: unclosed character literal
[error] return currentToken(new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead).replace('???', '\'').replace('??','\u0308').replaceAll("-[\n\r]+",""));
[error] ^
[error] /Users/edward/Downloads/epic-master-2/target/scala-2.11/src_managed/main/TreebankTokenizerImpl.java:7327: unclosed character literal
[error] return currentToken(new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead).replace('???', '\'').replace('??','\u0308').replaceAll("-[\n\r]+",""));
[error] ^
[error] two errors found
error Compilation failed
the file encoding for compiling the java code is wrong. It's a UTF-8 file, and I guess that needs to be set. You could either change your terminal's default encoding, or do something like
javacOptions ++= Seq("-encoding", "UTF-8")
in build.sbt
-- David
On Tue, Sep 29, 2015 at 4:14 AM, freeze5272 notifications@github.com wrote:
[error] /Users/edward/Downloads/epic-master-2/target/scala-2.11/src_managed/main/TreebankTokenizerImpl.java:7327: unclosed character literal
[error] return currentToken(new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead).replace('???', '\'').replace('??','\u0308').replaceAll("-[\n\r]+",""));
[error] ^
[error] /Users/edward/Downloads/epic-master-2/target/scala-2.11/src_managed/main/TreebankTokenizerImpl.java:7327: unclosed character literal
[error] return currentToken(new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead).replace('???', '\'').replace('??','\u0308').replaceAll("-[\n\r]+",""));
[error] ^
[error] two errors found
error Compilation failed
— Reply to this email directly or view it on GitHub https://github.com/dlwh/epic/issues/42#issuecomment-144029307.
Hi, there are two errors occurred when I tried to build epic.
Is there any possible way that I can fix it?