Job Search Website Final Report
Report documents/ExampleFinalReport.doc
A Database with Graphical User Interface
for Inter-Course Grade Comparison
James E. Corrigan
CIS4914, Senior Project
Department of CISE
University of Florida
Advisor: Dr. J.H. Doe, email: [email protected]
Department of CISE
University of Florida, Gainesville, FL 32611
Date of Talk: 7 Dec 1999
Abstract
Current trends in secondary education emphasize student performance assessment with a variety of metrics such as achievement test results, SAT scores, course grades, and instructor evaluation. Software support for measurement of such performance data exists under a variety of operating systems, most notably MS-DOS and Windows-95/98/NT. Course-support software typically includes accounting functions such as grade entry/revision, computation of grade statistics per class and per individual, as well as graphical display of grading information (e.g., using histograms or pie charts). More recently, Bergerbilder has suggested that comparison of student grade results should be accomplished on a cross-category basis. That is, one should be able to compare a student’s grades with those of his peer achievement group. Comparison of grades between individuals in a given course is rarely provided for in course-support software. Additionally, grading programs reported in the literature and in manufacturer’s brochures (e.g., GradeMaster, SuperSnooper, and TeacherTerror) available to us during the performance period of this project do not support comparison of student performance between courses offered in a given department, school, or district.
In response to this situation, we have developed a comprehensive grading and performance analysis database using the In-house DistressTM database system from First Software Corporation. A more elaborate graphical user interface (GUI) than one can build with the aforementioned system was constructed with the Application FrustrationTM GUI builder from Pretty Good Programs, Inc. The database and GUI were linked, then tested on a large corpus of grades synthesized with input from faculty of the Fawlty Memorial High School in Mudville, Florida. Software was freely distributed to the sponsor, with assistance and training provided during the beta phase of installation.
1. Introduction.
The increasing use of performance analysis techniques in industry, business, government, and academia results in the requirement of progressively more capable, comprehensive, and robust analysis tools. Primarily based in computer software, such tools support data acquisition, classification, analysis, and reporting. This report summarizes the development of a software system that supports course grading and performance analysis for secondary students on a between- as well as within-course basis. The software developed under the scope of this project is portable to a wide variety of platforms, and has been thoroughly tested for robustness under a variety of realistic operating conditions. Technology transfer to a wide variety of educational applications is foreseen as a result of this project.
1.1. Problem Domain.
As teachers, schools, and school districts are held more accountable for student performance, the analysis of such performance becomes more important to the successful teacher. For example, the integration of diverse sources of information such as SAT scores, achievement test results, test grades, homework, etc., can provide a comprehensive and detailed picture of student performance. Currently, PC-based software does not exist for integrating these different types of information. In response to this situation, we have proposed and successfully completed the first phase of a multi-part software development effort that is expected to result in a comprehensive grading and performance analysis package for secondary educators and administrators. When completed, this package would be useful for classroom administration (e.g., identifying and remediating underperforming students), as well as school administration (e.g., highlighting teachers who students habitually outperform or underperform the norm). An additional application si school district adminstration, by comparing performance in different classes, weighted by teacher type and achievement score, as well as a history of student involvement, diligence, and work in a given subject area.
1.2. Previous Work (Literature Search).
Throughout the evolution of academic course support software, which began in the late 1960s with the IBM 400x series of business machines running COBOL-2 [3,4], the vast majority of associated research and development reported in the literature has been focused on within-course data entry, revision, analysis, visualization, and archival. Although existing programs such as GradeMasterTM support detailed analysis of student performance within a given class, there is little support for comparison of achievement measures (e.g., course grades, achievement test scores, SAT scores) between students of comparable achievement within a given class, or between classes or courses. This lack of support becomes more apparent when one considers the need for comparing previous student achievement results with current performance metrics. For example, an instructor might want to compare performance of the top 10 percentile in Chemistry 1 in Fall Semester 1998 with the top 10 percentile of the same course in Spring Semester 1998. Similarly, a school administrator could find useful the comparison of student performance among all classes taught by a given instructor, or could establish comparisons across different instructors teaching the same class at different times.
Unfortunately, the preceding goals are not supported by current courseware. For example, Grade Master [-], which is typical of the genre, is basically an automated gradebook program that allows teachers to enter grades and compute statistics within a class or subgroup of that class. No cross-course comparisons are available, unless one enters all student grades in the same course page, which defeats the purpose of grade isolation within course boundaries. SuperSnooper [-], a modest package with a very ambitious graphical user interface (GUI), emphasizes sophisticated analysis and presentation of grades entered in a spreadsheet. However, unless one puts all grades for all courses in the same spreadsheet, then sorts or filters grades based on a tag such as course number (a laborious process), the GUI cannot display cross-course analysis. Additionally, between-student or between-subgroup comparisons are difficult – one must use the Comparison filter, which caused SuperSnooper to crash over 50 percent of the time in our preliminary tests.
A third grading package, TeacherTerror [-], certainly lived up to its name – grade entry was slow, difficult, and fraught with error. The GUI features did not work as advertised: when a test set of five grades was entered, TeacherTerror failed to compute the mean and median grades correctly. Also, the GUI operations fragmented the screen and caused the software to crash frequently. It is difficult to see how such a package could provide an increase in teacher productivity or facilitate accurate analysis of student performance.
2. Technical Approach (Solution).
In response to the lack of reliable or robust cross-course and cross-class performance analysis software, we have developed Astute, an object-oriented, GUI-driven software platform for student grade entry, analysis, and presentation. Astute is written in ANSI C++ and has been successfully ported to IBM-PC, Apple Macintosh, and Sun Solaris environments, with comparable performance and identical features cross-platform. Astute allows data entry using a spreadsheet-like interface to a relational database constructed using InHouse Distress (IHD), as well as the Application Frustration (AF) GUI builder.
IHD allowed us to structure the class and course data in a hierarchical fashion, which mirrors the natural hierarchy of Department > Course > (Teacher, Class) > Student found in secondary education situations. The high-level design of each level of the hierarchy is shown in Figure 1. In follow-on elaborations of this design, the hierarchy can be extended upward to include School and District levels, which were omitted in this project for purposes for simplicity.
Department Level
n
Department Head (Name, SSN, Rank, Start-Date, pointer to evaluations)
n
Department CoChair (Name, SSN, Rank, Start-Date, pointer to evaluations)
Course Level
n
Objectives
n
Presentation
n
Organization
Class or Section
Level
n
Instructor (Name, SSN, Rank, Start-Date, pointer to evaluations)
n
TAs (Name, SSN, Rank, Start-Date, pointer to evaluations)
n
Scheduling Information
Student Level
n
Personal (Name, SSN, Year, Start-Date, pointer to evaluations)
n
Grades (Qz
1
, Qz
2
, ..., Qz
m
, Hw
1
, Hw
2
, ..., Hw
n
, Ex
1
, Ex
2
, ..., Ex
k
)
Figure 1. Structural diagram of database hierarchy for Astute grade analysis program.In order to access data efficiently, we implemented cross-category comparisons, as shown in the notional diagram of Figure 2, which illustrates an example performance analysis. In Figure 2a, the performance of students with two years of prior classroom experience in mathematics is compared with the performance of students having no mathematics classes. In order to perform such an analysis, it is necessary to compare students cross-class, cross-course, and cross-department. The Astute system does this by user-specified creation of relations between students, classes, courses, and departments, as shown in Figure 2b.
Appropriate Picture Goes Here
Figure 2. Example of student performance comparison with Astute: (a) comparing students with two years of mathematics versus students with no mathematics experience, and (b) relations between students, classes, courses, and departments.
Software development at the database level incurred few challenges or problems, due to the routine nature of the database development process using InHouse Distress. No major problems were encountered linking the database to the GUI. Note to students: In an actual project, you would want to describe database structure, relations, query protocol, and interface to a GUI in some detail.
Analytical engines were developed to process data obtained from the Astute database by the GUI-driven query engine. The analytical functions implemented in the prototype version of Astute developed for this project include:
· Basic Statistics: Mean, Standard deviation, Median, Mode, and Quintiles
· Advanced Statistics: Student t-test, Pearson rho, Ranking test
· Graphical Analysis: Histogram, Scatter plot, X-Y plot
The basic statistics were readily coded and tested, and were derived from textbook examples. Advanced statistics and graphical analysis were obtained from the HiStat library, which can be downloaded from the Internet [-]. I used the student version (v. 2.8.6) purchased at University Books, Inc. [-], because it supported more graphing features than the downloadable version. Since I plan to enhance the prototype in the future, it was reasonable to procure the more capable version.
Testing and debugging of the Astute prototype proceeded without incident, partly due to InHouse Distress’ comprehensive code generator, which produces code that was completely compatible with the GUI interface code. Additionally, the library code obtainable for the statistics modules was written in ANSI standard C, which further aided compatibility. I plan to recode certain sections of the statistics routines, in order to be upward compatible with an object-oriented implementation planned for the next round of enhancements to the Astute prototype.
3. Results
The Astute prototype tested successfully, performing all statistical analyses listed in Section 2 within-class, within-course, within-department, cross-class, and cross-course. It was thus decided to compare the performance of the Astute prototype with established grading packages such as GradeMaster and SuperSnooper. Since neither of these packages can perform within-course analysis, given multiple classes or sections in a given course, and neither can perform cross-category analysis, performance testing was restricted to within-class analysis.
All tests were conducted using the InHouse Distress runtime module, running on an IBM-PC under Snively Software’s Swindle-OK operating system (Version 6.9.82). The PC hardware platform was comprised of a UFO Industries Printem IV processor running at 550 MHz, with a 512KB cache and 64MB of RAM, and a 14.6 GB Beebonnet hard drive (7.8 ms average access time). Test data sets were comprised of a flat file database containing 100 bytes per record. The number of records N was varied from ten to 100,000, with error measured through tenfold replicate measurements at N = 10, 100, ..., 100,000. This was designed to simulate retrieval and computation times for a group of students ranging from a small class to a large metropolitan school system.
Five measures were computed from timing calls inserted into the database source code. First, total execution and I/O time was measured for a given command (e.g., retrieve-database, store-database, and analysis commands). This represents the clock time required for a request issued from the GUI to be executed, with termination of the timed procedure being return of a completion acknowledgement to the GUI. Note that GUI response times, which are idiosyncratic to a given user, were not recorded in this study. The second performance metric was retrieval time, expressed in clock seconds and in CPU seconds. Third, CPU time required for the analytical procedures outlined in Section 2 was measured for each procedure. Fourth, the time to retrieve a given record from a randomly-sorted database was measured in terms of CPU time. Fifth, the time to partition a given set of records into a subset of user-specified size or attribute (a searching and sorting problem), was measured in terms of clock time and CPU time. The results of these tests are graphed in Figures 3 through xxxx.
10
1
10
2
10
3
10
4
10
5
Dataset Size, records
10
0
10
-1
10
-2
10
-3
Total Time
Execution Time
I/O Time
Figure 3. Total execution and I/O times for Astute to retrieve a record
from a database of size 10, 50, 100, 500, ... , 100,000 records.
Note to students: The remaining graphs would be similar. My apologies for using Microsoft WordArt to get the vertical text on the ordinate – my version of Word would not rotate the text, which should appear in the same font as the horizontal caption on the abscissa.
When analyzing data such as that presented in Figure 3, it is important to observe the nonmonotonic behavior at fine scale, which could result from measurements being made at different system load. Additionally, if a number of measurements are made at one data point, then one can compute mean and standard deviation , which are assigned to error bars (the I-shaped graphic objects in the topmost graph of Figure 3). One typically draws the top and bottom limits of the error bars at 1, but if error is actually measured, then the error bar could be asymmetric about the mean. Error bars are useful for determining usefulness of a given measurement for purposes of comparison and subsequent analysis, and should be used only if there are sufficient replicates at a given data point to reliably compute standard deviation (say, > 10 replicates).
Standards and Constraints
Standards: All programming was done in ANSI Standard C (SO/IEC 9899:1999, commonly referred to as C99). Version 2.3 of the Wiki-C compiler (cc) was employed. Constraints: All software was required to run on an Intel i7 quad-core processor (or better) with latency less than 10 milliseconds.
4. Acknowledgements
The author would like to thank his advisor, Dr. Jane Doe, for her guidance, advice, and encouragement toward successful completion of this project. Additional thanks go to K.B. Ernest of the Department of Bee Biology, for his help with sorting records randomly to prepare test data, and for my good friend Ted Edison for proofreading this report.
5. References
[1] Agawam, R.S.K., C.B. Beebonnit, and J.K. Mugwump. “The courageous professor’s assistant”, Proceedings of the Fourth International Conference on Educational Performance Measurement, Maggdwyn, Wales, 2:163-170 (1995).
[2] Gump, F. “All you ever needed to know about a box of chocolates”, Proceedings of the Third International Conference on Educational Cybernetics, pp. 223-225 (1994).
[3] Bugbottom, T.C. Course Web pages for CGS314, Department of Computer Science, Swamp State University, World-Wide Web site as-of 7 December 1999 at URL: http://www.cs.swstu.edu/~tcbugb/CGS314/IHD-preview-21b.htm .
[4] Roger, T., and K.B. Overholster. “TeacherTerror – A new approach to student performance analysis”, Journal of Educational Software 5(3):92-104 (1996).
[5] Swindle, K. Tea for Two, if You Please: The Compleat Guide to Programming the Swindle-OK Operating System (Version 6), BugTussel, WV: Snively Press (1999).
[6] Tudbrannius, C.B. Introduction to Academic Performance Analysis, New York: Pessimistic Press (1973).
6. Appendix A – Test Data
Note to Students: This section is optional, but if included in the report, the data should be entabulated using the Microsoft Word Table construct. A page of representative test data (single spaced) usally helps bolster any claims you make about the resutls of your project, and can be useful as a starting point for in-depth discussion.
7. Appendix B – Technology Transfer Plan
Note to students: A technology transfer plan is an optional one or two paragraph summary of how you plan to introduce the results of your project to business or industry. For example, in the case of the mythical Astute grading system, one might list (a) corporate contacts that are interested in receiving more information about the software (list only companies and individuals that you have actually spoken to or contacted); (b) possible future applications that your project results could address, and how you plan to develop such applications; and (c) market potential for your project results, if you have such information. Don’t include a lot of wordy nonsense, just a tight summary.
8. Biography
James E. Corrigan was born in Frostproof, Florida on February 12, 1977, the only day that schools in Florida have ever been closed because of snow. He completed his secondary education at Frostproof High School, and is completing his baccalaureate degree in Computer and Information Science at University of Florida (Gainesville, FL), where he expects to graduate on December 18, 1999. Mr. Corrigan is an avid computer programmer, with industrial experience in the software engineering field, and is proficient in C, C++, Java, and Cobol. He recently completed an internship with the Oops! software company, a key provider of remedial business services for the Y2K problem, and plans to accept employment with the HeadsUp Software Company (Matanzas, FL), a nationally-known developer of educational software. Mr. Corrigan enjoys surfing, hiking, working on his car, and (of course) Gator football. He also hopes to pursue an advanced degree in Computer Science while employed in the software design and development industry.
_1004625381.doc
Appropriate Picture Goes Here
_1005240895.doc
101 102 103 104 105
Dataset Size, records
100
10-1
10-2
10-3
Total Time
Execution Time
I/O Time
_1004623331.doc
Department Level
Department Head (Name, SSN, Rank, Start-Date, pointer to evaluations)
Department CoChair (Name, SSN, Rank, Start-Date, pointer to evaluations)
Course Level
Objectives
Presentation
Organization
Class or Section Level
Instructor (Name, SSN, Rank, Start-Date, pointer to evaluations)
TAs (Name, SSN, Rank, Start-Date, pointer to evaluations)
Scheduling Information
Student Level
Personal (Name, SSN, Year, Start-Date, pointer to evaluations)
Grades (Qz1, Qz2, ..., Qzm, Hw1, Hw2, ..., Hwn, Ex1, Ex2, ..., Exk)
Report documents/IntJobs_Presentation.pdf
IntJobs - Job Search Website for international students
Project Overview
• Project Topic
• Job Search Website based on ssm framework and developed by java
• Motivation
• Identity: both members of the group are international students
• Enthusiasm: interest on web development
• Approach
• Frontend: JavaScript, jsp, and CSS. Bootstrap as the frontend framework
• Backend: Java. Spring, Spring mvc, mybatis as the backend framework
• Database: MySQL
Project Schedule - Gnatt hart
Literature Sources
• Mark Otto, Jacob Thornton. “Introduction.” · Bootstrap v4.5, getbootstrap.com/docs/4.5/getting-started/introduction/. Accessed 4 Oct. 2020.
• “Getting Started.” React, reactjs.org/docs/getting-started.html. Accessed 4 Oct. 2020.
• “DevDocs.” API Documentation, devdocs.io/. Accessed 4 Oct. 2020.
• Karanam, Ranga. “Creating Spring Boot and React Java Full Stack Application with Maven.” Spring Boot Tutorial, www.springboottutorial.com/spring-boot-react-full-stack- crud-maven-application. Accessed 4 Oct. 2020.
• Ambasta, Bhavya. “Search Filter with React Js.” Medium, Crobyer, 3 Apr. 2019, medium.com/crobyer/search-filter-with-react-js-88986c644ed5. Accessed 4 Oct. 2020.
Project Flowchart
Project UML Diagram Handle requests from the page
Interface which defines the methods
Mapper interface
Get access to the database with sql
Implement the methods
START HERE
Project E/R Diagram
Table: ij_users; ij_company; ij_student; ij_job; ij_jobType; ij_resume;
Foreign key: u_id
Project E/R Diagram(cont.)
Companies can upload the want ads which students can find from job lists.
Jobs are assigned into different types based on the language requirement.
Companies have the access to view the resumes uploaded by Students.
Project Wireframes
Project Wireframes
Technical Problems and Solutions
• Problem: Numerous .jar files to find and use
- Solution: we can add jars and other dependencies of the project easily using the help of maven.
• Problem: How to make a good UI and UX design
- Solution: using interface design application such as figma and sketch for the design phase of the project
• Problem: Team are not familiar with Framwork
- Solution: Learn ssm framework over summer
Report documents/Structure-of-Report.pdf
Structure of Your Final Report: Your Final Report will be a PDF document that you submit to your CIS/CEN4914 project advisor and instructor via Canvas. The sections of your Final Report are as follows
• TitlePage -- Lists your Project Title, Group Members, "CEN3913 <semester> <year>"
• Abstract -- A 1-2 paragraph summary of your project and technical design approach
• Introduction -- A 2-3 paragraph summary about what you plan to do in this project, why you are doing this project, who your group members are and what is their individual expertise, your project schedule (Gantt chart), and where your challenges will be expected to occur
• Problem Domain -- This section should briefly (one short paragraph) describe the area of computer science, engineering, or general science in which the problem specific to your project occurs, and how your solution to the problem fits into this area.
• Literature Overview -- A 2-3 paragraph summary of your technical references, with citations in correct format (MLA)
• Solution -- This should be a conceptual description defining the solution to the problem. Avoid using code and implementation details here; instead, define the solution in terms of algorithms, pseudocode and clear mathematical reasoning. Also, use figures, tables, and statistics to get your point across. The solution to the problem may occupy a number of sections. This section should occupy the bulk of your report, and should contain the following information:
o Technical Approach -- Detailed 3-4 page discussion (with flowchart(s), E/R diagram(s), UML diagrams, sequence diagrams, and GUI mockups or wireframes) that presents your design approach and the framework of your software project.
o Results -- This section describes your work in terms of experimental results or software output (e.g., screenshots and response times for a game) via textual or graphical output obtained from running your software. You can include some facets of the implementation here but do not swamp the reader with code. Avoid discussing the user interface at any length unless the focus of your project (e.g.,a game) warrants it. Including one or two diagrams (wireframes, screenshots) is sufficient. Graphs and statistics are always useful to summarize large amounts of data, and are desireable in technical documents.
• Technical Challenges and Solutions -- List the top two or three technical challenges you expect to encounter, and how you plan to address these challenges successfully
• Conclusions -- State what you learned from your work. Sometimes this section is labeled Conclusion, Summary or Concluding Remarks. List the advantages and disadvantages of your work. In what ways is your solution deficient or lacking? You are not divulging a weakness in your work
when you state problems that still remain. You may also have a separate section for future work.
In your Conclusions section please include the following:
• o Summarize what you did. This can be viewed as the evidence. o State what you learned (the actual conclusions that you a drawing). o State future work and directions, and then list any open problems.
• Standards and Constraints -- Standards are specifications such as IEEE or ANSI standards, RS-232 or Ethernet communication protocols, etc. Whatever standards you used should be stated in one to three sentences, including versions of software you used.
Example: All programming conformed to ANSI Standard C (SO/IEC 9899:1999, commonly referred to as C99). Version 2.3 of the Wiki-C compiler (cc) was employed.
Constraints are guidelines within which you and/or your results performed.
Example: All software was developed to run in real time, with a GUI refresh rate of 60 Hz for the gameboard.
• Acknowledgements -- Acknowledge any individuals who have helped you during the course of the project, including your project advisor. If you have been supported by a company or a scholarship/fellowship, then this should also be gratefully acknowledged.
• References -- All senior projects, especially research-oriented projects, should include at least a few references to the literature. You can choose any style, but be consistent and complete in your reference list. You should pick a particular style such as one promoted by a technical society (ACM, IEEE, SPIE, API, or AIP). This section would use citations developed in your LIterature Overview.
• Biography -- Include a biography of yourself. Include places where you have worked, and state your goals for employment or graduate study. This is a technical report, so please leave out cutesy remarks about your dog Spot, cat Puff, sweetie (Dick or Jane), and recent thrills that you may have had with extreme sports such as alien abduction. However, a brief sentence about your personal interests can always be included at the end of your biography, as that helps to personalize your work and can orient others toward you as an individual.
Required Videos & Links -- Design Report Structure and Preparation
What is Effective Project Reporting?
https://www.youtube.com/watch?v=w-vvrcQdpZQ (Links to an external site.)
How to Write Effective Technical Documents?
https://www.youtube.com/watch?v=a4L9GhldTHo (Links to an external site.)
Links for Technical Design Report Information
• Writing Effective Technical Reports, Monash University: https://www.monash.edu/rlo/assignment- samples/engineering/eng-writing-technical-reports (Links to an external site.)
• Example of Electronic Circuit Design Report http://writing.engr.psu.edu/workbooks/designreport.html (Links to an external site.)
Collaborative Application: Preparing Your Individualized Final Report
The first step is the most difficult: getting started ... To demystify and clarify technical design report structure further, here is an elaborated outline:
The written final report should be no more than 11 pages long, inclusive of cover sheet. Do not include source code in the report. We are primarily interested in your technical approach, high-level understanding of the problem, your literature overview, and your design of the solution to the problem.
With the exception of the cover page, all pages should be formatted in 12-point, Times-Romain typeface, with 2 point spacing between adjacent paragraphs, to facilitate easy reading. Space-and-a-half would be preferred between lines, as single spacing is too hard to read, and double spacing doesn't give you enough room for graphs, figures, discussion, etc.
The preferred format for the written final report is discussed as follows, and an Example Final Report (MS-Office97 format) (Links to an external site.) is provided for your reference. However, you do not have to copy the format in this file if you prefer to use another, equally clear way of organizing your information. Remember that your advisor and course supervisor will have to read your report and the latter will be grading many more such reports. Hence, clarity is essential.
Report documents/Website code/demo_1/.classpath
Report documents/Website code/demo_1/.project
demo_1 org.eclipse.jdt.core.javabuilder org.eclipse.wst.common.project.facet.core.builder org.eclipse.wst.validation.validationbuilder org.eclipse.m2e.core.maven2Builder org.eclipse.jem.workbench.JavaEMFNature org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature org.eclipse.wst.common.project.facet.core.nature org.eclipse.wst.jsdt.core.jsNatureReport documents/Website code/demo_1/.settings/.jsdtscope
Report documents/Website code/demo_1/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.5
Report documents/Website code/demo_1/.settings/org.eclipse.m2e.core.prefs
activeProfiles= eclipse.preferences.version=1 resolveWorkspaceProjects=true version=1
Report documents/Website code/demo_1/.settings/org.eclipse.wst.common.component
Report documents/Website code/demo_1/.settings/org.eclipse.wst.common.project.facet.core.xml
Report documents/Website code/demo_1/.settings/org.eclipse.wst.jsdt.ui.superType.container
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
Report documents/Website code/demo_1/.settings/org.eclipse.wst.jsdt.ui.superType.name
Window
Report documents/Website code/demo_1/.settings/org.eclipse.wst.validation.prefs
disabled=06target eclipse.preferences.version=1
Report documents/Website code/demo_1/logs/ssm.log
[INFO] [2020-11-09 02:24:11][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:24:11][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@37918c79: startup date [Mon Nov 09 02:24:11 CST 2020]; root of context hierarchy [WARN] [2020-11-09 02:24:12][org.mybatis.spring.mapper.ClassPathMapperScanner]No MyBatis mapper was found in '[com.cn.hnust.dao]' package. Please check your configuration. [INFO] [2020-11-09 02:24:12][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:24:12][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6f1c29b7] to prepare test instance [demo_1.com.test.TestMyBatis@4d6025c5] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:28:03][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:28:03][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:28:03 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:28:03][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:28:03][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:32:27][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:32:27][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:32:27 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:32:27][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:32:27][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:32:46][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:32:46][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:32:46 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:32:47][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:32:47][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:33:28][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:33:28][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:33:28 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:33:28][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:33:28][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:33:29][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:33:29][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:33:29 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:33:29][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:33:29][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driver' in string value "${driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driver' in string value "${driver}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:43:39][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:43:40][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:43:40 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:43:40][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:43:40][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driverClass' in string value "${driverClass}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driverClass' in string value "${driverClass}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driverClass' in string value "${driverClass}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:43:40][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:43:40][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:43:40 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:43:41][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:43:41][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'driverClass' in string value "${driverClass}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'driverClass' in string value "${driverClass}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'driverClass' in string value "${driverClass}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:45:31][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:45:31][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:45:31 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:45:31][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [ERROR] [2020-11-09 02:45:31][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@704deff2] to prepare test instance [demo_1.com.test.TestMyBatis@379614be] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [spring-mybatis.xml]: Could not resolve placeholder 'c3p0.jdbcurl' in string value "${c3p0.jdbcurl}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'c3p0.jdbcurl' in string value "${c3p0.jdbcurl}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:223) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'c3p0.jdbcurl' in string value "${c3p0.jdbcurl}" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:259) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 38 more [INFO] [2020-11-09 02:46:06][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:46:06][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:46:06 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:46:06][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 02:46:06][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 02:46:07][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@67304a40] to prepare test instance [demo_1.com.test.TestMyBatis@49c6c24f] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'test.domain.user_t'. Cause: java.lang.ClassNotFoundException: Cannot find class: test.domain.user_t at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:307) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup="", name="", description="", authenticationType=CONTAINER, type=java.lang.Object.class, mappedName="")} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:441) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:419) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:544) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:304) ... 42 more [INFO] [2020-11-09 02:57:00][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 02:57:01][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 02:57:01 CST 2020]; root of context hierarchy [INFO] [2020-11-09 02:57:01][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 02:57:01][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 02:57:01][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c6c24f] to prepare test instance [demo_1.com.test.TestMyBatis@6fe1b4fb] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'test.domain.user_t'. Cause: java.lang.ClassNotFoundException: Cannot find class: test.domain.user_t at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 42 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 44 more [INFO] [2020-11-09 03:06:47][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:06:47][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:06:47 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:06:47][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:06:47][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 03:06:47][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c6c24f] to prepare test instance [demo_1.com.test.TestMyBatis@6fe1b4fb] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'test.domain.user_t'. Cause: java.lang.ClassNotFoundException: Cannot find class: test.domain.user_t at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 42 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 44 more [INFO] [2020-11-09 03:07:49][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:07:50][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:07:50 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:07:50][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:07:50][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 03:07:50][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c6c24f] to prepare test instance [demo_1.com.test.TestMyBatis@6fe1b4fb] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'test.domain.user_t'. Cause: java.lang.ClassNotFoundException: Cannot find class: test.domain.user_t at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 42 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 44 more [INFO] [2020-11-09 03:12:54][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:12:54][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:12:54 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:12:54][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:12:54][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 03:12:54][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c6c24f] to prepare test instance [demo_1.com.test.TestMyBatis@6fe1b4fb] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'test.domain.user_t'. Cause: java.lang.ClassNotFoundException: Cannot find class: test.domain.user_t at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 42 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 44 more [INFO] [2020-11-09 03:17:18][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:17:18][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:17:18 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:17:19][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:17:19][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-09 03:17:19][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@49c6c24f] to prepare test instance [demo_1.com.test.TestMyBatis@6fe1b4fb] java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:101) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'user_tMapper' defined in file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\Users\qingyuan.1016\eclipse-workspace\demo_1\target\classes\com\intjobs\dao\user_tMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.intjobs.pojo.user_t;'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.intjobs.pojo.user_t; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:121) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:250) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64) at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91) ... 26 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.dao.user_tMapper com.intjobs.service.imply.UserServiceImpl.userMapper; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 42 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.dao.user_tMapper] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 44 more [INFO] [2020-11-09 03:19:14][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:19:14][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:19:14 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:19:14][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:19:14][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-09 03:19:15][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-09 03:19:15][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:19:14 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:30:20][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-09 03:30:20][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:30:20 CST 2020]; root of context hierarchy [INFO] [2020-11-09 03:30:20][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-09 03:30:20][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-09 03:30:21][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-09 03:30:21][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@223f3642: startup date [Mon Nov 09 03:30:20 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:45:54][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-10 23:45:55][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Tue Nov 10 23:45:55 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:45:55][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-10 23:45:55][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-10 23:45:56][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-10 23:45:56][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Tue Nov 10 23:45:55 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:55:05][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-10 23:55:05][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@4c1d9d4b: startup date [Tue Nov 10 23:55:05 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:55:05][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-10 23:55:05][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-10 23:55:05][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@52045dbe] to prepare test instance [demo_1.com.test.TestSQL@674658f7] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-10 23:55:06][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-10 23:55:06][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@4c1d9d4b: startup date [Tue Nov 10 23:55:05 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:55:29][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-10 23:55:29][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@4c1d9d4b: startup date [Tue Nov 10 23:55:29 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:55:29][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-10 23:55:29][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-10 23:55:30][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@52045dbe] to prepare test instance [demo_1.com.test.TestSQL@674658f7] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-10 23:55:30][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-10 23:55:30][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@4c1d9d4b: startup date [Tue Nov 10 23:55:29 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:56:25][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-10 23:56:26][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Tue Nov 10 23:56:26 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:56:26][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-10 23:56:26][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-10 23:56:26][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@52045dbe] to prepare test instance [demo_1.com.test.TestSQL@674658f7] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-10 23:56:26][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-10 23:56:26][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Tue Nov 10 23:56:26 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:59:01][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-10 23:59:01][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Tue Nov 10 23:59:01 CST 2020]; root of context hierarchy [INFO] [2020-11-10 23:59:01][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-10 23:59:01][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-10 23:59:02][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@52045dbe] to prepare test instance [demo_1.com.test.TestSQL@674658f7] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-10 23:59:02][demo_1.com.test.TestMyBatis]{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-10 23:59:02][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Tue Nov 10 23:59:01 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:15:44][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:15:45][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Wed Nov 11 00:15:45 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:15:45][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:15:45][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-11 00:15:45][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2bd2b28e] to prepare test instance [demo_1.com.test.TestSQL@16746061] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-11 00:15:45][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Wed Nov 11 00:15:45 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:16:19][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:16:19][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Wed Nov 11 00:16:19 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:16:19][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:16:19][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [ERROR] [2020-11-11 00:16:20][org.springframework.test.context.TestContextManager]Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2bd2b28e] to prepare test instance [demo_1.com.test.TestSQL@16746061] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demo_1.com.test.TestSQL': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:292) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:384) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:319) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:232) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:175) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.intjobs.pojo.user demo_1.com.test.TestSQL.user; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) ... 27 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.intjobs.pojo.user] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1100) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:855) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 29 more [INFO] [2020-11-11 00:16:20][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:16:20][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:16:20][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@12d4bf7e: startup date [Wed Nov 11 00:16:19 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:17:01][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:17:02][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:17:02 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:17:02][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:17:02][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:17:03][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:17:03][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:17:03][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:17:02 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:22:45][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:22:45][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:22:45 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:22:46][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:22:46][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:22:46][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:22:47][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:22:47][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:22:45 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:23:11][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:23:12][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:23:12 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:23:12][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:23:12][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:23:13][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:23:13][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:23:13][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:23:12 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:29:00][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:29:00][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:29:00 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:29:00][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:29:00][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:29:01][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:29:01][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:29:01][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:29:00 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:29:24][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:29:24][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:29:24 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:29:24][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:29:24][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:29:25][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:29:25][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:29:25][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:29:24 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:31:52][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:31:52][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:31:52 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:31:53][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:31:53][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:31:53][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:31:53][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:31:53][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:31:52 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:54:47][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:54:47][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:54:47 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:54:47][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:54:47][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:54:48][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:54:48][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:54:48][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:54:47 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:55:51][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:55:51][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@22a637e7: startup date [Wed Nov 11 00:55:51 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:55:51][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:55:51][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:55:52][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:55:52][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:55:53][demo_1.com.test.TestMyBatis]demo{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-11 00:55:53][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@22a637e7: startup date [Wed Nov 11 00:55:51 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:56:15][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:56:15][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:56:15 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:56:15][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:56:15][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:56:16][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:56:16][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:56:16][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:56:15 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:56:50][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:56:50][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:56:50 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:56:50][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:56:50][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:56:51][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] [INFO] [2020-11-11 00:56:51][org.springframework.jdbc.support.SQLErrorCodesFactory]SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] [INFO] [2020-11-11 00:56:51][demo_1.com.test.TestMyBatis]demo{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-11 00:56:51][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:56:50 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:58:34][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-11 00:58:34][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:58:34 CST 2020]; root of context hierarchy [INFO] [2020-11-11 00:58:34][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-11 00:58:34][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-11 00:58:35][demo_1.com.test.TestMyBatis]1{"id":2,"pwd":"123","status":1,"username":"wikey"} [INFO] [2020-11-11 00:58:35][demo_1.com.test.TestMyBatis]demo{"age":24,"id":1,"password":"sfasgfaf","userName":"测试"} [INFO] [2020-11-11 00:58:35][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Wed Nov 11 00:58:34 CST 2020]; root of context hierarchy [INFO] [2020-11-17 13:41:29][org.springframework.beans.factory.xml.XmlBeanDefinitionReader]Loading XML bean definitions from class path resource [spring-mybatis.xml] [INFO] [2020-11-17 13:41:29][org.springframework.context.support.GenericApplicationContext]Refreshing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Tue Nov 17 13:41:29 CST 2020]; root of context hierarchy [INFO] [2020-11-17 13:41:29][org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]Loading properties file from class path resource [c3p0.properties] [INFO] [2020-11-17 13:41:29][org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]JSR-330 'javax.inject.Inject' annotation found and supported for autowiring [INFO] [2020-11-17 13:41:30][demo_1.com.test.TestMyBatis]1[{"city":"GAINESVILLE","company":"baidu","description":"dsd","id":12,"language":"en","salary":"123","sponsorship":"Yes"},{"city":"GAINESVILLE","company":"baidu","description":"de","id":12,"language":"en","salary":"123","sponsorship":"Yes"},{"city":"GAINESVILLE","company":"alibaba","description":"fdfd","id":12,"jobtitle":"sb","language":"en","salary":"1000k","sponsorship":"Yes"}] [INFO] [2020-11-17 13:41:30][org.springframework.context.support.GenericApplicationContext]Closing org.springframework.context.support.GenericApplicationContext@3c72f59f: startup date [Tue Nov 17 13:41:29 CST 2020]; root of context hierarchy
Report documents/Website code/demo_1/pom.xml
4.0.0 com.demo demo_1 war 0.0.1-SNAPSHOT demo_1 Maven Webapp http://maven.apache.org 4.0.2.RELEASE 3.2.6 1.7.7 1.2.17 junit junit 4.11 test org.springframework spring-core ${spring.version} org.springframework spring-web ${spring.version} org.springframework spring-oxm ${spring.version} org.springframework spring-tx ${spring.version} org.springframework spring-jdbc ${spring.version} org.springframework spring-webmvc ${spring.version} org.springframework spring-aop ${spring.version} org.springframework spring-context-support ${spring.version} org.springframework spring-test ${spring.version} org.mybatis mybatis ${mybatis.version} org.mybatis mybatis-spring 1.2.2 javax javaee-api 7.0 mysql mysql-connector-java 5.1.30 commons-dbcp commons-dbcp 1.2.2 jstl jstl 1.2 org.apache.taglibs taglibs-standard-impl 1.2.5 log4j log4j ${log4j.version} com.alibaba fastjson 1.1.41 org.slf4j slf4j-api ${slf4j.version} org.slf4j slf4j-log4j12 ${slf4j.version} org.codehaus.jackson jackson-mapper-asl 1.9.13 commons-fileupload commons-fileupload 1.3.1 commons-io commons-io 2.4 commons-codec commons-codec 1.9 javax javaee-api 7.0 junit junit 3.8.1 test demo_1Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/CompanyController.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/CompanyController.java
package
com
.
intjobs
.
controller
;
import
org
.
springframework
.
beans
.
factory
.
annotation
.
Autowired
;
import
org
.
springframework
.
stereotype
.
Controller
;
import
org
.
springframework
.
ui
.
Model
;
import
org
.
springframework
.
web
.
bind
.
annotation
.
RequestMapping
;
import
com
.
intjobs
.
pojo
.
job
;
import
com
.
intjobs
.
service
.
CompanyService
;
@
Controller
@
RequestMapping
(
"/company"
)
public
class
CompanyController
{
@
Autowired
private
CompanyService
companyService
;
@
RequestMapping
(
"/postajob"
)
public
String
company
()
{
return
"company/company"
;
}
@
RequestMapping
(
"/recruit"
)
public
String
companyPost
(
Model
model
,
job job
)
{
try
{
companyService
.
postJob
(
job
);
model
.
addAttribute
(
"post"
,
"sucessfully post!"
);
}
catch
(
Exception
e
){
e
.
printStackTrace
();
model
.
addAttribute
(
"postfailed"
,
"post failed!"
);
}
return
"company/company"
;
}
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/StudentController.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/StudentController.java
package
com
.
intjobs
.
controller
;
import
java
.
util
.
List
;
import
org
.
springframework
.
beans
.
factory
.
annotation
.
Autowired
;
import
org
.
springframework
.
stereotype
.
Controller
;
import
org
.
springframework
.
ui
.
Model
;
import
org
.
springframework
.
web
.
bind
.
annotation
.
RequestMapping
;
import
org
.
springframework
.
web
.
bind
.
annotation
.
ResponseBody
;
import
com
.
intjobs
.
pojo
.
application
;
import
com
.
intjobs
.
pojo
.
job
;
import
com
.
intjobs
.
pojo
.
user
;
import
com
.
intjobs
.
service
.
StudentService
;
@
Controller
@
RequestMapping
(
"/student"
)
public
class
StudentController
{
@
Autowired
private
StudentService
studentService
;
/*@RequestMapping("/findajob")
public String student() {
return "student/student";
}
*/
/*
* job list
*/
@
RequestMapping
(
"/findajob"
)
public
String
findJob
(
Model
model
,
String
company
,
String
language
,
String
jobtitle
,
String
salary
,
String
city
,
application app
)
{
try
{
model
.
addAttribute
(
"apply"
,
0
);
List
<
job
>
j
=
studentService
.
findJob
(
company
,
language
,
jobtitle
,
salary
,
city
);
model
.
addAttribute
(
"job"
,
j
);
/*
if(app.getJid() != null) {
studentService.applyJob(app);
}
*/
}
catch
(
Exception
e
){
e
.
printStackTrace
();
model
.
addAttribute
(
"job"
,
"find failed!"
);
return
"login"
;
}
return
"student/student"
;
}
/*
* apply for a job
*/
@
RequestMapping
(
"/applyajob"
)
public
String
applyjob
(
Model
model
,
application app
)
{
studentService
.
applyJob
(
app
);
model
.
addAttribute
(
"apply"
,
1
);
return
"student/student"
;
}
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/UserController.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/controller/UserController.java
package
com
.
intjobs
.
controller
;
import
javax
.
servlet
.
http
.
HttpServletRequest
;
import
javax
.
servlet
.
http
.
HttpSession
;
import
org
.
springframework
.
beans
.
factory
.
annotation
.
Autowired
;
import
org
.
springframework
.
stereotype
.
Controller
;
import
org
.
springframework
.
ui
.
Model
;
import
org
.
springframework
.
web
.
bind
.
annotation
.
RequestMapping
;
import
org
.
springframework
.
web
.
bind
.
annotation
.
ResponseBody
;
import
com
.
intjobs
.
pojo
.
user
;
import
com
.
intjobs
.
pojo
.
user_t
;
import
com
.
intjobs
.
service
.
UserService
;
@
Controller
@
RequestMapping
(
"/user"
)
public
class
UserController
{
@
Autowired
private
UserService
userService
;
@
RequestMapping
(
"/userLogin"
)
public
String
userLogin
(
user user
,
Model
model
,
HttpSession
session
)
{
user u
=
userService
.
findUserByNameAndPass
(
user
);
if
(
u
==
null
)
{
//model信息不显示,需要再看
model
.
addAttribute
(
"error_message"
,
"name or pwd incorrect"
);
//跳转至登录页面 /WEB-INF/jsp/login.jsp
return
"login"
;
}
else
if
(
u
.
getStatus
()
==
1
){
//将用户信息存放在session中,直接跳转至首页
session
.
setAttribute
(
"session_user"
,
u
);
return
"redirect:/student/findajob"
;
}
else
if
(
u
.
getStatus
()
==
2
)
{
session
.
setAttribute
(
"session_user"
,
u
);
return
"redirect:/company/postajob"
;
}
else
if
(
u
.
getStatus
()
==
3
)
{
session
.
setAttribute
(
"session_user"
,
u
);
return
"redirect:/article/index3"
;
}
else
{
return
"login"
;
}
}
/*
@RequestMapping("/companyLogin")
public String companyLogin(user user, Model model, HttpSession session) {
user u = userService.findUserByNameAndPass(user);
if(u == null) {
model.addAttribute("error_message", "name or pwd incorrect");
//跳转至登录页面 /WEB-INF/jsp/login.jsp
return "login";
}else if(u.getStatus() == 1) {
//将用户信息存放在session中,直接跳转至首页
session.setAttribute("session_user", u);
return "redirect:/article/indexcompany";
}else {
return "login";
}
}
*/
//用户退出
@
RequestMapping
(
"/logout"
)
public
String
logout
(
HttpSession
session
)
{
//将用户信息从session中清除
session
.
removeAttribute
(
"session_user"
);
//用户退出之后重定向至 首页
return
"redirect:/intjobs"
;
}
//异步校验账号是否存在
@
ResponseBody
@
RequestMapping
(
value
=
"/validLoginName"
,
produces
=
{
"allpication/text;charset=utf-8"
})
public
String
validLoginName
(
String
username
)
{
//校验账号是否存在
String
result
=
userService
.
validLoginName
(
username
);
return
result
;
}
//用户注册
@
RequestMapping
(
value
=
"/userRegister"
)
public
String
userRegister
(
Model
model
,
user user
)
{
try
{
userService
.
saveUser
(
user
);
model
.
addAttribute
(
"message"
,
"注册成功!"
);
}
catch
(
Exception
e
)
{
// TODO: handle exception
e
.
printStackTrace
();
model
.
addAttribute
(
"message"
,
"注册失败!"
);
return
"register"
;
}
//返回注册页面
return
"redirect:/login"
;
}
/*
@RequestMapping("/showUser")
public String toIndex(HttpServletRequest request,Model model){
int userId = Integer.parseInt(request.getParameter("id"));
user_t user = this.userService.getUserById(userId);
model.addAttribute("user", user);
return "showUser";
}
*/
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/applicationMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/applicationMapper.java
package
com
.
intjobs
.
dao
;
import
com
.
intjobs
.
pojo
.
application
;
public
interface
applicationMapper
{
int
deleteByPrimaryKey
(
Integer
aid
);
int
insert
(
application record
);
int
insertSelective
(
application record
);
application selectByPrimaryKey
(
Integer
aid
);
int
updateByPrimaryKeySelective
(
application record
);
int
updateByPrimaryKey
(
application record
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/applicationMapper.xml
aid, jid, id, company, jobtitle, sponsorship, status select from application where aid = #{aid,jdbcType=INTEGER} delete from application where aid = #{aid,jdbcType=INTEGER} insert into application (aid, jid, id, company, jobtitle, sponsorship, status) values (#{aid,jdbcType=INTEGER}, #{jid,jdbcType=INTEGER}, #{id,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR}, #{sponsorship,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}) insert into application aid, jid, id, company, jobtitle, sponsorship, status, #{aid,jdbcType=INTEGER}, #{jid,jdbcType=INTEGER}, #{id,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR}, #{sponsorship,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, update application jid = #{jid,jdbcType=INTEGER}, id = #{id,jdbcType=INTEGER}, company = #{company,jdbcType=VARCHAR}, jobtitle = #{jobtitle,jdbcType=VARCHAR}, sponsorship = #{sponsorship,jdbcType=VARCHAR}, status = #{status,jdbcType=VARCHAR}, where aid = #{aid,jdbcType=INTEGER} update application set jid = #{jid,jdbcType=INTEGER}, id = #{id,jdbcType=INTEGER}, company = #{company,jdbcType=VARCHAR}, jobtitle = #{jobtitle,jdbcType=VARCHAR}, sponsorship = #{sponsorship,jdbcType=VARCHAR}, status = #{status,jdbcType=VARCHAR} where aid = #{aid,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/companyMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/companyMapper.java
package
com
.
intjobs
.
dao
;
import
com
.
intjobs
.
pojo
.
company
;
public
interface
companyMapper
{
int
deleteByPrimaryKey
(
Integer
comId
);
int
insert
(
company record
);
int
insertSelective
(
company record
);
company selectByPrimaryKey
(
Integer
comId
);
int
updateByPrimaryKeySelective
(
company record
);
int
updateByPrimaryKey
(
company record
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/companyMapper.xml
com_id, fullname, username, user_id, comtype, description, empcount, address, email, tel, manager, m_tel select from company where com_id = #{comId,jdbcType=INTEGER} delete from company where com_id = #{comId,jdbcType=INTEGER} insert into company (com_id, fullname, username, user_id, comtype, description, empcount, address, email, tel, manager, m_tel) values (#{comId,jdbcType=INTEGER}, #{fullname,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{comtype,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{empcount,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR}, #{manager,jdbcType=VARCHAR}, #{mTel,jdbcType=VARCHAR}) insert into company com_id, fullname, username, user_id, comtype, description, empcount, address, email, tel, manager, m_tel, #{comId,jdbcType=INTEGER}, #{fullname,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{comtype,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{empcount,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR}, #{manager,jdbcType=VARCHAR}, #{mTel,jdbcType=VARCHAR}, update company fullname = #{fullname,jdbcType=VARCHAR}, username = #{username,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, comtype = #{comtype,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, empcount = #{empcount,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, tel = #{tel,jdbcType=VARCHAR}, manager = #{manager,jdbcType=VARCHAR}, m_tel = #{mTel,jdbcType=VARCHAR}, where com_id = #{comId,jdbcType=INTEGER} update company set fullname = #{fullname,jdbcType=VARCHAR}, username = #{username,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, comtype = #{comtype,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, empcount = #{empcount,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, tel = #{tel,jdbcType=VARCHAR}, manager = #{manager,jdbcType=VARCHAR}, m_tel = #{mTel,jdbcType=VARCHAR} where com_id = #{comId,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/jobMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/jobMapper.java
package
com
.
intjobs
.
dao
;
import
com
.
intjobs
.
pojo
.
job
;
public
interface
jobMapper
{
int
deleteByPrimaryKey
(
Integer
jid
);
int
insert
(
job record
);
int
insertSelective
(
job record
);
job selectByPrimaryKey
(
Integer
jid
);
int
updateByPrimaryKeySelective
(
job record
);
int
updateByPrimaryKey
(
job record
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/jobMapper.xml
jid, id, company, language, jobtitle, salary, city, description, sponsorship select from job where jid = #{jid,jdbcType=INTEGER} delete from job where jid = #{jid,jdbcType=INTEGER} insert into job (jid, id, company, language, jobtitle, salary, city, description, sponsorship ) values (#{jid,jdbcType=INTEGER}, #{id,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, #{language,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR}, #{salary,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{sponsorship,jdbcType=VARCHAR} ) insert into job jid, id, company, language, jobtitle, salary, city, description, sponsorship, #{jid,jdbcType=INTEGER}, #{id,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, #{language,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR}, #{salary,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{sponsorship,jdbcType=VARCHAR}, update job id = #{id,jdbcType=INTEGER}, company = #{company,jdbcType=VARCHAR}, language = #{language,jdbcType=VARCHAR}, jobtitle = #{jobtitle,jdbcType=VARCHAR}, salary = #{salary,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, sponsorship = #{sponsorship,jdbcType=VARCHAR}, where jid = #{jid,jdbcType=INTEGER} update job set id = #{id,jdbcType=INTEGER}, company = #{company,jdbcType=VARCHAR}, language = #{language,jdbcType=VARCHAR}, jobtitle = #{jobtitle,jdbcType=VARCHAR}, salary = #{salary,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, sponsorship = #{sponsorship,jdbcType=VARCHAR} where jid = #{jid,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/studentsMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/studentsMapper.java
package
com
.
intjobs
.
dao
;
import
java
.
util
.
List
;
import
org
.
apache
.
ibatis
.
annotations
.
Select
;
import
com
.
intjobs
.
pojo
.
job
;
import
com
.
intjobs
.
pojo
.
students
;
public
interface
studentsMapper
{
@
Select
(
"select * from job"
)
List
<
job
>
findalljobs
(
String
company
,
String
language
,
String
jobtitle
,
String
salary
,
String
city
);
int
deleteByPrimaryKey
(
Integer
empId
);
int
insert
(
students record
);
int
insertSelective
(
students record
);
students selectByPrimaryKey
(
Integer
empId
);
int
updateByPrimaryKeySelective
(
students record
);
int
updateByPrimaryKey
(
students record
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/studentsMapper.xml
emp_id, realname, sex, birthday, marry, degree, tel, email, description, address, jobtype, salary, jobstatus, image, resume_name, user_id, country, qq, hj, waddress, study, work, family, experience, language select from students where emp_id = #{empId,jdbcType=INTEGER} delete from students where emp_id = #{empId,jdbcType=INTEGER} insert into students (emp_id, realname, sex, birthday, marry, degree, tel, email, description, address, jobtype, salary, jobstatus, image, resume_name, user_id, country, qq, hj, waddress, study, work, family, experience, language) values (#{empId,jdbcType=INTEGER}, #{realname,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR}, #{birthday,jdbcType=VARCHAR}, #{marry,jdbcType=VARCHAR}, #{degree,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{jobtype,jdbcType=VARCHAR}, #{salary,jdbcType=DECIMAL}, #{jobstatus,jdbcType=VARCHAR}, #{image,jdbcType=VARCHAR}, #{resumeName,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{country,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{hj,jdbcType=VARCHAR}, #{waddress,jdbcType=VARCHAR}, #{study,jdbcType=VARCHAR}, #{work,jdbcType=VARCHAR}, #{family,jdbcType=VARCHAR}, #{experience,jdbcType=VARCHAR}, #{language,jdbcType=VARCHAR}) insert into students emp_id, realname, sex, birthday, marry, degree, tel, email, description, address, jobtype, salary, jobstatus, image, resume_name, user_id, country, qq, hj, waddress, study, work, family, experience, language, #{empId,jdbcType=INTEGER}, #{realname,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR}, #{birthday,jdbcType=VARCHAR}, #{marry,jdbcType=VARCHAR}, #{degree,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{jobtype,jdbcType=VARCHAR}, #{salary,jdbcType=DECIMAL}, #{jobstatus,jdbcType=VARCHAR}, #{image,jdbcType=VARCHAR}, #{resumeName,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{country,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{hj,jdbcType=VARCHAR}, #{waddress,jdbcType=VARCHAR}, #{study,jdbcType=VARCHAR}, #{work,jdbcType=VARCHAR}, #{family,jdbcType=VARCHAR}, #{experience,jdbcType=VARCHAR}, #{language,jdbcType=VARCHAR}, update students realname = #{realname,jdbcType=VARCHAR}, sex = #{sex,jdbcType=VARCHAR}, birthday = #{birthday,jdbcType=VARCHAR}, marry = #{marry,jdbcType=VARCHAR}, degree = #{degree,jdbcType=VARCHAR}, tel = #{tel,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, jobtype = #{jobtype,jdbcType=VARCHAR}, salary = #{salary,jdbcType=DECIMAL}, jobstatus = #{jobstatus,jdbcType=VARCHAR}, image = #{image,jdbcType=VARCHAR}, resume_name = #{resumeName,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, country = #{country,jdbcType=VARCHAR}, qq = #{qq,jdbcType=VARCHAR}, hj = #{hj,jdbcType=VARCHAR}, waddress = #{waddress,jdbcType=VARCHAR}, study = #{study,jdbcType=VARCHAR}, work = #{work,jdbcType=VARCHAR}, family = #{family,jdbcType=VARCHAR}, experience = #{experience,jdbcType=VARCHAR}, language = #{language,jdbcType=VARCHAR}, where emp_id = #{empId,jdbcType=INTEGER} update students set realname = #{realname,jdbcType=VARCHAR}, sex = #{sex,jdbcType=VARCHAR}, birthday = #{birthday,jdbcType=VARCHAR}, marry = #{marry,jdbcType=VARCHAR}, degree = #{degree,jdbcType=VARCHAR}, tel = #{tel,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, jobtype = #{jobtype,jdbcType=VARCHAR}, salary = #{salary,jdbcType=DECIMAL}, jobstatus = #{jobstatus,jdbcType=VARCHAR}, image = #{image,jdbcType=VARCHAR}, resume_name = #{resumeName,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=INTEGER}, country = #{country,jdbcType=VARCHAR}, qq = #{qq,jdbcType=VARCHAR}, hj = #{hj,jdbcType=VARCHAR}, waddress = #{waddress,jdbcType=VARCHAR}, study = #{study,jdbcType=VARCHAR}, work = #{work,jdbcType=VARCHAR}, family = #{family,jdbcType=VARCHAR}, experience = #{experience,jdbcType=VARCHAR}, language = #{language,jdbcType=VARCHAR} where emp_id = #{empId,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/user_tMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/user_tMapper.java
package
com
.
intjobs
.
dao
;
import
org
.
apache
.
ibatis
.
annotations
.
Select
;
import
com
.
intjobs
.
pojo
.
user
;
import
com
.
intjobs
.
pojo
.
user_t
;
public
interface
user_tMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
user_t record
);
int
insertSelective
(
user_t record
);
user_t selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
user_t record
);
int
updateByPrimaryKey
(
user_t record
);
@
Select
(
"select * from user where login_name = #{loginName} and password = #{password}"
)
user findUserByNameAndPass
(
user user
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/user_tMapper.xml
id, user_name, password, age select from user_t where id = #{id,jdbcType=INTEGER} delete from user_t where id = #{id,jdbcType=INTEGER} insert into user_t (id, user_name, password, age) values (#{id,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{age,jdbcType=INTEGER}) insert into user_t id, user_name, password, age, #{id,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{age,jdbcType=INTEGER}, update user_t user_name = #{userName,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, age = #{age,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update user_t set user_name = #{userName,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, age = #{age,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/userMapper.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/userMapper.java
package
com
.
intjobs
.
dao
;
import
org
.
apache
.
ibatis
.
annotations
.
Select
;
import
com
.
intjobs
.
pojo
.
user
;
public
interface
userMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
user record
);
int
insertSelective
(
user record
);
user selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
user record
);
int
updateByPrimaryKey
(
user record
);
@
Select
(
"select * from user where username = #{username} and pwd = #{pwd}"
)
user findUserByNameAndPass
(
user user
);
@
Select
(
"select * from user where username = #{username}"
)
user validLoginName
(
String
userame
);
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/dao/userMapper.xml
id, username, pwd, question, answer, status select from user where id = #{id,jdbcType=INTEGER} delete from user where id = #{id,jdbcType=INTEGER} insert into user (id, username, pwd, question, answer, status ) values (#{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{pwd,jdbcType=VARCHAR}, #{question,jdbcType=VARCHAR}, #{answer,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER} ) insert into user id, username, pwd, question, answer, status, #{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{pwd,jdbcType=VARCHAR}, #{question,jdbcType=VARCHAR}, #{answer,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, update user username = #{username,jdbcType=VARCHAR}, pwd = #{pwd,jdbcType=VARCHAR}, question = #{question,jdbcType=VARCHAR}, answer = #{answer,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update user set username = #{username,jdbcType=VARCHAR}, pwd = #{pwd,jdbcType=VARCHAR}, question = #{question,jdbcType=VARCHAR}, answer = #{answer,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/application.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/application.java
package
com
.
intjobs
.
pojo
;
public
class
application
{
private
Integer
aid
;
private
Integer
jid
;
private
Integer
id
;
private
String
company
;
private
String
jobtitle
;
private
String
sponsorship
;
private
String
status
;
public
Integer
getAid
()
{
return
aid
;
}
public
void
setAid
(
Integer
aid
)
{
this
.
aid
=
aid
;
}
public
Integer
getJid
()
{
return
jid
;
}
public
void
setJid
(
Integer
jid
)
{
this
.
jid
=
jid
;
}
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCompany
()
{
return
company
;
}
public
void
setCompany
(
String
company
)
{
this
.
company
=
company
==
null
?
null
:
company
.
trim
();
}
public
String
getJobtitle
()
{
return
jobtitle
;
}
public
void
setJobtitle
(
String
jobtitle
)
{
this
.
jobtitle
=
jobtitle
==
null
?
null
:
jobtitle
.
trim
();
}
public
String
getSponsorship
()
{
return
sponsorship
;
}
public
void
setSponsorship
(
String
sponsorship
)
{
this
.
sponsorship
=
sponsorship
==
null
?
null
:
sponsorship
.
trim
();
}
public
String
getStatus
()
{
return
status
;
}
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
==
null
?
null
:
status
.
trim
();
}
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/company.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/company.java
package
com
.
intjobs
.
pojo
;
public
class
company
{
private
Integer
comId
;
private
String
fullname
;
private
String
username
;
private
Integer
userId
;
private
String
comtype
;
private
String
description
;
private
String
empcount
;
private
String
address
;
private
String
email
;
private
String
tel
;
private
String
manager
;
private
String
mTel
;
public
Integer
getComId
()
{
return
comId
;
}
public
void
setComId
(
Integer
comId
)
{
this
.
comId
=
comId
;
}
public
String
getFullname
()
{
return
fullname
;
}
public
void
setFullname
(
String
fullname
)
{
this
.
fullname
=
fullname
==
null
?
null
:
fullname
.
trim
();
}
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
==
null
?
null
:
username
.
trim
();
}
public
Integer
getUserId
()
{
return
userId
;
}
public
void
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
}
public
String
getComtype
()
{
return
comtype
;
}
public
void
setComtype
(
String
comtype
)
{
this
.
comtype
=
comtype
==
null
?
null
:
comtype
.
trim
();
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
public
String
getEmpcount
()
{
return
empcount
;
}
public
void
setEmpcount
(
String
empcount
)
{
this
.
empcount
=
empcount
==
null
?
null
:
empcount
.
trim
();
}
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
==
null
?
null
:
address
.
trim
();
}
public
String
getEmail
()
{
return
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
==
null
?
null
:
email
.
trim
();
}
public
String
getTel
()
{
return
tel
;
}
public
void
setTel
(
String
tel
)
{
this
.
tel
=
tel
==
null
?
null
:
tel
.
trim
();
}
public
String
getManager
()
{
return
manager
;
}
public
void
setManager
(
String
manager
)
{
this
.
manager
=
manager
==
null
?
null
:
manager
.
trim
();
}
public
String
getmTel
()
{
return
mTel
;
}
public
void
setmTel
(
String
mTel
)
{
this
.
mTel
=
mTel
==
null
?
null
:
mTel
.
trim
();
}
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/job.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/job.java
package
com
.
intjobs
.
pojo
;
public
class
job
{
private
Integer
jid
;
private
Integer
id
;
private
String
company
;
private
String
language
;
private
String
jobtitle
;
private
String
salary
;
private
String
city
;
private
String
description
;
private
String
sponsorship
;
public
Integer
getJid
()
{
return
jid
;
}
public
void
setJid
(
Integer
jid
)
{
this
.
jid
=
jid
;
}
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
String
getCompany
()
{
return
company
;
}
public
void
setCompany
(
String
company
)
{
this
.
company
=
company
==
null
?
null
:
company
.
trim
();
}
public
String
getLanguage
()
{
return
language
;
}
public
void
setLanguage
(
String
language
)
{
this
.
language
=
language
==
null
?
null
:
language
.
trim
();
}
public
String
getJobtitle
()
{
return
jobtitle
;
}
public
void
setJobtitle
(
String
jobtitle
)
{
this
.
jobtitle
=
jobtitle
==
null
?
null
:
jobtitle
.
trim
();
}
public
String
getSalary
()
{
return
salary
;
}
public
void
setSalary
(
String
salary
)
{
this
.
salary
=
salary
==
null
?
null
:
salary
.
trim
();
}
public
String
getCity
()
{
return
city
;
}
public
void
setCity
(
String
city
)
{
this
.
city
=
city
==
null
?
null
:
city
.
trim
();
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
public
String
getSponsorship
()
{
return
sponsorship
;
}
public
void
setSponsorship
(
String
sponsorship
)
{
this
.
sponsorship
=
sponsorship
==
null
?
null
:
sponsorship
.
trim
();
}
}
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/students.java
Report documents/Website code/demo_1/src/main/java/com/intjobs/pojo/students.java
package
com
.
intjobs
.
pojo
;
import
java
.
math
.
BigDecimal
;
public
class
students
{
private
Integer
empId
;
private
String
realname
;
private
String
sex
;
private
String
birthday
;
private
String
marry
;
private
String
degree
;
private
String
tel
;
private
String
email
;
private
String
description
;
private
String
address
;
private
String
jobtype
;
private
BigDecimal
salary
;
private
String
jobstatus
;
private
String
image
;
private
String
resumeName
;
private
Integer
userId
;
private
String
country
;
private
String
qq
;
private
String
hj
;
private
String
waddress
;
private
String
study
;
private
String
work
;
private
String
family
;
private
String
experience
;
private
String
language
;
public
Integer
getEmpId
()
{
return
empId
;
}
public
void
setEmpId
(
Integer
empId
)
{
this
.
empId
=
empId
;
}
public
String
getRealname
()
{
return
realname
;
}
public
void
setRealname
(
String
realname
)
{
this
.
realname
=
realname
==
null
?
null
:
realname
.
trim
();
}
public
String
getSex
()
{
return
sex
;
}
public
void
setSex
(
String
sex
)
{
this
.
sex
=
sex
==
null
?
null
:
sex
.
trim
();
}
public
String
getBirthday
()
{
return
birthday
;
}
public
void
setBirthday
(
String
birthday
)
{
this
.
birthday
=
birthday
==
null
?
null
:
birthday
.
trim
();
}
public
String
getMarry
()
{
return
marry
;
}
public
void
setMarry
(
String
marry
)
{
this
.
marry
=
marry
==
null
?
null
:
marry
.
trim
();
}
public
String
getDegree
()
{
return
degree
;
}
public
void
setDegree
(
String
degree
)
{
this
.
degree
=
degree
==
null
?
null
:
degree
.
trim
();
}
public
String
getTel
()
{
return
tel
;
}
public
void
setTel
(
String
tel
)
{
this
.
tel
=
tel
==
null
?
null
:
tel
.
trim
();
}
public
String
getEmail
()
{
return
email
;
}
public
void
setEmail
(
String
email
)
{
this
.
email
=
email
==
null
?
null
:
email
.
trim
();
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
==
null
?
null
:
description
.
trim
();
}
public
String
getAddress
()
{
return
address
;
}
public
void
setAddress
(
String
address
)
{
this
.
address
=
address
==
null
?
null
:
address
.
trim
();
}
public
String
getJobtype
()
{
return
jobtype
;
}
public
void
setJobtype
(
String
jobtype
)
{
this
.
jobtype
=
jobtype
==
null
?
null
:
jobtype
.
trim
();
}
public
BigDecimal
getSalary
()
{
return
salary
;
}
public
void
setSalary
(
BigDecimal
salary
)
{
this
.
salary
=
salary
;
}
public
String
getJobstatus
()
{
return
jobstatus
;
}
public
void
setJobstatus
(
String
jobstatus
)
{
this
.
jobstatus
=
jobstatus
==
null
?
null
:
jobstatus
.
trim
();
}
public
String
getImage
()
{
return
image
;
}
public
void
setImage
(
String
image
)
{
this
.
image
=
image
==
null
?
null
:
image
.
trim
();
}
public
String
getResumeName
()
{
return
resumeName
;
}
public
void
setResumeName
(
String
resumeName
)
{
this
.
resumeName
=
resumeName
==
null
?
null
:
resumeName
.
trim
();
}
public
Integer
getUserId
()
{
return
userId
;
}
public
void
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
}
public
String
getCountry
()
{
return
country
;
}
public
void
setCountry
(
String
country
)
{
this
.
country
=
country
==
null
?
null
:
country
.
trim
();
}
public
String
getQq
()
{
return
qq
;
}
public
void
setQq
(
String
qq
)
{
this
.
qq
=
qq
==
null
?
null
:
qq
.
trim
();
}
public
String
getHj
()
{
return
hj
;
}
public
void
setHj
(
String
hj
)
{
this
.
hj
=
hj
==
null
?
null
:
hj
.
trim
();
}
public
String
getWaddress
()
{
return
waddress
;
}