質問編集履歴
2
エラーメッセージの修正
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -6,15 +6,14 @@ | |
| 6 6 | 
             
            MavenプロジェクトからPostgreSQLへ接続するため、ドライバを登録する。
         | 
| 7 7 |  | 
| 8 8 | 
             
            ### 発生している問題・エラーメッセージ
         | 
| 9 | 
            -
            Project build error: 'dependencies.dependency.artifactId' for null:null:jar is missing.Java(0)
         | 
| 10 | 
            -
             | 
| 9 | 
            +
            Missing artifact org.postgresql:postgresql:jar:v42.5.0
         | 
| 11 10 |  | 
| 12 11 | 
             
            ### 該当のソースコード
         | 
| 13 12 | 
             
            【pom.xml】
         | 
| 14 13 | 
             
            <dependencies>
         | 
| 15 14 | 
             
               <dependency>
         | 
| 16 | 
            -
                  < | 
| 15 | 
            +
                  <groupId>org.postgresql</groupId>
         | 
| 17 | 
            -
                  < | 
| 16 | 
            +
                  <artifactId>postgresql</artifactId>
         | 
| 18 17 | 
             
                  <version>v42.5.0</version>
         | 
| 19 18 | 
             
               </dependency>
         | 
| 20 19 | 
             
            </dependencies>
         | 
1
ソースコード修正
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -11,9 +11,10 @@ | |
| 11 11 |  | 
| 12 12 | 
             
            ### 該当のソースコード
         | 
| 13 13 | 
             
            【pom.xml】
         | 
| 14 | 
            -
             | 
| 14 | 
            +
            <dependencies>
         | 
| 15 | 
            -
            <dependency>
         | 
| 15 | 
            +
               <dependency>
         | 
| 16 | 
            -
             | 
| 16 | 
            +
                  <groupid>org.postgresql</groupid>
         | 
| 17 | 
            -
             | 
| 17 | 
            +
                  <artifactid>postgresql</artifactid>
         | 
| 18 | 
            -
             | 
| 18 | 
            +
                  <version>v42.5.0</version>
         | 
| 19 | 
            -
            </dependency>
         | 
| 19 | 
            +
               </dependency>
         | 
| 20 | 
            +
            </dependencies>
         | 
