The injection point has the following annotations:
时间: 2023-11-07 22:55:24 浏览: 319
The injection point has the following annotations: `@org.springframework.beans.factory.annotation.Autowired(required=true)`. This annotation is used in Spring Framework to indicate that a dependency needs to be autowired by the container. In this case, it means that the field or method where this annotation is used requires a bean of type 'java.lang.Long' to be injected, but it cannot be found in the configuration.
To resolve this issue, you can consider defining a bean of type 'java.lang.Long' in your configuration. This can be done by either annotating a class with `@Component` or using XML configuration to define a bean.
It is also worth noting that the error message mentions a specific injection point where this annotation is used. You can check that injection point and make sure that it is correctly configured.
阅读全文