首页 新闻 会员 周边 捐助

Cannot create JDBC driver of class 'com.microsoft.

0
[已关闭问题] 关闭于 2010-06-07 16:36

我用的是MyEclipse 8.5 M1+Tomcat 6.0+SQL server 2008

问题补充: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"> </property> <property name="url" value="sqlserver.jdbc://127.0.0.1:1433;DatabaseName=str"></property> <property name="username" value="sa"></property> <property name="password" value="sa"></property> </bean> <!-- <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> --> <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="dataSource"> <ref bean="dataSource" /> </property> <property name="hibernateProperties"> <props> <prop key="hibernate.dialect"> <!-- org.hibernate.dialect.SQLServerDialect --> com.microsoft.jdbc.sqlserver.SQLServerDriver </prop> <prop key="show_sql">true</prop> <prop key="hibernate.format_sql">true</prop> <prop key="hibernate.use_sql_comments">true</prop> <prop key="hibernate.hbm2ddl.auto">update</prop> </props> </property> <proper
翾的主页 | 初学一级 | 园豆:193
提问于:2010-06-02 12:55
< >
分享
所有回答(1)
0

http://www.google.com.hk/search?hl=zh-CN&newwindow=1&safe=strict&rlz=1G1GGLQ_ZH-CNCN370&q=Cannot+create+JDBC+driver+of+class+%27com.microsoft&btnG=Google+%E6%90%9C%E7%B4%A2&aq=f&aqi=g3&aql=&oq=&gs_rfai=

 

不得不说博客园的PR值真高..

Astar | 园豆:40805 (高人七级) | 2010-06-02 14:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册