title: VSCode Maven project add a folder to source path
body: <p>I am trying to run a file but I am getting these errors. After clicking on &quot;add to source path&quot; seen in the screenshot below, I get the following error.
  <a href="https://i.stack.imgur.com/nH4ty.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nH4ty.png" alt="error 1" /></a></p>
  <p>This error below.
  <a href="https://i.stack.imgur.com/ulJBW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ulJBW.png" alt="error 2" /></a></p>
  <p>This is what my pom.xml file looks like. I added in configurations as seen below but it did not help.</p>
  <p></p>
  <pre><code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;pizza.shop&lt;/groupId&gt;
  &lt;artifactId&gt;demo&lt;/artifactId&gt;
  &lt;version&gt;1&lt;/version&gt;
  
  &lt;configuration&gt;
      &lt;additionalClasspathElements&gt;
        &lt;additionalClasspathElement&gt;Pizza/demo/src/main&lt;/additionalClasspathElement&gt;
        &lt;additionalClasspathElement&gt;Pizza/demo/src/main/Insert&lt;/additionalClasspathElement&gt;
        &lt;additionalClasspathElement&gt;Pizza/demo/src/main/Select&lt;/additionalClasspathElement&gt;
        &lt;additionalClasspathElement&gt;Pizza/demo/src/main/Create&lt;/additionalClasspathElement&gt;
      &lt;/additionalClasspathElements&gt;
    &lt;/configuration&gt;
  
  &lt;packaging&gt;adapter&lt;/packaging&gt;
  &lt;name&gt;demo&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;!-- Use UTF-8 as the encoding of the adapter --&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  
      &lt;!-- MobileFirst adapter deployment properties --&gt;
      &lt;mfpfUrl&gt;http://localhost:9080/mfpadmin&lt;/mfpfUrl&gt;
      &lt;mfpfUser&gt;admin&lt;/mfpfUser&gt;
      &lt;mfpfPassword&gt;admin&lt;/mfpfPassword&gt;
      &lt;mfpfRuntime&gt;mfp&lt;/mfpfRuntime&gt;
  &lt;/properties&gt;
  
  
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.ibm.mfp&lt;/groupId&gt;
          &lt;artifactId&gt;adapter-maven-api&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
          &lt;version&gt;8.0.2020110500&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.ibm.mfp&lt;/groupId&gt;
          &lt;artifactId&gt;mfp-security-checks-base&lt;/artifactId&gt;
          &lt;version&gt;[8.0.0,9.0.0)&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;8.0.26&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.ibm.mfp&lt;/groupId&gt;
              &lt;artifactId&gt;adapter-maven-plugin&lt;/artifactId&gt;
              &lt;extensions&gt;true&lt;/extensions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>What am I missing/doing wrong because <code>additionalClasspathElement</code> does not help or change anything.</p>