Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はgroovyと@ComponentScanwith-inを使用しています@Configuration
@ComponentScan
@Configuration
{"foo","bar"}Groovy 構文では、文字列配列のインライン化は許可されていません。複数のパッケージを取得するにはどうすればよいですか?
{"foo","bar"}
Javaで
@ComponentScan(basePackages = {"com.igive.services","com.igive.camel"})
Groovyでこれを行うにはどうすればよいですか??
GroovyList表記を試す
List
@ComponentScan(basePackages = ["com.igive.services","com.igive.camel"])