启动时报错ignoring option MaxPermSize=256M;support was removed in 8.0

报错详情截图

原因

报错已给出原因:JDK8中,MaxPermSize已不再支持。
设置分配给永久生成的空间(以字节为单位),如果超出该空间,则会触发垃圾回收。
此选项在JDK 8中已弃用,并由该-XX:MetaspaceSize选项取代。

尝试解决方案

在VM arguments中直接将XX:MaxPermSize删除,此方案未通过。

最终解决方案

在VM arguments(eclipse-Run-Run Configurations…-Arguments)中将XX:MaxPermSize修改为XX:MaxMetaspaceSize。

-XX:MaxMetaspaceSize=256M

END

项目启动报错ignoring option MaxPermSize=256M;support was removed in 8.0相关推荐

  1. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in

    使用jdk8的时候,出现了Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support wa ...

  2. JDK8报错:warning: ignoring option PermSize=256m; support was removed in 8.0【多测师_王sir】【杭州多测师_王sir】...

    tomcat版本由7.0升级到8.0启动时,日志报错 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; ...

  3. warning: ignoring option PermSize=256m; support was removed in 8.0

    使用jdk1.8后,控制台出现下面提示信息: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; sup ...

  4. HBase启动遇到VM warning ignoring option PermSize=128m support was removed in 8.0

    HBase启动遇到Java HotSpot™ 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed ...

  5. Springboot项目启动:报错The last packet sent successfully to the server was 0 milliseconds ago

    解决方法:修改MySQL数据库连接后面未为如下即可 ?useSSL=false&useUnicode=true&characterEncoding=utf-8&useLegac ...

  6. Linux下Tomcat项目启动报错

    Linux下Tomcat项目启动报错 org.springframework.beans.factory.CannotLoadBeanClassException: Error loading cla ...

  7. 【图文详解】SpringBoot项目启动报错:The bean ‘xxxServiceImpl‘ could not be injected as a ‘xxxServiceImpl‘ ...

    问题描述: 项目启动报错:The bean 'xxxServiceImpl' could not be injected as a 'cn.xxxx.service.xxxServiceImpl' b ...

  8. 项目启动报错No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 解决办法

    错误描述: 项目启动报错 Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is di ...

  9. SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c

    问题描述: SpringBoot项目启动报错,报错内容:'com.xxx.mapper.XxxxMapper' that could not be found ******************** ...

  10. springboot项目启动报错-案例情景介绍

    文章目录 摘要 情况1:Nacos报错 情况2:IllegalStateException: Incompatible fallbackFactory instance 情况3:idea编译java文 ...

最新文章

  1. Ember.js 入门指南——查询记录
  2. 龙芯服务器cpu支持最大数量,龙芯启动全国六个适配中心:加速生态建设
  3. 在html游戏里添加计时,如何在计时器上运行后台任务 (HTML)
  4. 区块链系统之《一种基于区块链的云数据共享方法》
  5. Python地信专题 | 基于geopandas的空间数据分析-文件IO篇
  6. sonar的安装以及使用
  7. 【Python CheckiO 题解】Flatten a List
  8. 和get redis_Springboot2连接redis哨兵模式
  9. UDK游戏开发基础命令
  10. 3.指定IP地址抓包
  11. Akari谜题(关灯问题)的开灯解法
  12. android 合并数组
  13. Choerodon猪齿鱼1.0先行版已发布!
  14. “逃离”北京来到二线城市,谈谈面试和职业规划
  15. 《抡语》 kong子 (收集)
  16. 浏览器主页被2345拦截
  17. “区块链”将彻底改变人类社会文明,颠覆世界最强大的企业
  18. 关于一些C语言代码优化的方法,我慷慨解囊了大家酌情收藏
  19. Android camera闪光灯
  20. C语言花样霓虹灯程序,LM4229显示屏的单片机按键控制多种花样霓虹灯设计报告与源码...

热门文章

  1. web developer tips (18):从工具箱粘贴或拖拽控件时进行绝对定位
  2. java8新特性——Optional (1)
  3. 线程基础阶段性总结和扩展(一)
  4. MySQL报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents .....
  5. Spring Cloud Alibaba Seata处理分布式事务及案例实战
  6. Spring Boot Web简介
  7. SpringBoot整合Sharding-JDBC实现水平分表
  8. Benchmark与Profiler---性能调优得力助手
  9. iOS AutoLayout自动布局中级开发教程(2)-等宽等高等中心
  10. HADOOP再进阶:本地Yum软件源安装Cloudera Manager 5