title: GWT compiler doesn't find javax libraries
body: <p>I'm new to GWT and trying to run my fist GWT app. I have classes that uses API from javax.persistence package. When I try to compile the code using GWT compiler it fails for not being able to find the mentioned package in the classpath. I have the libraries added to the class though.</p>
  
  <pre><code>&lt;property name="gwt.sdk" location="C:/gwt-2.4.0" /&gt;
  &lt;!-- Arguments to gwtc and devmode targets --&gt;
  &lt;property name="gwt.args" value="" /&gt;
  &lt;path id="gwt.class.path"&gt;
      &lt;fileset dir="${devLib}"&gt; &lt;!-- here is all the dependent libraries--&gt;
          &lt;include name="*.jar" /&gt;
      &lt;/fileset&gt;
      &lt;pathelement location="${gwt.sdk}/gwt-user.jar"/&gt;
      &lt;fileset dir="${gwt.sdk}" includes="gwt-dev*.jar"/&gt;
  &lt;/path&gt;
  
  &lt;target name="gwtc" description="GWT compile to JavaScript (production mode)"&gt;
      &lt;echo message="${gwt.class.path}"/&gt;
      &lt;java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler"&gt;
          &lt;classpath&gt;
              &lt;path refid="gwt.class.path"/&gt;
              &lt;pathelement location="gwt/project/src"/&gt;
          &lt;/classpath&gt;
          &lt;!-- add jvmarg -Xss16M or similar if you see a StackOverflowError --&gt;
          &lt;jvmarg value="-Xmx256M"/&gt;
          &lt;arg line="-war"/&gt;
          &lt;arg value="web/five/gwtUI"/&gt;
          &lt;!-- Additional arguments like -style PRETTY or -logLevel DEBUG --&gt;
          &lt;arg line="${gwt.args}"/&gt;
          &lt;arg value="org.scheduling.Scheduling"/&gt;
      &lt;/java&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>here is the error that I see when run the ant target gwtc. Can someone help me to correct this?</p>
  
  <pre><code>[java] Compiling module org.scheduling.Scheduling
   [java]    Validating newly compiled units
   [java]       Ignored 91 units with compilation errors in first pass.
   [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   [java]    Computing all possible rebind results for 'com.google.gwt.user.client.UserAgentAsserter'
   [java]       Rebinding com.google.gwt.user.client.UserAgentAsserter
   [java]          Checking rule &lt;generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/&gt;
   [java]             [WARN] Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are validation-api-&lt;version&gt;.jar and validation-api-&lt;version&gt;-sources.jar on the classpath?
   [java]             Specify -logLevel DEBUG to see all errors.
   [java]             [WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
   [java]    Scanning for additional dependencies: file:/C:/Tolven_skandula/org.component.scheduling/gwt/project/src/org/scheduling/gwt/common/client/SchedulingEntryPoint.java
   [java]       Computing all possible rebind results for 'org.scheduling.common.service.SchedulingService'
   [java]          Rebinding org.scheduling.common.service.SchedulingService
   [java]             Checking rule &lt;generate-with class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/&gt;
   [java]                [ERROR] Errors in 'file:/C:/Tolven_skandula/org.component.scheduling/gwt/project/src/org/scheduling/common/model/Appointment.java'
   [java]                   [ERROR] Line 5: The import javax.persistence cannot be resolved
   [java]                   [ERROR] Line 6: The import javax.persistence cannot be resolved
   [java]                   [ERROR] Line 7: The import javax.persistence cannot be resolved
   [java]                   [ERROR] Line 8: The import javax.persistence cannot be resolved
   [java]                   [ERROR] Line 9: The import javax.persistence cannot be resolved
  </code></pre>