closure-templates: NoSuchMethodError : com.google.common.base.Preconditions.checkArgument

I have updated my soy maven dependency from 2016-08-25 to 2017-02-01

and now when I am trying to : soyFileSet.compileToJsSrc(...,...)

java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;I)V at com.google.template.soy.soytree.RawTextNode$SourceOffsets$Builder.add(RawTextNode.java:416) at com.google.template.soy.soyparse.RawTextBuilder.append(RawTextBuilder.java:180) at com.google.template.soy.soyparse.RawTextBuilder.addBasic(RawTextBuilder.java:101) at com.google.template.soy.soyparse.SoyFileParser.TemplateHeader(SoyFileParser.java:1020) at com.google.template.soy.soyparse.SoyFileParser.TemplateHelper(SoyFileParser.java:674) at com.google.template.soy.soyparse.SoyFileParser.Template(SoyFileParser.java:620) at com.google.template.soy.soyparse.SoyFileParser.SoyFile(SoyFileParser.java:514) at com.google.template.soy.soyparse.SoyFileParser.parseSoyFile(SoyFileParser.java:372) at com.google.template.soy.SoyFileSetParser.parseSoyFileHelper(SoyFileSetParser.java:169) at com.google.template.soy.SoyFileSetParser.parseWithVersions(SoyFileSetParser.java:127) at com.google.template.soy.SoyFileSetParser.parse(SoyFileSetParser.java:98) at com.google.template.soy.SoyFileSet.parse(SoyFileSet.java:1240) at com.google.template.soy.SoyFileSet.compileToJsSrc(SoyFileSet.java:991)

What is the migration process ?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (6 by maintainers)

Most upvoted comments

@lukesandberg , @mikesamuel ,

Any news about this bloking issue ? our team is still blocked because of this!

In advance many thanks

Hi @fenghaolw Thank you very much.

Just for curiosity, what is the process to release the github project to maven central ?

Many thanks.

Hi @craph I just released this to maven central.

@fenghaolw @lukesandberg @mikesamuel When this will be available in MVN repository ?

Thanks

@fenghaolw @lukesandberg @mikesamuel When this will be available in MVN repository ?

Thanks

Oh thank you @lukesandberg When this will be available a release version in Maven Repo to be able to test it ?

@mikesamuel , @lukesandberg , Any news ?

Thanks.