I am working on a SpringMVCweb app and trying to simply connect to an Oracle database DriverManagerDataSource ds = new DriverManagerDataSource();
ds.setDriverClassName/spring-boot
目前,我正在尝试使用JDBC将Spring应用程序链接到我的Oracle数据库。当我最初编译和运行我的项目时,没有出现任何问题。当我试图使用application.properties文件中的预定端口连接到浏览器中的本地主机时,我从浏览器中得到以下错误消息:
There was an unexpected error (typeSpringboot 2.1.8发布Apache 18.3.0.
此错误仅在某些计算机中发生。通过读取堆栈信息,当我在静态类中调用这个静态方法("FormatQuery")时,会出现一些问题:using System.Collections.Generic; at XSoftArt.EVS.ReportHelper.FormatQuery(CheckedListBox chekedListBox)
at XSoftArt.EVS.NewEmailSelectClient.LoadList_v2