question

Upvotes
Accepted
0 0 1 2

we getting Error while building Real-time SDK application on docker Image

we are using Jenkins pipeline to create docker image but we are getting below error while building Real-time-SDK on docker Image.

docker image :gradle:7.3.3-jdk17-alpine

11:49:25 #25 37.69 * What went wrong:

11:49:25 #25 37.69 A problem occurred evaluating project ':Java'.

11:49:25 #25 37.70 > Could not find method wrapper() for arguments [build_arduxfpezttd6ihaovk07vv1q$_run_closure7@47110717] on project ':Java' of type org.gradle.api.Project.


Also we tried to remove below and tried but we are getting error

wrapper {

gradleVersion = '7.3.3'

}


Error:

12:05:22 #25 66.43 > Task :Core:compileJava

12:05:22 #25 66.43 /home/gradle/Core/src/main/java/com/refinitiv/ema/access/DataImpl.java:12: error: package com.refinitiv.eta.valueadd.common does not exist

12:05:22 #25 66.43 import com.refinitiv.eta.valueadd.common.VaNode;

12:05:22 #25 66.44 ^

12:05:22 #25 66.44 /home/gradle/Core/src/main/java/com/refinitiv/ema/access/DataImpl.java:16: error: cannot find symbol

12:05:22 #25 66.44 class DataImpl extends VaNode implements Data

12:05:22 #25 66.44 ^

12:05:22 #25 66.44 symbol: class VaNode


Kindly please help on this issue.

#technologyema-api#productjavaeta-apirefinitiv-realtime-optimiseddocker
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@saimahesh.mummaneni

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvote
Accepted
24.6k 54 17 14

Hi @saimahesh.mummaneni

I am not sure if it is a good idea to build the entire RTSDK package with Docker. You should build only the code and configurations you need.

There is the Refinitiv Real-Time Java Docker Image that is built on top of Oracle Linux. The goal of this image is for SDK learning only, not for production use.

I highly recommend you contact the RTSDK Dev team via the RTSDK GitHub page if you really need to build the entire RTSDK package with Docker.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.