这啥错误啊 Cannot access defaults field of Properties

Cannot access defaults field of Properties


   [INFO] --- maven-war-plugin:2.2:war (default-war) @ yueyuessm ---
[WARNING] Error injecting: org.apache.maven.plugin.war.WarMojo
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) Error injecting constructor, java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties
  at org.apache.maven.plugin.war.WarMojo.<init>(Unknown Source)
  while locating org.apache.maven.plugin.war.WarMojo


img

我和你错误一样,不知道怎么解决

pom中配置properties在profile中。yml就能找到