Merged
Conversation
Implement user service
…entrungkhanh Feature2/lesson2/nguyentrungkhanh
canhdh2
reviewed
Aug 2, 2019
canhdh2
left a comment
There was a problem hiding this comment.
xóa quá nhiều dòng thiết yếu, nên xem lại để hiểu kỹ hơn cách sử dụng XML
|
|
||
| <groupId>com.trainingdeveloperpro.k001</groupId> | ||
| <artifactId>java-k001</artifactId> | ||
| <groupId>java-k001-backend-lesson3-Duy</groupId> |
There was a problem hiding this comment.
t nghĩ groupId với artifactId nên để trùng với groupId và artifactId với project chung
| @@ -1,13 +1,10 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <beans xmlns="http://www.springframework.org/schema/beans" | |||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
There was a problem hiding this comment.
những dòng này phải để nha nếu k pull về ko chạy đc
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <beans xmlns="http://www.springframework.org/schema/beans" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> |
| <beans xmlns="http://www.springframework.org/schema/beans" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
|
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
|
||
| <bean id="dataResource" class="com.k001.trainingdeveloper.javabackend.demoapplicationcontext.DataResource"> |
| <dependency> | ||
| <groupId>org.springframework</groupId> | ||
| <artifactId>spring-beans</artifactId> | ||
| <version>5.2.0.BUILD-SNAPSHOT</version> |
There was a problem hiding this comment.
các dependency phải đầy đủ có spring-beans và spring-context nhé, không được xóa đi
| <property name="password" value="admin1234" /> | ||
| </bean> | ||
|
|
||
| </beans> |
| xsi:schemaLocation = "http://www.springframework.org/schema/beans | ||
| http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
|
||
| <bean id = "helloWorld" class = "com.k001.trainingdeveloper.javabackend.demobean.HelloWorld" > |
There was a problem hiding this comment.
và tất cả những dòng ở file này nữa, nếu xóa đi sẽ bị lỗi ko chạy đc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Help me check Lesson3. Thank you!