英文:
How to run Java Spring Boot project from Github in Ubuntu
问题
我是你的中文翻译助手,以下是翻译好的内容:
我是一个Java Spring Boot的初学者。
我从https://github.com/xxpaypro/xxpay4pro下载了Java Spring Boot项目。
但是我不知道如何运行这个项目。
我甚至不知道我需要安装哪个版本的JDK。
我正在寻找能够从JDK的安装到完整运行的专家。
请帮助我!
我已经安装了Ubuntu和VS Code。
Ubuntu的版本是ubuntu-22.04.1-desktop-amd64。
然后我下载了项目。
我需要安装哪个版本的JDK才能运行这个项目?
然后,我该如何运行这个项目?
如何部署?
谢谢和诚挚的问候。
英文:
I'm a beginner in Java spring boot.
I have downloaded the Java spring boot project from https://github.com/xxpaypro/xxpay4pro.
But I don't know how to run this project.
I don't even know which version of jdk I have to install.
I am looking for experts who can help me from installation of jdk to full runing.
Help me!
I have installed Ubuntu and VS code.
Ubuntu version is ubuntu-22.04.1-desktop-amd64
Then I have downloaded project.
Which version of jdk do I have to install to this project?
Then, how can I run this project?
How can I deploy?
Thanks & Warm Regards
答案1
得分: 0
你需要安装JDK的哪个版本来运行这个项目?
请查看pom.xml文件,其中有这个项目的Java版本。
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-boot.version>2.1.7.RELEASE</spring-boot.version>
<fastjson.version>1.2.58</fastjson.version>
<mysql.connector.java.version>5.1.34</mysql.connector.java.version>
<dubbo.version>2.7.1</dubbo.version>
<binarywang.version>3.6.0</binarywang.version>
<projectRootDir>${basedir}</projectRootDir>
</properties>
但是如果你是Spring Boot的新手,你应该先阅读Spring指南。
英文:
> Which version of jdk do I have to install to this project?
Check pom.xml, there is java version for this project.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-boot.version>2.1.7.RELEASE</spring-boot.version>
<fastjson.version>1.2.58</fastjson.version>
<mysql.connector.java.version>5.1.34</mysql.connector.java.version>
<dubbo.version>2.7.1</dubbo.version>
<binarywang.version>3.6.0</binarywang.version>
<projectRootDir>${basedir}</projectRootDir>
</properties>
But if you new in Spring Boot you should read Spring Guide first.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论