Note that there are some explanatory texts on larger screens.

plurals
  1. POGwt And Amazon S3 Integration getting error
    primarykey
    data
    text
    <pre><code> package com.wa.test.client; import com.google.gwt.core.client.EntryPoint; import com.nubotech.gwt.oss.client.OnlineStorageService; import com.nubotech.gwt.oss.client.OnlineStorageServiceFactory; import com.nubotech.gwt.oss.client.auth.Credential; public class TestAmazon implements EntryPoint { public void onModuleLoad() { Credential credential = new Credential("xyz@gmail.com", "QFTG8an1yTB"); OnlineStorageService storageService = OnlineStorageServiceFactory.getService(credential); storageService.createBucket("myFirstBucket"); } } &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;module rename-to='testamazon'&gt; &lt;!-- Inherit the core Web Toolkit stuff. --&gt; &lt;inherits name='com.google.gwt.user.User'/&gt; &lt;inherits name='com.nubotech.gwt.oss.Oss'/&gt; &lt;!-- Inherit the default GWT style sheet. You can change --&gt; &lt;!-- the theme of your GWT application by uncommenting --&gt; &lt;!-- any one of the following lines. --&gt; &lt;inherits name='com.google.gwt.user.theme.clean.Clean'/&gt; &lt;!-- &lt;inherits name='com.google.gwt.user.theme.standard.Standard'/&gt; --&gt; &lt;!-- &lt;inherits name='com.google.gwt.user.theme.chrome.Chrome'/&gt; --&gt; &lt;!-- &lt;inherits name='com.google.gwt.user.theme.dark.Dark'/&gt; --&gt; &lt;!-- Other module inherits --&gt; &lt;!-- Specify the app entry point class. --&gt; &lt;entry-point class='com.wa.test.client.TestAmazon'/&gt; &lt;!-- Specify the paths for translatable code --&gt; &lt;source path='client'/&gt; &lt;source path='shared'/&gt; ![enter image description here][1]&lt;/module&gt; </code></pre> <p>This is my code and also include jar file <code>gwt-s3-api-0.9.3</code>. Its give an error as follow:</p> <pre><code>12:40:38.347 [ERROR] [testamazon] Errors in 'jar:file:/D:/Technologies/Java/Amazon/jar/ gwt-s3-api-0.9.3.jar!/com/nubotech/gwt/oss/client/s3/MockS3OnlineStorageService.java' [ERROR] [testamazon] - Line 28: The import com.google.gwt.user.client.HTTPRequest cannot be resolved </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload