已有101人关注
配套光盘源代码导入到idea无法运行
发表在Java图书答疑 2021-06-01 《Java项目开发实战入门》第2章 通讯录系统
是否精华
版块置顶:

环境为jdk-16.0.1,mysql8.0.24,IntelliJ IDEA        以下为导入代码后运行错误

"C:\Program Files\Java\jdk-16.0.1\bin\java.exe" "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2021.1.1\lib\idea_rt.jar=52987:D:\Program Files\JetBrains\IntelliJ IDEA 2021.1.1\bin" -Dfile.encoding=GBK -classpath C:\Users\Administrator\Desktop\通讯录系统\bin;C:\Users\Administrator\Desktop\通讯录系统\lib\Contact.mr.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\gnujaxp.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\iText-2.1.5.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\jcommon-1.0.16.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\jfreechart-1.0.13-experimental.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\jfreechart-1.0.13-swt.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\jfreechart-1.0.13.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\junit.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\servlet.jar;C:\Users\Administrator\Desktop\通讯录系统\jfreelib\swtgraphics2d.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\antlr-2.7.6.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\asm.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\cglib-2.1.3.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\commons-collections-2.1.1.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\commons-logging-1.0.4.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\dom4j-1.6.1.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\ehcache-1.2.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\hibernate3.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\jstl-1.2.jar;C:\Users\Administrator\Desktop\通讯录系统\hibernatelib\jta.jar;C:\Users\Administrator\Desktop\通讯录系统\lib\beautyeye_lnf.jar;C:\Users\Administrator\Desktop\mysql-connector-java-8.0.24\mysql-connector-java-8.0.24\mysql-connector-java-8.0.24.jar main.Start

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Environment <clinit>

信息: Hibernate 3.2.0

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Environment <clinit>

信息: hibernate.properties not found

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Environment buildBytecodeProvider

信息: Bytecode provider name : cglib

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Environment <clinit>

信息: using JDK 1.4 java.sql.Timestamp handling

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration configure

信息: configuring from resource: /hibernate.cfg.xml

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

信息: Configuration resource: /hibernate.cfg.xml

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: /hibernate.cfg.xml(1) URI was not reported to parser for entity [document]

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: /hibernate.cfg.xml(3) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: /hibernate.cfg.xml(3) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration addResource

信息: Reading mappings from resource: pojo/User.hbm.xml

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(1) URI was not reported to parser for entity [document]

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues

信息: Mapping class: pojo.User -> tb_users

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration addResource

信息: Reading mappings from resource: pojo/Customer.hbm.xml

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(1) URI was not reported to parser for entity [document]

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues

信息: Mapping class: pojo.Customer -> tb_customer_info

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration addResource

信息: Reading mappings from resource: pojo/Communication.hbm.xml

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(1) URI was not reported to parser for entity [document]

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope URI is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.util.XMLHelper$ErrorLogger warning

警告: Warning parsing XML: XML InputStream(3) No base URI; hope this SYSTEM id is absolute: http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues

信息: Mapping class: pojo.Communication -> tb_communication_info

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.Configuration doConfigure

信息: Configured SessionFactory: null

6月 01, 2021 9:21:34 下午 org.hibernate.cfg.HbmBinder bindCollectionSecondPass

信息: Mapping collection: pojo.Customer.communicationList -> tb_communication_info

6月 01, 2021 9:21:34 下午 org.hibernate.connection.DriverManagerConnectionProvider configure

信息: Using Hibernate built-in connection pool (not for production use!)

6月 01, 2021 9:21:34 下午 org.hibernate.connection.DriverManagerConnectionProvider configure

信息: Hibernate connection pool size: 20

6月 01, 2021 9:21:34 下午 org.hibernate.connection.DriverManagerConnectionProvider configure

信息: autocommit mode: false

6月 01, 2021 9:21:34 下午 org.hibernate.connection.DriverManagerConnectionProvider configure

信息: using driver: com.mysql.cj.jdbc.Driver at URL: jdbc:mysql://127.0.0.1:3306/test02

6月 01, 2021 9:21:34 下午 org.hibernate.connection.DriverManagerConnectionProvider configure

信息: connection properties: {password=****, user=root}

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: RDBMS: MySQL, version: 8.0.24

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: JDBC driver: MySQL Connector/J, version: mysql-connector-java-8.0.24 (Revision: 4f7120a617b9d5efb9dedda9064b9896db424a60)

6月 01, 2021 9:21:35 下午 org.hibernate.dialect.Dialect <init>

信息: Using dialect: org.hibernate.dialect.MySQLDialect

6月 01, 2021 9:21:35 下午 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory

信息: Using default transaction strategy (direct JDBC transactions)

6月 01, 2021 9:21:35 下午 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup

信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Automatic flush during beforeCompletion(): disabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Automatic session close at end of transaction: disabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: JDBC batch size: 15

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: JDBC batch updates for versioned data: disabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Scrollable result sets: enabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: JDBC3 getGeneratedKeys(): enabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Connection release mode: auto

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Maximum outer join fetch depth: 2

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Default batch fetch size: 1

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Generate SQL with comments: disabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory buildSettings

信息: Order SQL updates by primary key: disabled

6月 01, 2021 9:21:35 下午 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory

信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

6月 01, 2021 9:21:35 下午 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>

信息: Using ASTQueryTranslatorFactory








分享到:
精彩评论 1
根号申
学分:4736 LV12
TA的每日心情
2021-07-16 23:48:46
2021-06-02
沙发

因为资源包的源码都是eclipse项目结构,你可以自己创建项目,然后把.java文件都复制过去。

这个项目用的是MySQL 5.7,不兼容8.0

首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照