在MyEclipse中为什么在第一次运行时没有错误,再次运行就出现了下面的错误

2025-02-27 16:28:18
推荐回答(2个)
回答1:


[application-context.xml]: 文件内容配置错误: 

Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'maxActive'; nested exception is java.lang.NumberFormatException: For input string: "${dbcp.maxActive}"

回答2:

把项目右键--> build path 贴出来看看