不改变操作系统的条件下,在idea中将当前环境定为Linux
摘要:1、进入Edit Configurations 2、在VM options栏填上: -Dos.name=linux
阅读全文
posted @
2020-12-15 21:41
A_yun
阅读(469)
推荐(0)
idea 2020 如何启用run dashboard
摘要:写Spring Cloud项目时,通常有多个模块,运行起来不好管理,需要 run dashboard。 idea2020中没有 run dashboard,而是换成了Services。 1、在Views里面找到Services,如下图: 2、此时会发现idea底栏多了Services 3、点开底栏的
阅读全文
posted @
2020-11-22 09:38
A_yun
阅读(1441)
推荐(0)
springboot +jsp项目打包部署到华为云服务器
摘要:注:打包之前先保证你的项目本地运行没问题。 一、打包 打包有两种方式,打成jar包和打成war包。因为springboot有内置的服务器,所以选择打成jar包,这样云服务器就不用装tomcat了。 打包需要向pom.xml文件添加一些内容: (1)添加打包方式:jar (2)添加resources标
阅读全文
posted @
2020-07-15 16:38
A_yun
阅读(1100)
推荐(0)
springboot入门遇到Whitelabel Error Page错误
摘要:错误页面: 解决方法: 启动类要放在最外层,改成下面的
阅读全文
posted @
2020-06-28 10:25
A_yun
阅读(331)
推荐(0)
idea报错cannot resolve symbol servlet
摘要:解决方法:在project structure中导入包。该包在tomcat安装目录的lib文件夹。导入之后点击Apply。
阅读全文
posted @
2020-05-27 15:37
A_yun
阅读(389)
推荐(0)