The driver has been copied to the class path directory, and the specified class is not found, and then "jakarta-tomcat-5.0.28" for "jboss-4.0.2"
Org. springframework. jdbc. cannotGetJdbcConnectionException: cocould not get JDBC Connection; nested exception is org. apache. commons. dbcp. SQLNestedException: Cannot load JDBC driver class 'com. microsoft. jdbc. sqlserver. SQLServerDriver'
Org. apache. commons. dbcp. SQLNestedException: Cannot load JDBC driver class 'com. microsoft. jdbc. sqlserver. SQLServerDriver'
At org. apache. commons. dbcp. BasicDataSource. createDataSource (BasicDataSource. java: 766)
At org. apache. commons. dbcp. BasicDataSource. getConnection (BasicDataSource. java: 540)
At org. springframework. jdbc. datasource. performanceutils. doGetConnection (performanceutils. java: 107)
At org. springframework. jdbc. datasource. performanceutils. getConnection (performanceutils. java: 77)
At org.springframework.jdbc.core.JdbcTemplate.exe cute (JdbcTemplate. java: 440)
At org. springframework. jdbc. core. JdbcTemplate. query (JdbcTemplate. java: 506)
At org. springframework. jdbc. core. JdbcTemplate. query (JdbcTemplate. java: 545)
At org. springframework. jdbc. core. JdbcTemplate. query (JdbcTemplate. java: 563)
At org. springframework. jdbc. core. JdbcTemplate. query (JdbcTemplate. java: 573)
At org. springframework. jdbc. core. JdbcTemplate. query (JdbcTemplate. java: 593)
At com. rongji. WeChat chat. dao. UserDAOImpl. getUsers (UserDAOImpl. java: 31)
At com.rongji.rjchat.struts.action.SendMessageAction.exe cute (SendMessageAction. java: 42)
At org.springframework.web.struts.DelegatingActionProxy.exe cute (DelegatingActionProxy. java: 106)
At org. apache. struts. action. RequestProcessor. processActionPerform (RequestProcessor. java: 484)
At org. Apache. Struts. Action. requestprocessor. Process (requestprocessor. Java: 274)
At org. Apache. Struts. Action. actionservlet. Process (actionservlet. Java: 1482)
At com. Rongji. Chat. Struts. actionservlet. Process (actionservlet. Java: 24)
At org. Apache. Struts. Action. actionservlet. dopost (actionservlet. Java: 525)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 709)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 802)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 237)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 157)
At org. Apache. Catalina. Core. standardwrappervalve. Invoke (standardwrappervalve. Java: 214)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardcontextvalve. invokeinternal (standardcontextvalve. Java: 198)
At org. Apache. Catalina. Core. standardcontextvalve. Invoke (standardcontextvalve. Java: 152)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardhostvalve. Invoke (standardhostvalve. Java: 137)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Valves. errorreportvalve. Invoke (errorreportvalve. Java: 118)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 102)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardenginevalve. Invoke (standardenginevalve. Java: 109)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. containerbase. Invoke (containerbase. Java: 929)
At org. Apache. Coyote. tomcat5.coyoteadapter. Service (coyoteadapter. Java: 160)
At org. Apache. Coyote. http11.http11processor. Process (http11processor. Java: 799)
At org. Apache. Coyote. http11.http11protocol $ http11connectionhandler. processconnection (http11protocol. Java: 705)
At org.apache.tomcat.util.net. tcpworkerthread. Runit (pooltcpendpoint. Java: 577)
At org. Apache. tomcat. util. threads. threadpool $ controlrunnable. Run (threadpool. Java: 683)
At java. Lang. thread. Run (thread. Java: 595)
Caused by: Java. Lang. classnotfoundexception: COM. Microsoft. JDBC. sqlserver. sqlserverdriver
At org. Apache. Catalina. loader. standardclassloader. loadclass (standardclassloader. Java: 854)
At org. Apache. Catalina. loader. standardclassloader. loadclass (standardclassloader. Java: 721)
At java. Lang. classloader. loadclassinternal (classloader. Java: 319)
At java. Lang. Class. forname0 (native method)
At java. Lang. Class. forname (class. Java: 164)
At org. Apache. commons. DBCP. basicdatasource. createdatasource (basicdatasource. Java: 760)
... 43 more