点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
嗨朋友,
新的SCP应用程序编程模型教程需要帮助。 完成这些步骤后,本教程不会将数据从数据库中提取到UI5应用程序中,并且会引发"未连接数据库错误"
执行以下步骤。
1。 内置数据库模块。 可以在数据库浏览器中查看数据。
2。 如文档中所述构建了服务和UI模块。
能否请您帮助我了解导致数据库连接错误的原因?
下面是错误日志:
=======================================
{" write_at":" 2018-08-26T11:22:35.844Z"," write_ts":875295798676526," component_type":"应用程序"," component_id":" d660c40c-a412-4f02-83d4-a8681e9304a5" ," space_name":" dev"," component_name":" f67hun69hH2oJyFE-bookshop-srv"," component_instance":" 0"," organization_id":"-"," correlation_id":"-"," organization_name":" -"," space_id":" 18fc4795-1592-43c6-ab0e-624a0878525c"," container_id":" 10.0.137.48"," type":" log"," logger":" org.apache.tomcat.jdbc。 pool.ConnectionPool","线程":" localhost-startStop-1","级别":" ERROR","类别":[]," msg":"无法创建池的初始连接。"," stacktrace" :["" java.sql.SQLException:网址不能为空"," \ tat java.sql.DriverManager.getConnection(DriverManager.java:649)"," \ tat java.sql.DriverManager.getConnection(DriverManager.java: 208)"," \ tat org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:308)"," \ tat org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java: 203)"," \ tat org.apache.tomcat.jdbc.pool .ConnectionPool.createConnection(ConnectionPool.java:735)"," \ tat org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:667)"," \ tat org.apache.tomcat.jdbc.pool .ConnectionPool.init(ConnectionPool.java:482)"," \ tat org.apache.tomcat.jdbc.pool.ConnectionPool。
=========================================
谢谢你,最好的问候,
维纳(Venu)
(57.5 kB)
在您的my-service.cds文件中,您是否已将注释@ cds.persistence.skip添加到您的实体声明中?
嗨,即使我也遇到同样的问题。
此问题已解决,我看到了相同的问题。
一周热门 更多>