I see there are only RCs, not 
Releases 
https://search.maven.org/artifact/org.dominokit/domino-rest-jvm/1.0.0-RC3/jar

On Tuesday, May 18, 2021 at 8:57:09 AM UTC-5 likejudo wrote:

> thanks :) It found elemental2 but gave an error on dominokit. I see it is 
> a RC not a Release. Perhaps that version number is a problem?
> Cannot resolve org.dominokit:domino-jackson-processor:1.0.0-RC1
>
> On Tuesday, May 18, 2021 at 8:28:42 AM UTC-5 [email protected] wrote:
>
>> Upps my mistake... "Version" is wrong --> "version"... here you are....
>>
>> <dependency>
>>     <groupId>com.google.elemental2</groupId>
>>     <artifactId>elemental2-core</artifactId>
>>     <version>1.1.0</version>
>> </dependency>
>>
>> Am Di., 18. Mai 2021 um 13:38 Uhr schrieb likejudo <[email protected]>:
>>
>>> IntelliJ.
>>> Unfortunately, it gives an error that "com.google.elemental2: 
>>> elemental2-core.pom:unknown" in the repo.
>>>
>>> On Tuesday, May 18, 2021 at 1:07:02 AM UTC-5 [email protected] wrote:
>>>
>>>> If you use Eclipse just create a new Maven project and add this 
>>>> dependency in the pom.xml
>>>>
>>>> <dependency>
>>>>     <groupId>com.google.elemental2</groupId>
>>>>     <artifactId>elemental2-core</artifactId>
>>>>     <version>1.1.0</Version>
>>>> </dependency>
>>>>
>>>> Then run mvn clean package
>>>>
>>>> You can do the same with IntelliJ or VSC.
>>>>
>>>> likejudo <[email protected]> schrieb am Di., 18. Mai 2021, 01:02:
>>>>
>>>>> Dr Lofi,
>>>>> What archetype did you use? I am not allowed to clone nor copy-paste 
>>>>> code into my workspace. 
>>>>> Can you please give me the "maven generate" command line you used?
>>>>>
>>>>> On Monday, May 17, 2021 at 4:53:58 PM UTC-5 likejudo wrote:
>>>>>
>>>>>> If I understand correctly,
>>>>>> I will try that but I am not allowed to clone any repo from github 
>>>>>> nor downlead any software.
>>>>>> I have been doing this POC in my personal laptop, not my workspace at 
>>>>>> work.
>>>>>>
>>>>>>
>>>>>> On Monday, May 17, 2021 at 3:52:33 PM UTC-5 [email protected] wrote:
>>>>>>
>>>>>>> Ahh forget... You need to run your local mvn first... Maybe you are 
>>>>>>> the first person who will download the Domino libs... 
>>>>>>>
>>>>>>> So please check out this project: 
>>>>>>> https://github.com/lofidewanto/stockwatcher/tree/master/stockwatcher-springboot
>>>>>>>
>>>>>>> and run 
>>>>>>> mvn clean install
>>>>>>>
>>>>>>> [email protected] schrieb am Montag, 17. Mai 2021 um 22:50:44 
>>>>>>> UTC+2:
>>>>>>>
>>>>>>>> Can you find following lib?
>>>>>>>>
>>>>>>>> <dependency>
>>>>>>>>     <groupId>com.google.elemental2</groupId>
>>>>>>>>     <artifactId>elemental2-core</artifactId>
>>>>>>>> </dependency>
>>>>>>>>
>>>>>>>> Without this one it is not possible - at least it doesn't make 
>>>>>>>> sense for me - to work with REST on GWT / JavaScript...
>>>>>>>> likejudo schrieb am Montag, 17. Mai 2021 um 22:41:24 UTC+2:
>>>>>>>>
>>>>>>>>> Unfortunately, I do not find it in our Nexus.
>>>>>>>>> In the keyword search box, I searched for  org.dominokit and then 
>>>>>>>>> I searched for domino-rest-client.
>>>>>>>>> "No results found".
>>>>>>>>>
>>>>>>>>> On Monday, May 17, 2021 at 3:06:44 PM UTC-5 [email protected] 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> If you want to use REST, you should use Domino REST simple 
>>>>>>>>>> framework for GWT, see: https://github.com/DominoKit/domino-rest
>>>>>>>>>>
>>>>>>>>>> Here is my example using REST with Domino REST for GWT: 
>>>>>>>>>> https://github.com/lofidewanto/stockwatcher/blob/3079899cb55da13f5d5bc2bd385868dc9276fd89/stockwatcher-springboot/stockwatcher-springboot-client/src/main/java/stockwatcher/client/ResponseFromServerPanel.java#L184
>>>>>>>>>>
>>>>>>>>>> If you cannot add Domino REST, we need to use a simple JavaScript 
>>>>>>>>>> API but I won't recommend that to you... Maybe you check in your 
>>>>>>>>>> Nexus 
>>>>>>>>>> first whether you can find Domino REST? It is also in Maven 
>>>>>>>>>> Central...
>>>>>>>>>>
>>>>>>>>>> https://github.com/DominoKit/domino-rest/wiki/Quick-start
>>>>>>>>>>
>>>>>>>>>> GWT 2.9.0.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> likejudo schrieb am Montag, 17. Mai 2021 um 22:00:12 UTC+2:
>>>>>>>>>>
>>>>>>>>>>> The REST example uses Postman as client, not GWT.
>>>>>>>>>>> I need to use Spring Boot for server, and GWT for client. REST 
>>>>>>>>>>> is fine if I don't have to add new libraries.
>>>>>>>>>>> (I want to avoid adding libraries like Domino to keep it simple 
>>>>>>>>>>> and not worry about yet learning another tool, availability in my 
>>>>>>>>>>> repo, and 
>>>>>>>>>>> license).
>>>>>>>>>>>
>>>>>>>>>>> Working in baby steps, I want to send a file from the GWT client 
>>>>>>>>>>> to SpringBoot server.
>>>>>>>>>>> Following the Spring docs 
>>>>>>>>>>> https://spring.io/guides/gs/uploading-files/
>>>>>>>>>>>
>>>>>>>>>>> I added a multipart file parameter, but then get a compile error
>>>>>>>>>>>
>>>>>>>>>>> My code is here: 
>>>>>>>>>>> https://github.com/1dropaflame/UploadStocks/commit/3c1599253f569c439f6d755b917be5b74140b97c
>>>>>>>>>>>
>>>>>>>>>>> @WebServlet("/stockwatcher/greet")
>>>>>>>>>>> public class GreetingServiceImpl extends RemoteServiceServlet 
>>>>>>>>>>> implements GreetingService {
>>>>>>>>>>> public GreetingResponse greetServer(@RequestParam("file") 
>>>>>>>>>>> MultipartFile file,
>>>>>>>>>>> RedirectAttributes redirectAttributes) throws 
>>>>>>>>>>> IllegalArgumentException {
>>>>>>>>>>> // Verify that the input is valid.
>>>>>>>>>>> System.out.println("greetServer is called!");
>>>>>>>>>>> I tried changing the GreetingService also but also get a compile 
>>>>>>>>>>> error:
>>>>>>>>>>>
>>>>>>>>>>> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) 
>>>>>>>>>>> @ StockWatcher-shared ---
>>>>>>>>>>> [INFO] Changes detected - recompiling the module!
>>>>>>>>>>> [INFO] Compiling 4 source files to 
>>>>>>>>>>> C:\Users\User\Documents\Learn\GWT\Nalu\StockWatcher\StockWatcher-shared\target\classes
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> -------------------------------------------------------------
>>>>>>>>>>> [ERROR] COMPILATION ERROR :
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> -------------------------------------------------------------
>>>>>>>>>>> [ERROR] 
>>>>>>>>>>> /C:/Users/User/Documents/Learn/GWT/Nalu/StockWatcher/StockWatcher-shared/src/main/java/stockwatcher/GreetingService.java:[11,38]
>>>>>>>>>>>  
>>>>>>>>>>> cannot find symbol
>>>>>>>>>>>   symbol:   class MultipartFile
>>>>>>>>>>>   location: interface stockwatcher.GreetingService
>>>>>>>>>>> [ERROR] 
>>>>>>>>>>> /C:/Users/User/Documents/Learn/GWT/Nalu/StockWatcher/StockWatcher-shared/src/main/java/stockwatcher/GreetingService.java:[11,58]
>>>>>>>>>>>  
>>>>>>>>>>> cannot find symbol
>>>>>>>>>>>   symbol:   class RedirectAttributes
>>>>>>>>>>>   location: interface stockwatcher.GreetingService
>>>>>>>>>>> [INFO] 2 errors
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> -------------------------------------------------------------
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> [INFO] Reactor Summary for StockWatcher 1.0-SNAPSHOT:
>>>>>>>>>>> [INFO]
>>>>>>>>>>> [INFO] StockWatcher ....................................... 
>>>>>>>>>>> SUCCESS [  0.075 s]
>>>>>>>>>>> [INFO] StockWatcher-shared ................................ 
>>>>>>>>>>> FAILURE [  0.835 s]
>>>>>>>>>>> [INFO] StockWatcher-client ................................ 
>>>>>>>>>>> SKIPPED
>>>>>>>>>>> [INFO] StockWatcher-server ................................ 
>>>>>>>>>>> SKIPPED
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> [INFO] Total time:  1.914 s
>>>>>>>>>>> [INFO] Finished at: 2021-05-17T14:50:09-05:00
>>>>>>>>>>> [INFO] 
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> [ERROR] Failed to execute goal 
>>>>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
>>>>>>>>>>> (default-compile) on project StockWatcher-shared: Compilation 
>>>>>>>>>>> failure: 
>>>>>>>>>>> Compilation failure:
>>>>>>>>>>> [ERROR] 
>>>>>>>>>>> /C:/Users/User/Documents/Learn/GWT/Nalu/StockWatcher/StockWatcher-shared/src/main/java/stockwatcher/GreetingService.java:[11,38]
>>>>>>>>>>>  
>>>>>>>>>>> cannot find symbol
>>>>>>>>>>> [ERROR]   symbol:   class MultipartFile
>>>>>>>>>>> [ERROR]   location: interface stockwatcher.GreetingService
>>>>>>>>>>> [ERROR] 
>>>>>>>>>>> /C:/Users/User/Documents/Learn/GWT/Nalu/StockWatcher/StockWatcher-shared/src/main/java/stockwatcher/GreetingService.java:[11,58]
>>>>>>>>>>>  
>>>>>>>>>>> cannot find symbol
>>>>>>>>>>> [ERROR]   symbol:   class RedirectAttributes
>>>>>>>>>>> [ERROR]   location: interface stockwatcher.GreetingService
>>>>>>>>>>> [ERROR] -> [Help 1]
>>>>>>>>>>> [ERROR]
>>>>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven 
>>>>>>>>>>> with the -e switch.
>>>>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug 
>>>>>>>>>>> logging.
>>>>>>>>>>> [ERROR]
>>>>>>>>>>> [ERROR] For more information about the errors and possible 
>>>>>>>>>>> solutions, please read the following articles:
>>>>>>>>>>> [ERROR] [Help 1] 
>>>>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>>>>>>> [ERROR]
>>>>>>>>>>> [ERROR] After correcting the problems, you can resume the build 
>>>>>>>>>>> with the command
>>>>>>>>>>> [ERROR]   mvn <args> -rf :StockWatcher-shared
>>>>>>>>>>> On Monday, May 17, 2021 at 12:17:58 PM UTC-5 [email protected] 
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> You need to decide first, what communication protocol you want 
>>>>>>>>>>>> to use between your Web browser (client) and your Spring Boot 
>>>>>>>>>>>> (server):
>>>>>>>>>>>>
>>>>>>>>>>>>    - GWT RPC 
>>>>>>>>>>>>    - REST 
>>>>>>>>>>>>    
>>>>>>>>>>>> In both cases you can upload your files...
>>>>>>>>>>>>
>>>>>>>>>>>> GWT RPC: 
>>>>>>>>>>>> https://stackoverflow.com/questions/9160535/is-it-possible-to-upload-a-file-via-gwt-rpc-servlets
>>>>>>>>>>>>
>>>>>>>>>>>> REST: 
>>>>>>>>>>>> https://www.websparrow.org/spring/spring-boot-rest-api-file-upload-save-example
>>>>>>>>>>>>
>>>>>>>>>>>> Hope this helps!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Am Mo., 17. Mai 2021 um 18:58 Uhr schrieb likejudo <
>>>>>>>>>>>> [email protected]>:
>>>>>>>>>>>>
>>>>>>>>>>>>> Dr Lofi,
>>>>>>>>>>>>> I need to make a file uploader for a spring boot server and 
>>>>>>>>>>>>> was looking at the generated code. I see that the Impl extends  
>>>>>>>>>>>>> RemoteServiceServlet.
>>>>>>>>>>>>> The example for file uploads however, has its own controller.
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://spring.io/guides/gs/uploading-files/
>>>>>>>>>>>>>
>>>>>>>>>>>>> @Controller public class FileUploadController { 
>>>>>>>>>>>>> .....
>>>>>>>>>>>>> @PostMapping("/") public String 
>>>>>>>>>>>>> handleFileUpload(@RequestParam("file") MultipartFile file, 
>>>>>>>>>>>>> RedirectAttributes redirectAttributes) { 
>>>>>>>>>>>>>  
>>>>>>>>>>>>> NaluKit has the servicing method in the Impl.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://github.com/1dropaflame/UploadStocks/blob/main/StockWatcher/StockWatcher-server/src/main/java/stockwatcher/GreetingServiceImpl.java
>>>>>>>>>>>>>
>>>>>>>>>>>>> @WebServlet("/stockwatcher/greet")
>>>>>>>>>>>>> public class GreetingServiceImpl extends RemoteServiceServlet 
>>>>>>>>>>>>> implements GreetingService {
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am confused which to follow.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Monday, May 17, 2021 at 11:44:33 AM UTC-5 
>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yeah, I think your Nexus is connected to Maven Central... So 
>>>>>>>>>>>>>> you would have everything which is already uploaded at Maven 
>>>>>>>>>>>>>> Central...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Other than Maven Central is difficult...
>>>>>>>>>>>>>> likejudo schrieb am Montag, 17. Mai 2021 um 16:32:00 UTC+2:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> @TBroyer, @Lofi
>>>>>>>>>>>>>>> When I looked in my employer's Nexus repo searching for 
>>>>>>>>>>>>>>> "gwt-maven-plugin" I found only the Mojo Codehaus plugin.
>>>>>>>>>>>>>>> So I assumed that we did not have it.
>>>>>>>>>>>>>>> A few days ago, I searched instead for "net.ltgt.gwt.maven" 
>>>>>>>>>>>>>>> and found it! :)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Monday, May 17, 2021 at 7:09:21 AM UTC-5 
>>>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sunday, May 16, 2021 at 5:54:51 PM UTC+2 
>>>>>>>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Yes that also fine.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The main thing: use the *TBroyer Maven plugin* instead 
>>>>>>>>>>>>>>>>> the old one or Eclipse plugin.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Except, he said several times that he couldn't: “ I don't 
>>>>>>>>>>>>>>>> have a choice. I have to use what is in my employer's 
>>>>>>>>>>>>>>>> repository.”
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>
>>>>>>>>>>>> You received this message because you are subscribed to a topic 
>>>>>>>>>>>>> in the Google Groups "GWT Users" group.
>>>>>>>>>>>>> To unsubscribe from this topic, visit 
>>>>>>>>>>>>> https://groups.google.com/d/topic/google-web-toolkit/TclImrErWMY/unsubscribe
>>>>>>>>>>>>> .
>>>>>>>>>>>>> To unsubscribe from this group and all its topics, send an 
>>>>>>>>>>>>> email to [email protected].
>>>>>>>>>>>>>
>>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>>>> https://groups.google.com/d/msgid/google-web-toolkit/2600230b-5cd3-4929-9e3c-e32f068e7511n%40googlegroups.com
>>>>>>>>>>>>>  
>>>>>>>>>>>>> <https://groups.google.com/d/msgid/google-web-toolkit/2600230b-5cd3-4929-9e3c-e32f068e7511n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>>>> .
>>>>>>>>>>>>>
>>>>>>>>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "GWT Users" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/google-web-toolkit/TclImrErWMY/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> [email protected].
>>>>>
>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/google-web-toolkit/2476923f-0d35-4d1f-8714-1cd7c58c7948n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/google-web-toolkit/2476923f-0d35-4d1f-8714-1cd7c58c7948n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "GWT Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/google-web-toolkit/TclImrErWMY/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit/6c19050b-ab43-4ce8-ac4d-b469b74d47b0n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-web-toolkit/6c19050b-ab43-4ce8-ac4d-b469b74d47b0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0946249b-68a5-411c-a7da-401c6b8065cfn%40googlegroups.com.

Reply via email to