[ 
https://issues.apache.org/jira/browse/TUBEMQ-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108088#comment-17108088
 ] 

viviel commented on TUBEMQ-121:
-------------------------------

I think we can solve this problem by specifying the version in the maven jdk 
configuration

 

Specific plan:


The jdk version of the parent tube project is set to 1.7, so that the default 
jdk version of all child modules is 1.7. After that, we separately specified 
the jdk version of the server module as 1.8, so that these problems can be 
discovered and solved during the development stage

> Fix compilation alarm
> ---------------------
>
>                 Key: TUBEMQ-121
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-121
>             Project: Apache TubeMQ
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Guocheng Zhang
>            Assignee: Guocheng Zhang
>            Priority: Major
>              Labels: easyfix, pull-request-available
>             Fix For: 0.5.0
>
>         Attachments: image-2020-05-15-14-57-51-043.png
>
>
> When I compile the main code, some errors are as follows:
> !image-2020-05-15-14-57-51-043.png!
> There are some points to note when setting up TubeMQ: compile client and core 
> need to use 1.7 environment, and compile server need to use 1.8 environment. 
> The main consideration is that the user environment may be 1.7. I will 
> mention PR to fix it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to