Spring Boot 谷粒学院、谷粒商城项目问题汇总

解决办法:

![](https://img-blog.csdnimg.cn/20200616203234778.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naG

【一线大厂Java面试题解析+核心总结学习笔记+最新架构讲解视频+实战项目源码讲义】

浏览器打开:qq.cn.hn/FTf 免费领取

VpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2d1b3J1aV9qYXZh,size_16,color_FFFFFF,t_70)

2、If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).


解决办法:

在启动类上加:

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})

3、 java.io.FileNotFoundException: class path resource [application.properties] cannot be opened because it does not exist


4、swagger


【Spring Boot swagger 】Unable to infer base url… Please enter the location manually

解决办法:在启动类加入

@EnableSwagger2

5、P98  easyExcel导入Excel文件时,报错


Caused by: java.lang.NoClassDefFoundError: net/sf/cglib/beans/BeanMap

暂时未解决!

6、aliyun-java-vod-upload飘红


mvn install:install-file  -DgroupId=com.aliyun  -DartifactId=aliyun-sdk-vod-upload -Dversion=1.4.11 -Dpackaging=jar  -Dfile=aliyun-java-vod-upload-1.4.11.jar

aliyun-java-vod-upload依旧飘红

你可能感兴趣的:(程序员,面试,java,后端)