我在package psn.stats.config中有一个简单的属性配置@PropertySource("classpath:/api.properties") return new PropertySourcesPlaceholderConfigurer();}@SpringBootApplication</em
从SPRING开始,我创建了一个新的,添加了"WEB“特性,然后完成了项目的创建import org.springframework.boot.autoconfigure.SpringBootApplication;因此@SpringBootApplication注释也是不可识别的
package c
我正在尝试通过SpringBootApplication.As连接到Marklogic,这是spring应用程序的一部分,属性是在application.properties文件中定义的。我在属性文件中给出了以下四个属性,并在运行应用程序时尝试在配置file.But中使用它,它无法识别marklogic数据库并抛出异常为 "Failed to configure a DataSourceorg.springframework.boot.autoconfigur