package com.rewayaat;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * Main entrypoint to rewayaat app.
 */
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.rewayaat.config", "com.rewayaat.controllers"})
public class RewayaatApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(RewayaatApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(RewayaatApplication.class, args);
    }
}
package com.rewayaat;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * Main entrypoint to rewayaat app.
 */
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.rewayaat.config", "com.rewayaat.controllers",
    "com.rewayaat.service"})
public class RewayaatApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(RewayaatApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(RewayaatApplication.class, args);
    }
}
Update spring base packages scan list
Update spring base packages scan list
