云效运行时warning怎么办?Picked up JAVA_TOOL_OPTIONS: -javaagent:/home/admin/.opt/ArmsAgent/arms-bootstrap-1.7.0-SNAPSHOT.jar -Dmse.enable=true -Doneagent.region=cn-hangzhou -Dmse.licenseKey=co65y35gsv@6f2a735dd44d812 -Dmse.appId=co65y35gsv@a380193ce891bcf -Dmse.appName=bishan-dev-portal-dev-v162
2024-02-06 14:09:20 [INFO ](AliyunJavaAgentBootstrap) Set MSE system property success: profiler.micro.service.auth.enable=true~profiler.micro.service.canary.enable=true~profiler.micro.service.metadata.report.enable=true~profiler.micro.service.mock.enable=true~profiler.micro.service.http.server.enable=true~profiler.micro.service.http.server.port=54199~
2024-02-06 14:09:20 [INFO ](AliyunJavaAgentBootstrap) Set ONE_AGENT_PROPERTY success: mse.enable=true~mse.regionId=cn-hangzhou~mse.licenseKey=co65y35gsv@6f2a735dd44d812~mse.appId=co65y35gsv@a380193ce891bcf~mse.appName=bishan-dev-portal-dev-v162~mse.namespace=default~oneagent.plugin.arms-agent.enabled=true~oneagent.plugin.mse-agent.enabled=true~ahas.sentinel.prefix.spring.webmvc.enabled=true~ahas.switch.agent.plugin.group.enabled=true~profiler.micro.service.mse.version=pro~
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
2024-02-06 14:09:20 [INFO ](AliyunJavaAgentBootstrap) Load Aliyun Java Agent (previously known as Arms Agent) version: 3.0.7, report to region: cn-hangzhou
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
2024-02-06 14:09:26 [INFO ](AliyunJavaAgentBootstrap) arms agent start cost: 6397ms
no main manifest attribute, in /app/bishan-dev-portal-start-1.0.1-SNAPSHOT.jar
no main manifest attribute, in /app/bishan-dev-portal-start-1.0.1-SNAPSHOT.jar正常的启动日志是没有这一行的, 之后应该是spring-boot启动的日志了, 但是现在到这儿就没了
云效运行时的warning可能是由于代码中的某些不规范或者不推荐的做法导致的。虽然这些警告不会直接影响程序的运行,但是为了提高代码质量和可读性,建议尽量解决这些警告。
解决方法如下:
如果警告无法消除,可以考虑使用注释或者特殊的标记来说明为什么保留这个警告,以便其他开发者了解情况。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。