request.getHeader()返回的就是String啊,为什么还要toString()
2018-04-17
Failed to process import candidates for configuration class [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure]; nested exception is java.lang.ClassCastException: java.lang.UnsupportedClassVersionError cannot be cast to [Ljava.lang.Object;
2018-04-17
package com.springboot.pojo;
@Configuration
@ConfigurationProperties(prefix="com.springboot.opensource")
@PropertySource(value="classpath:resource.properties")
@Configuration
@ConfigurationProperties(prefix="com.springboot.opensource")
@PropertySource(value="classpath:resource.properties")
2018-04-14
resource.properties 文件内容:
com.springboot.opensource.name=springboot
com.springboot.opensource.website=www.springboot.com
com.springboot.opensource.language=java
com.springboot.opensource.name=springboot
com.springboot.opensource.website=www.springboot.com
com.springboot.opensource.language=java
2018-04-14
报错:Failed to parse configuration class [com.springboot.SpringbooteApplication]; nested exception is java.io.FileNotFoundException: class path resource [resource.properties] cannot be opened because it does not exist
2018-04-14