This topic describes how to troubleshoot the error whose code is HSF-0005. This error may be reported when you run your applications.

Error message

Error message returned during application startup:

java.lang.IllegalArgumentException. This error message is returned if the object to be published as a service is not configured. The service name is com.taobao.hsf.jar.test.HelloWorldService:1.0.zhouli.

Causes and solutions

  • The target attribute is missing from the bean of the service provider. Check the configuration file.
  • The implementation class of the service specified by target does not exist. Check the configuration file.