Home > Back-end >  Failed to execute goal org, apache maven. Plugins: maven - resources - the plugin: 3.2.0: res
Failed to execute goal org, apache maven. Plugins: maven - resources - the plugin: 3.2.0: res

Time:12-04

Tried some online solutions, still fail, then checked the code, and found that code is wrong, correct!

@ Configuration
Public class BankProperties {
@ Value (" ${pay. Nopassword. MaxAmountPerDeal} ")
Private Double maxAmountPerDeal;
@ Value (" $pay. Nopassword. MaxAmountTotal ")
Private Double maxAmountTotal;

Here in the second @ Value less wrote {}

CodePudding user response:

The ${val} is the said application values in the configuration file
  • Related