- maven project 总是出现如下错误提示:
Exception java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties [in thread "Worker-23: Building"] pom.xml /basic-struts line 1 Maven Configuration Problem
- 解决办法:
在pom.xml 的plugins添加如下:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> </plugin>
- Properties defaults Eclipse Cannot accessproperties defaults eclipse cannot properties defaults cannot access 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 乱码properties eclipse文件