问题描述:项目调试阶段一直处于,The application is running很久

刚开始时,按这个问题查询了一些解决方法,以为是电脑的配置原因,修改了响应时间,但是还是不行。

然后,看到了输出台的状态,结果看到了 Console里出现ERROR 21556 --- [eate-1199894489]com.alibaba.druid.pool.DruidDataSource   : create connection SQLException

 然后就开始根据这个错误在网上搜索解决办法,第一个想到的是,mysql的版本与连接数据库的JDBC的版本不匹配,此时也发现自己的数据源配置中的登陆密码,没有设置对,改了回来,也根据网上的方法,添加了对应的JDBC版本,但还是报错。

然后就开始看自己的数据库,结果发现数据库的命名多了一个字母!!!!真狗啊

然后重新创建数据库,重新添加sql数据。成功解决。

总结:主要解决办法,首先就是要确定自己的数据源配置,用户名、端口号、登陆密码这些基本信息的对应。

        其次就是要确定自己的mysql版本与连接数据库JDBC版本要对应。

        最后,我这里的错误就是,数据库的命名,要和在调用时的保持一致,真的还是细心。不要急躁。!!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
iOS应用程序编程指南 英文版 Contents Introduction About iOS Application Design 9 Understanding the iOS Runtime Environment 10 Designing the Core of Your Application 10 Supporting Common Application Behaviors 10 Executing Code in the Background 10 Meeting the App Store and System Requirements 11 Tuning Performance for the Underlying Device 11 See Also 11 Chapter 1 The Application Runtime Environment 13 Fast Launch, Short Use 13 Specialized System Behaviors 13 The Virtual Memory System 13 The Automatic Sleep Timer 14 Multitasking Support 14 Security 14 The Application Sandbox 14 File Protection 15 Keychain Data 16 The File System 16 A Few Important Application Directories 16 A Case-Sensitive File System 18 Sharing Files with the User’s Desktop Computer 18 Backup and Restore 18 What Is Backed Up? 18 Files Saved During Application Updates 19 iOS Simulator 19 Determining the Available Hardware Support 19 Chapter 2 The Core Application Design 23 Fundamental Design Patterns 23 The Core Application Objects 24 The Application Life Cycle 27 The main Function 28 The Application Delegate 29 Understanding an Application’s States and Transitions 29 Multitasking 36 Checklist for Supporting Multitasking 37 Being a Responsible, Multitasking-Aware Application 37 3 2011-02-24 | © 2011 Apple Inc. All Rights Reserved. Responding to System Changes While in the Background 39 Opting Out of Background Execution 41 Windows, Views, and View Controllers 41 The Event-Handling System 42 The Graphics and Drawing System 44 The Text System 44 Audio and Video Support 46 Integration with the Hardware and System Applications 46 Chapter 3 Implementing Common Application Behaviors 49 Preserving the State of Your Application’s User Interface 49 Launching in Landscape Mode 50 Adding Support for AirPlay 50 Files and the File System 51 Getting Paths to Standard Application Directories 51 Sharing Files with the User 52 Working with Protected Files 53 Opening Files Whose Type Is Unknown 54 Implementing Support for Custom File Formats 56 Communicating with Other Applications 58 Implementing Custom URL Schemes 59 Registering Custom URL Schemes 59 Handling URL Requests 60 Displaying Application Preferences 62 Turning Off Screen Locking 63 Chapter 4 Executing Code in the Background 65 Determining Whether Multitasking Support Is Available 65 Declaring the Background Tasks You Support 65 Implementing Long-Running Background Tasks 66 Tracking the User’s Location 66 Playing Background Audio 67 Implementing a VoIP Application 68 Completing a Finite-Length Task in the Background 70 Scheduling the Delivery of Local Notifications 71 Chapter 5 Implementing Application Preferences 73 The Settings Application Interface 73 The Settings Bundle 75 The Settings Page File Format 76 Hierarchical Preferences 76 Localized Resources 77 Creating and Modifying the Settings Bundle 78 4 2011-02-

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值