# Error: Local Activity Worker is not started, no activities were registered

**URL:** <https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116>\
**Category:** Community Support\
**Tags:** java-sdk, springboot\
**Created:** [February 22, 2024, 2:44pm UTC](https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116 "2024-02-22T14:44:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Volodymyr\_Konoval](https://avatars.discourse-cdn.com/v4/letter/v/c2a13f/32.png) [@Volodymyr\_Konoval](https://community.temporal.io/u/Volodymyr_Konoval)\
**Post date:** [February 22, 2024, 2:44pm UTC](https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116/1 "2024-02-22T14:44:44Z")

</div>

Hello,  
I’m trying to setup a temporal workflow using spring boot.  
I’ve defined activities as beans, etc. Basically was following the examples from temporal git.

Workflow starts, but throws following errors in logs:

```auto
2024-02-22 14:31:53.674 EET|ERROR i.t.i.worker.PollerOptions - uncaught exception
java.lang.RuntimeException: Failure processing workflow task. WorkflowId=t1708605092478, RunId=f9d1cafe-3487-43b5-9141-16c611fe0620, Attempt=4
	at io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.wrapFailure(WorkflowWorker.java:404)
	at io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.wrapFailure(WorkflowWorker.java:261)
	at io.temporal.internal.worker.PollTaskExecutor.lambda$process$0(PollTaskExecutor.java:110)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException: Local Activity Worker is not started, no activities were registered
	at io.temporal.internal.worker.LocalActivityWorker$LocalActivityDispatcherImpl.dispatch(LocalActivityWorker.java:213)
	at io.temporal.internal.replay.ReplayWorkflowRunTaskHandler.processLocalActivityRequests(ReplayWorkflowRunTaskHandler.java:320)
	at io.temporal.internal.replay.ReplayWorkflowRunTaskHandler.handleWorkflowTask(ReplayWorkflowRunTaskHandler.java:166)
	at io.temporal.internal.replay.ReplayWorkflowTaskHandler.handleWorkflowTaskWithQuery(ReplayWorkflowTaskHandler.java:133)
	at io.temporal.internal.replay.ReplayWorkflowTaskHandler.handleWorkflowTask(ReplayWorkflowTaskHandler.java:98)
	at io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handleTask(WorkflowWorker.java:413)
	at io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handle(WorkflowWorker.java:320)
	at io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handle(WorkflowWorker.java:261)
	at io.temporal.internal.worker.PollTaskExecutor.lambda$process$0(PollTaskExecutor.java:105)
	... 3 common frames omitted

```

Any ideas what could go wrong?

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [February 26, 2024, 1:54pm UTC](https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116/2 "2024-02-26T13:54:27Z")

</div>

Hi @Volodymyr_Konoval

> `Local Activity Worker is not started, no activities were registered`

it seems the activity implementation is not registered to the worker

> I’ve defined activities as beans, etc. Basically was following the examples from temporal git.

Can you check if you are either:

- setting the the correct package for activities [sdk-java/temporal-spring-boot-autoconfigure-alpha at master · temporalio/sdk-java · GitHub](https://github.com/temporalio/sdk-java/tree/master/temporal-spring-boot-autoconfigure-alpha#explicit-configuration)
- or if you are using workersAutoDiscovery, those activities are inside the package

Antonio
