无法解析字符串值中的占位符 'database.driverClassName'
Could not resolve placeholder 'database.driverClassName' in string value
当服务器开始工作时 (Tomcat),日志显示此错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in file [D:\workspace-sts-3.5.0.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\App\WEB-INF\classes\META-INF\spring\applicationContext.xml]: Could not resolve placeholder 'database.driverClassName' in string value "${database.driverClassName}"
${database.driverClassName}
是驱动程序类名的占位符。您必须在配置文件中指定它或在应用程序启动时将其指定为参数。
当服务器开始工作时 (Tomcat),日志显示此错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in file [D:\workspace-sts-3.5.0.RELEASE\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\App\WEB-INF\classes\META-INF\spring\applicationContext.xml]: Could not resolve placeholder 'database.driverClassName' in string value "${database.driverClassName}"
${database.driverClassName}
是驱动程序类名的占位符。您必须在配置文件中指定它或在应用程序启动时将其指定为参数。