webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)如果遇到IDEA 在运行maven打war的时候,提示报错:
Cannot access defaults field of Properties
解决办法是要在pro.xml文件下添加以下插件,才可以打包war包
打包jar包不添加也是没有问题的
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.2.0</version> </plugin> </plugins> </build>
- Properties defaults Cannot access fieldproperties defaults cannot access properties defaults eclipse cannot 39 default sqlexception field properties undefined reading cannot properties typeerror reading cannot pickalgorithm properties reading cannot parentelement properties reading cannot elementplus properties reading cannot access properties reflective operation access_token undefined property cannot