首页 > 其他分享 >Cannot access defaults field of Properties问题的解决

Cannot access defaults field of Properties问题的解决

时间:2023-03-20 16:13:14浏览次数:38  
标签:插件 Properties access field Cannot war

 项目打包时,缺少war包的插件。

 

解决方案:在pom.xml文件中加入war包插件

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>3.3.1</version>
            </plugin>

 

标签:插件,Properties,access,field,Cannot,war
From: https://www.cnblogs.com/LinxhzZ/p/17236659.html

相关文章