How can I use
<
It appears that you cannot use the simple class name instead of the fully qualified class name, as this Stack Overflow article discusses (and q.v. the Spring documentation itself), unless your bean oneId
serves only as a parent for child beans.
However, if you use annotations instead of the XML descriptor files, you can use the simple class name OneClass
and allow the import statement to handle the messiness of the package name qualifier.