eclipse查看jar包中class的中文注释乱码问题的解决
Preferences-General-Workspace-Text file encoding 设置为uft-8,最后重启一下eclipse通常就ok了。
快捷键是 ALT + SHIFT + J,将光标放在方法名上,按快捷键。会生成上述方法注释的格式
Ctrl+ SHIFT + O 自动导包
Unsupported major.minor version 52
解决:jdk 环境变量 java_home Java Build Path-Library Compiler
Description Resource Path Location Type
org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration) pom.xml /dockerTest line 1 Maven Configuration Problem
sun.security.validator.ValidatorException: PKIX path building failed
sun.security.validator.ValidatorException: No trusted certificate found
解决:JDK证书
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK
Cannot change version of project facet Dynamic web module to 2.5
修改:org.eclipse.wst.common.project.facet.core.xml