title: Reading multiple entity scan packages in spring boot application
body: <p>I have Spring boot application </p>
  
  <pre><code>@SpringBootApplication
  @EntityScan(basePackages = {"${scan.packages}"})
  public class MyApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(MyApplication.class, args);
      }
  </code></pre>
  
  <p>While reading  multiple entity scan packages from one property separated by comma like below?</p>
  
  <blockquote>
    <p>scan.packages=com.mycompany.model.package1 ,
    com.mycompany.model.package2</p>
  </blockquote>
  
  <p>I got this exception :</p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: Unknown entity:
    com.mycompany.model.package2.Myclass</p>
  </blockquote>