level 1
分别在家和公司创建SWT Project,创建出的项目不一致~
Eclipse版本:
家:Neon 2
公司:Neon 1
下面是图,请大神帮忙解答下,万分感谢!!
2016年12月23日 02点12分
1
level 1
都是neon,都是通过eclipse官网更新的WindowBuilder。
可是创建出的项目,却不一致~~
请问这个是什么引起的啊??
谢谢!!
2016年12月23日 02点12分
3
level 1
在公司创建的项目,拷贝到家里再打开时,就会报错:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Thu Dec 22 14:43:44 CST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Exception in thread "main" java.sql.SQLSyntaxErrorException: Unknown database 'mysql_tseh'
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:536)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:115)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1606)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:633)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:347)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:219)
at kucunguanli.JDBC_test.main(JDBC_test.java:27)
2016年12月26日 02点12分
5