eclipse备注.txt
UP 返回
1.安装反编译插件
参文件:E:\备忘录\编程备忘录\Eclipse安装反编译插件-博客园.pdf
2.安装后一般不起作用,需要修改设置
参文件:E:\备忘录\编程备忘录\eclipse反编译插件不起作用-CSDN博客.pdf
注意最后配置.class 和 .class without source时要选中Class Decompiler Viewer后点击default
3.从别的地方引入一个项目到eclipse中,在build path中修改了jdk版本为系统版本,还会报错
报错为remove @Override annotation,是因为java Compiler中JDK版本不对应。右键项目选择最下面的properties,设置一下compile的版本即可解决
4.设置了项目的编译jdk为1.8,但是maven默认的不是,导致每次一update模块就会导致编译报错。需要在pom中指定maven编译的jdk版本
<build>
<plugins>
<!-- java编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
5.idea显示字节码插件:bytecode viewer
DOWN 返回