1
在开放日食期间,我使用jdk1.8和apache-maven-3.5.0。
我在环境变量设置路径为:问题与月食中的maven
MAVEN_HOME = E:\software\apache-maven-3.5.0
path = .......;%MAVEN_HOME%\bin;%JAVA_HOME%\bin;
我在eclipse luna的安装M2E插件。
但是当我打开Eclipse,当我尝试这个“Configure” -> “Convert to Maven Project”
,我得到错误:
An internal error occurred during: "Enabling Maven Dependency Management".
Illegal type at constant pool entry 288 in class org.eclipse.m2e.core.internal.project.ResolverConfigurationIO
Exception Details:
Location:
org/eclipse/m2e/core/internal/project/ResolverConfigurationIO.stringAsProperties(Ljava/lang/String;)Ljava/util/Properties; @20: invokestatic
Reason:
Constant pool index 288 is invalid
Bytecode:
0000000: bb00 8959 b701 034c 2ac6 0019 2a12 06b6
0000010: 00fc 4d2c b801 202b ba01 3200 00b9 011e
0000020: 0200 2bb0
Stackmap Table:
append_frame(@34,Object[#137])
此外,当我右键点击我的项目,我没有找到Maven的选项,而且没有m
上的符号我在eclipse中的文件夹。
我接下来做什么?
为什么不使用一些最新的Eclipse? –