caofangkun / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

Does not compile with Guava 18 #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We want to use closure-templates in a product that uses Guava 18.

Unfortunately, SoyFileSupplier uses an API 
(com.google.common.io.Resources.newReaderSupplier) which was deprecated and 
removed in Guava 18:

java.lang.NoSuchMethodError: 
com.google.common.io.Resources.newReaderSupplier(Ljava/net/URL;Ljava/nio/charset
/Charset;)Lcom/google/common/io/InputSupplier;
    at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:136)
    at com.google.template.soy.base.SoyFileSupplier$Factory.create(SoyFileSupplier.java:153)
    at com.google.template.soy.SoyFileSet$Builder.addWithKind(SoyFileSet.java:275)
    at com.google.template.soy.SoyFileSet$Builder.add(SoyFileSet.java:292)

Original issue reported on code.google.com by fox...@gmail.com on 21 Oct 2014 at 10:20

GoogleCodeExporter commented 8 years ago
Buck is being impacted by this too.

Original comment by simon.m.stewart on 22 Oct 2014 at 9:25

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub, 
https://gitub.com/google/closure-templates. Please reopen this there if it's 
still an issue. (It shouldn't be, since the project's POM now uses Guava 17.)

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:01