警告请求的配置文件“pom.xml”无法激活,因为它不存在 [英] WARNING The requested profile "pom.xml" could not be activated because it does not exist

查看:4221
本文介绍了警告请求的配置文件“pom.xml”无法激活,因为它不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行maven目标:验证并继续获取:[警告]请求的配置文件pom.xml无法激活,因为它不存在。



在我的org.eclipse.m2e.core.prefs:

  activeProfiles = pom.xml 
eclipse.preferences .version = 1
resolveWorkspaceProjects = true
version = 1

做错?

解决方案


  1. 右键点击您的项目

  2. 转到运行方式

  3. 转到运行配置...

  4. 当屏幕打开时,请删除pom。 xml,然后点击运行。

该项目将运行。 b
$ b


I am trying to run maven goal: validation and keep getting: [WARNING] The requested profile "pom.xml" could not be activated because it does not exist.

In my org.eclipse.m2e.core.prefs:

activeProfiles=pom.xml
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

What did I do wrong?

解决方案

  1. Right click on your project
  2. Go to "Run as"
  3. Go to "Run configurations... "
  4. When the screen opens, please delete the word "pom.xml" from the "Profiles:" line and then click "Run".

The project will now run.

这篇关于警告请求的配置文件“pom.xml”无法激活,因为它不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆