spring新手求助!
最简单的配置了一个bean,
Way里有一个构造方法
public Way(int num) {
this.num = num;
}
然后总是报下面错:
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@67b6d4ae: defining beans [way]; root of factory hierarchy
Exception in thread "main" java.lang.IllegalArgumentException