0
IntelliJで単一のJUnitテストを実行しているときに、@SpringJUnit4ClassRunner
に@ContextConfiguration
というtest-context-spring.xmlを指していると、起動時に次の例外が発生していました:IntelliJの単体テストで春の.propertiesファイルが見つからない
TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'int' for property ${...}
自分自身に質問してください... – DimaSan
Maven/Gradleプロジェクトとしてインポートしていないようです。これは自動的に起こったはずです。 – chrylis