@Slf4j
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:applicationContext_test.xml")
public class TestInsertIntoStock {
	
	@Autowired
	private PubService pubService;
	static {
		HSFEasyStarter.startFromPath(TestConstants.HSF_PATH);
	}


public interface TestConstants {

	public static final String HSF_PATH="D:/taobao-tomcat-7.0.59/deploy";
}


Caused by: HSFServiceAddressNotFoundException-
Desc info:[HSF-Consumer] The target address of the service that needs to be called is not found:com.bosideng.bsdyun.stock.service.IscCorpStockService:1.0.5_dev group:bsdHSFGroupTest ERR-CODE: [HSF-0001], Type: [ENV Problems], More: [http://console.taobao.net/help/HSF-0001]
  at com.taobao.hsf.remoting.service.RPCProtocolTemplateComponent.invoke0(RPCProtocolTemplateComponent.java:456)
  at com.taobao.hsf.remoting.service.RPCProtocolTemplateComponent.invokeWithMethodObject(RPCProtocolTemplateComponent.java:210)
  at com.taobao.hsf.process.component.ProcessComponent$HSFServiceProxy.trueInvoke(ProcessComponent.java:309)
  at com.taobao.hsf.process.component.ProcessComponent$HSFServiceProxy.invoke(ProcessComponent.java:294)
  ... 43 more


这个错误是因为服务中心的代码没有部署到开发环境