当前位置: 首页 > news >正文

沧州做公司网页的公司有哪些项链seo关键词

沧州做公司网页的公司有哪些,项链seo关键词,wordpress 依赖环境,购物网站开发过程本文介绍从gitee下载nacos源码,在本地编译,并导入idea进行本地调试。 从gitee下载源码 由于github访问速度慢,所以我选择使用gitee的镜像仓库: git clone https://gitee.com/mirrors/Nacos.git本文使用2.0.2版本,所…

本文介绍从gitee下载nacos源码,在本地编译,并导入idea进行本地调试。

从gitee下载源码

由于github访问速度慢,所以我选择使用gitee的镜像仓库:

git clone https://gitee.com/mirrors/Nacos.git

本文使用2.0.2版本,所以需要切换到2.0.2分支:

cd Nacos
git checkout 2.0.2

创建一个自己的分支,用于保存笔记和代码注释:

git checkout -b my-2.0.2

本地编译

mvn -Dmaven.test.skip=true -Drat.skip=true clean install

构建发布包

mvn -Prelease-nacos -Dmaven.test.skip=true -Drat.skip=true clean install -U

这种构建方式会在distribution/target目录下生成nacos-server-2.0.2.zip包,从官网下载的就是这样的包。

但是会抛错:

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.1.0:repackage (default) on project nacos-console: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:3.1.0:repackage failed: Unable to load the mojo 'repackage' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:3.1.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/springframework/boot/maven/RepackageMojo has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0

将工程使用的spring-boot-maven-plugin版本改成2.3.8.RELEASE版本即可:

<plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><version>2.3.8.RELEASE</version>
</plugin>

idea开发环境

导入到idea

File -> Open导入即可。

启动console

找到console/src/main/java/com/alibaba/nacos/console/config/ConsoleConfig.java文件,修改PropertySource注解值:

// @PropertySource("/application.properties")
@PropertySource("classpath:application.properties")
public class ConsoleConfig {

/application.properties改为classpath:application.properties。

需要添加一些环境变量和参数:

  • -Dnacos.standalone=true
  • –logging.config=classpath:nacos-logback.xml

如果需要自定义日志就使用–logging.config指定配置文件路径。

访问console

http://localhost:8848/nacos

用户名:nacos

密码:nacos

http://www.yidumall.com/news/45873.html

相关文章:

  • 怎么做最火的视频网站自己怎么制作一个网站
  • 关于销售网站建设的短文软件开发网站
  • 电影宣传网站开发设计营销软件有哪些
  • 网站的二维码怎么做的百度做广告多少钱一天
  • 企业网站设计流程培训机构哪家好
  • 经营性网站 手续杭州企业seo
  • 旅游景点网站建设现状企业查询天眼查
  • 成都快速建站模板搜索引擎关键词怎么选
  • 西安做网站选哪家怎样做网站的优化、排名
  • dedecms做手机网站百度搜索关键词设置
  • 有没有网站专门做cnc招聘百度竞价价格
  • 做一手房的网站黄页88网络营销宝典
  • 网站建设基础代码百度快速排名软件下载
  • 做聚会的网站深圳网站开发
  • 专做企业网站的网络优化工资一般多少
  • html5移动网站开发淘宝代运营公司
  • wordpress amp设置六盘水seo
  • 马鞍山网站建设 明达内容营销是什么意思
  • wordpress打开页面很慢seo营销外包
  • o2o模式的电商平台网站有哪些seo诊断a5
  • 微网站制作价格电子商务营销的概念
  • 有哪些网站用java做的蚌埠网络推广
  • 自己如何做购物网站网站建设技术
  • 陵水网站建设装修设计公司免费推广引流平台有哪些
  • 乐从网站制作南宁网站关键词推广
  • 温州营销型网站建设深圳网络推广工资
  • 做网站先做前端好还是先做逻辑网站的优化seo
  • 中山网站建设文化价格免费开源代码网站
  • html怎么做网站设计免费网站建设哪个好
  • 武汉教育网站建设公司排名网搜网