Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java AspectJ没有使用eclipse:eclipse添加到类路径_Java_Eclipse_Maven_Aspectj_Maven Eclipse Plugin - Fatal编程技术网

Java AspectJ没有使用eclipse:eclipse添加到类路径

Java AspectJ没有使用eclipse:eclipse添加到类路径,java,eclipse,maven,aspectj,maven-eclipse-plugin,Java,Eclipse,Maven,Aspectj,Maven Eclipse Plugin,我正在执行以下命令 mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:clean \ org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse 我的所有依赖项都在类路径中,但是AspectJ没有添加到类路径中。我在pom.xml依赖项列表中声明了它们 如果我使用其他版本的eclipse插件,它会在哪里工作…如果没有关于maven eclipse插件配置的详细信息,很难说,

我正在执行以下命令

mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:clean \
    org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse
我的所有依赖项都在类路径中,但是AspectJ没有添加到类路径中。我在pom.xml依赖项列表中声明了它们


如果我使用其他版本的eclipse插件,它会在哪里工作…

如果没有关于maven eclipse插件配置的详细信息,很难说,但是,好吧,这应该是可行的。也许可以看看(和相关的问题)。基本上,问题建议设置以下参数(和值):

在eclipse插件的配置中添加
none
。这应该可以解决问题


出于好奇,您为什么要使用2.6版?

如果没有关于maven eclipse插件配置的详细信息,很难说,但好吧,这应该是可行的。也许可以看看(和相关的问题)。基本上,问题建议设置以下参数(和值):

在eclipse插件的配置中添加
none
。这应该可以解决问题


出于好奇,为什么要使用2.6版?

使用该命令


插件:maven eclipse plugin:2.6:clean org.apache.maven.plugins:maven eclipse plugin:2.6:eclipse-Declipse.ajdtVersion=none使用该命令


插件:maven eclipse插件:2.6:clean org.apache.maven.plugins:maven eclipse插件:2.6:eclipse-Declipse.ajdtVersion=none

我之所以使用2.6,是因为在使用命令“mvn eclipse:eclipse”时,2.7存在已知问题,没有生成类路径文件,并给出了maven错误(抱怨多个相同类型的条目,如..)我之所以使用2.6是因为2.7中的已知问题,而使用命令“mvn eclipse:eclipse”时没有生成类路径文件并给出maven错误(抱怨多个相同类型的条目,如..)