VirtualJDBC Connection-hybris SQuirrel

2020-09-22 21:49发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我正在尝试使用SQuirrel和...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在尝试使用SQuirrel和本地环境连接到hybris的数据源,我已经完成了下一步:-添加了以下jar的[hybris主页] \ ext-platform-optional \ virtualjdbc \ bin \ virtualjdbcserver.jar [hybris 主页] \ ext-platform-optional \ virtualjdbc \ lib \ vjdbc.jar到目录dir_squirrel/lib

当我尝试测试连接时,收到错误消息:java.sql.SQLException:java.io.IOException:服务器返回的HTTP响应代码:400 for URL: http://localhost:9001/virtualjdbc/service 位于sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876) de.simplicit.vjdbc.servlet.ServletCommandSinkJdkHttpClient.connect(ServletCommandSinkJdkHttpClient.java:54)上的sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)在de.hybris.vjdbc.VirtualConnectionBuilder.build( net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)的net.sourceforge.squirrel_sql的de.hybris.vjdbc.VirtualDriver.connect(VirtualDriver.java:70)的VirtualConnectionBuilder.java:87) net.sourceforge.squirrel_sql.client.mainframe.action.OpenConne上的.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167) 在net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand $ 1.run(OpenConnectionCommand.java:104)处的ctionCommand.access $ 000(OpenConnectionCommand.java:45)在java.util.concurrent.Executors $ RunnableAdapter.call(执行者。 java:511)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:617)at java.lang.Thread.run(Thread.java:748)

de.simplicit.vjdbc.util.SQLExceptionHelper.wrapThrowable(SQLExceptionHelper.java:61)上的
 
  在de.simplicit.vjdbc.util.SQLExceptionHelper.wrap(SQLExceptionHelper.java:17)
  在de.simplicit.vjdbc.servlet.ServletCommandSinkJdkHttpClient.connect(ServletCommandSinkJdkHttpClient.java:66)
  在de.hybris.vjdbc.VirtualConnectionBuilder.build(VirtualConnectionBuilder.java:87)
  在de.hybris.vjdbc.VirtualDriver.connect(VirtualDriver.java:70)
  在net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
  在net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
  在net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access $ 000(OpenConnectionCommand.java:45)
  在net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand $ 1.run(OpenConnectionCommand.java:104)
  在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)
  在java.util.concurrent.FutureTask.run(FutureTask.java:266)
  在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)
  在java.lang.Thread.run(Thread.java:748)

  

当我尝试使用Jasper Studio 6.5.1配置数据适配器时,会发生相同的错误,我正在使用Hybris:6.2和SQuirrel:3.8.1

错误的原因是什么?