title: Object apache is not a member of package org
body: <pre><code>import org.apache.tools.ant.Project
  
  object HelloWorld {
     def main(args: Array[String]) {
        println("Hello, world!")
     }
  }
  </code></pre>
  
  <p>I tried to run this code using following command:</p>
  
  <pre><code>java -cp D:\tools\apache-ant-1.7.0\lib\ant.jar;D:\tools\scala-2.9.1.final\lib\scala-compiler.jar;D:\tools\scala-2.9.1.final\lib\scala-library.jar -Dscala.usejavacp=true scala.tools.nsc.MainGenericRunner D:\test\scala\ant.scala
  </code></pre>
  
  <p><strong>There is following error:</strong>  </p>
  
  <pre><code>D:\test\scala\ant.scala:1: error: object apache is not a member of package org
  import org.apache.tools.ant.Project
             ^
  one error found
  </code></pre>
  
  <p>What is wrong?</p>
  
  <p><strong>UPDATE:</strong><br>
  As I can see it is impossible to import any org.xxx package.<br>
  The same problem with javax.xml.xxx package.  </p>
  
  <pre><code>D:\test\test2.scala:2: error: object crypto is not a member of package javax.xml
  import javax.xml.crypto.Data
                   ^
  one error found  
  </code></pre>
  
  <p>Actually I cannot import anything!</p>
  
  <pre><code>D:\test\test3.scala:3: error: object test is not a member of package com
  import com.test.utils.ant.taskdefs.SqlExt
             ^
  one error found
  </code></pre>