Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ComboPooledDataSourcejavax.sql.datasource不允许实现和类型作为属性accorind 得到了intellij。我正在使用完整的弹簧堆栈版本 3.1
ComboPooledDataSource
javax.sql.datasource
尝试将此属性添加到dataSourcebean:
dataSource
<b:property name="expectedType" value="javax.sql.DataSource"/>
发生这种情况时,您是否为您的项目指定了任何 JDK?
我遇到了完全相同的问题dbcp BasicDataSource。事实证明这是因为我没有为我的项目指定 JDK。设置后,问题就消失了。
dbcp BasicDataSource