package devopsdistilled.operp.client.context;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import devopsdistilled.operp.client.context.items.ItemContext;
import devopsdistilled.operp.client.context.stock.StockContext;

@Configuration
@Import({ RmiContext.class, StockContext.class, ItemContext.class })
public class AppContext {

}

package devopsdistilled.operp.client.context;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({ RmiContext.class, LocalContext.class })
public class AppContext {

}

Add LocalContext to AppContext