diff --git a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/autospam/cli/AutoLockSpamRecords.java b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/autospam/cli/AutoLockSpamRecords.java
index f3bff5b252d..ae063f3cb23 100644
--- a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/autospam/cli/AutoLockSpamRecords.java
+++ b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/autospam/cli/AutoLockSpamRecords.java
@@ -89,7 +89,7 @@ public class AutoLockSpamRecords {
@Resource(name = "notificationManagerV3")
private NotificationManager notificationManager;
- @Resource
+ @Resource(name="orcidOauth2TokenDetailDao")
private OrcidOauth2TokenDetailDao orcidOauthDao;
private static int ONE_DAY = 86400000;
diff --git a/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml b/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml
index 4a2bf9d2228..c6032d1aead 100644
--- a/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml
+++ b/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml
@@ -35,7 +35,7 @@
-
+
@@ -133,5 +133,5 @@
-
+
diff --git a/properties/development.properties b/properties/development.properties
index ea463773b63..40cc352617c 100644
--- a/properties/development.properties
+++ b/properties/development.properties
@@ -236,3 +236,16 @@ org.orcid.scheduler.web.loadIssnCronConfig=0 0 0 * * FRI
# Added the config to index all RORs not only the changed ones
org.orcid.core.orgs.ror.indexAllEnabled=false
+
+#Autospam config
+org.orcid.scheduler.autospam.daily.batch.size=20000
+org.orcid.message-listener.s3.accessKey=X
+org.orcid.message-listener.s3.secretKey=X
+org.orcid.scheduler.aws.bucket=auto-spam-folder
+org.orcid.scheduler.aws.file=orcidspam.csv
+org.orcid.scheduler.autospam.enabled=false
+org.orcid.scheduler.autospam.file=orcidspam.csv
+org.orcid.scheduler.autospam.daily.batch:20000
+
+
+