Z-HUANT opened a new pull request, #2246: URL: https://github.com/apache/incubator-hugegraph/pull/2246
## Purpose of the PR According to the documentation at https://hugegraph.apache.org/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/, when setting up the development environment for the Server and using MySQL as the database, if the MySQL driver package is missing, the startup will fail. However, the error message displayed is not clear. This submission optimizes the error message.  ## Main Changes Modified ClassNotFoundException exception error message. ## Verifying these changes - [ ] Trivial rework / code cleanup without any test coverage. (No Need) - [ ] Already covered by existing tests, such as *(please modify tests here)*. - [x] Need tests and can be verified as follows: First, modify the "hugegraph.properties" configuration file to use MySQL as the database. Start the program without importing the MySQL driver package and check the error message.  ## Does this PR potentially affect the following parts? <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] Nope - [ ] Dependencies (add/update license info) <!-- Don't forget to add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module) --> - [ ] Modify configurations - [ ] The public API - [x] Other affects (typed here) Updated error message. ## Documentation Status <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `Doc - TODO` <!-- Your PR changes impact docs and you will update later --> - [ ] `Doc - Done` <!-- Related docs have been already added or updated --> - [x] `Doc - No Need` <!-- Your PR changes don't impact/need docs --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
