记录Bug
1.idea不能导入本地类,由于本地类文件过大。
解决:需要在idea/bin/idea.properties下设置 idea.max.intellisense.filesize=2500 改为 99999 或者更大的数字。
2.出现spring boot Configuration Annotation Proessor not found in classpath的提示是在用了@ConfigurationProperties这个注解时,所以问题出现在ConfigurationProperties注解。
解决:官方方法,引入依赖,并添加注解@EnableConfigurationProperties(DBConfig2.class)
<dependency>
<groupId> org.springframework.boot </groupId>
<artifactId> spring-boot-configuration-processor </artifactId>
<optional> true </optional>
</dependency>
3.出现tomcat build的时候编译一直报compiler或者outOfMemory的问题,产生这个问题的原因是idea在build heap size 应该调试成大一点,idea中默认的大小事700 这里我们应该调成3000 。


浙公网安备 33010602011771号