# Workflowservicestubs.newinstance() throwing method not found error

**URL:** <https://community.temporal.io/t/workflowservicestubs-newinstance-throwing-method-not-found-error/3214>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [October 21, 2021, 12:52pm UTC](https://community.temporal.io/t/workflowservicestubs-newinstance-throwing-method-not-found-error/3214 "2021-10-21T12:52:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [October 21, 2021, 2:32pm UTC](https://community.temporal.io/t/workflowservicestubs-newinstance-throwing-method-not-found-error/3214/4 "2021-10-21T14:32:58Z")

</div>

I haven’t seen that issue personally, but very similar was reported [here](https://community.temporal.io/t/optimize-history-records-for-a-workflow-with-all-local-activities/2819/12), (specific reply [here](https://community.temporal.io/t/optimize-history-records-for-a-workflow-with-all-local-activities/2819/17)), and ended up being a guava version issue. Worth looking into it on your end as well imo.

---

_[View the full topic](https://community.temporal.io/t/workflowservicestubs-newinstance-throwing-method-not-found-error/3214)._
